Faspay
Search…
Inquiry Billing
This API Inquiry service is used to check the latest status of the bill.
Method : GET
Format : JSON
Request Inquiry Billing
Request parameters are parameters that must be provided by the merchant system to be integrated with the Faspay system.
Request Parameter
Sample Request
Parameter
Type
M/O/C
Description
service_id
Numeric
Mandatory
Unique code registered on the Faspay Billing service
billing_id
Numeric
Mandatory
Billing number generated by Faspay
transaction_number
Numeric
Mandatory
Merchant invoice number
signature
Alfanumeric
Mandatory
Merchant’s Signature
SHA1(MD5(username merchant + password merchant+transaction_number))
1
{
2
"service_id" : "1",
3
"billing_id" : "1041",
4
"transaction_number": "145398922822218",
5
"signature" : "3b15aa993c3ff270ab718f4fcf66046f24c2591b"
6
}
7
Copied!
Response Inquiry Billing
Response parameters are parameters that will be sent by the Faspay system in response to parameter requests that have been sent by the merchant
Response Parameter
Sample Response
Parameter
Type
Description
billing_id
Numeric
Billing number generated by Faspay
transaction_number
Numeric
Merchant invoice number
billing_total
Numeric
Billing total
payment_details
Numeric
It is a detail of payment, and payment history will appear when using static payment
billing_due_date
Datetime (YYYY-MM-DD hh:mm:ss)
Bill due date Default: 24 hours from the date the invoice was created
billing_url
Alfanumeric
Bill payment link
billing_status
Alfanumeric
Billing status (UNPAID, PAID, EXPIRED, CANCELLED)
response_code
Numeric
Response code
00 : Success
01 : Failed
response_message
Alfanumeric
Message from the response code
1
{
2
"billing_id": 1041,
3
"transaction_number": "145398922822218",
4
"billing_total": "10000",
5
"payment_details": [
6
{
7
"payment_id": "1606988333001352",
8
"payment_date": "2020-12-03 11:00:00",
9
"payment_nominal": "5000"
10
},
11
{
12
"payment_id": "1606988333001353",
13
"payment_date": "2020-12-03 11:00:00",
14
"payment_nominal": "5000"
15
}
16
],
17
"billing_due_date": "2020-12-20 10:50:00",
18
"billing_url": "https://s.faspay.co.id/gL",
19
"billing_status": "PAID",
20
"response_code": "00",
21
"response_message": "Success Inquiry Billing"
22
}
23
Copied!
Last modified 16d ago
Copy link