Inquiry Billing
This API Inquiry service is used to check the latest status of the bill.
Method : GET
Format : JSON
Environment | URL Endpoint |
---|---|
Development | |
Production |
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 | M | Unique code registered on the Faspay Billing service |
billing_id | Numeric | M | Billing number generated by Faspay |
transaction_number | Numeric | M | Merchant invoice number |
signature | Alfanumeric | M | Merchant’s Signature SHA1(MD5(username merchant + password merchant+transaction_number)) |
{
"service_id" : "1",
"billing_id" : "1041",
"transaction_number": "145398922822218",
"signature" : "3b15aa993c3ff270ab718f4fcf66046f24c2591b"
}
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 |
{
"billing_id": 141,
"transaction_number": "145398922822218",
"billing_total": "10000",
"payment_details": [
{
"payment_id": "1606988333001352",
"payment_date": "2020-12-03 11:00:00",
"payment_nominal": "5000"
},
{
"payment_id": "1606988333001353",
"payment_date": "2020-12-03 11:00:00",
"payment_nominal": "5000"
}
],
"billing_due_date": "2020-12-20 10:50:00",
"billing_url": "https://s.faspay.co.id/gL",
"billing_status": "PAID",
"response_code": "00",
"response_message": "Success Inquiry Billing"
}
Last modified 3mo ago