Faspay
Search…
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
1
{
2
"billing_id": 1057,
3
"service_id": 6,
4
"transaction_number": "1233989228221148",
5
"billing_total": "10000",
6
"signature": "f4ebe62839b2d446ed13b3ca28f819a9ac0baa0a",
7
"billing_status": "PAID",
8
"payment_id": "1606804843001326",
9
"payment_amount": "10000",
10
"payment_method": "PERMATA VA",
11
"payment_date": "2020-12-01 13:22:11"
12
}
13
Copied!
Last modified 9mo ago
Copy link