Callback
This API Callback service functions to process when the merchant transaction has been paid for by the customer. Merchant prepares a URL which later from Faspay will send data to that URL.
Method : POST
Format : JSON
Callback Parameter
The following is the parameters that will be given by the Faspay system to the merchant system
Request Parameter
Sample Request
Parameter | Type | Description |
billing_id | Numeric | Billing number generated by Faspay |
service_id | Numeric | Unique code registered on the Faspay Billing service |
transaction_number | Numeric | Merchant invoice number |
billing_total | Numeric | Billing total |
signature | Alfanumeric | Merchant's signature SHA1(MD5(username + password+transaction_number)) |
billing_status | Alfanumeric | Billing status (UNPAID, PAID, EXPIRED, CANCELLED) |
payment_id | Numeric | Payment ID generated by Faspay |
payment_amount | Numeric | Payment amount |
payment_method | Alfanumeric | The channel name used for payment |
payment_date | Datetime (YYYY-MM-DD hh:mm:ss) | The date when the bill was paid |
{
"billing_id": 1057,
"service_id": 6,
"transaction_number": "1233989228221148",
"billing_total": "10000",
"signature": "f4ebe62839b2d446ed13b3ca28f819a9ac0baa0a",
"billing_status": "PAID",
"payment_id": "1606804843001326",
"payment_amount": "10000",
"payment_method": "PERMATA VA",
"payment_date": "2020-12-01 13:22:11"
}
Last modified 2yr ago