Faspay
Search
⌃K

Inquiry Payment Status

Inquiry Payment Status is a process of checking the status of the payment of Faspay. Merchant previously would have had to post a URL redirect to Faspay.
Endpoint URL Payment Status Inquiry
Endpoint URL is used as a feedback URL that will process the data in the inquiry from the merchant system. There are two URLs that needs to be used, namely Production and Development. For the implementation of the testing or UAT can use the URL development.
Request Parameter Inquiry Payment Status
Payment status inquiry request parameters are parameters that must be provided by the merchant's system can perform payment status inquiry system to Faspay.
Request
Sample XML Request
Sample JSON Request
Parameter
Data Type
M/O/C
Description
Request
Alfanumeric (50)
O
Request Description
trx_id
Numeric (16)
M
Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired
Merchant_id
Numeric (5)
M
Merchant Code
bill_no
Alfanumeric (16)
M
Order Number
Signature
Alfanumeric
M
sha1(md5((user_id + password + bill_no))
<faspay>
<request>Inquiry Status Payment</request>
<trx_id>3100440033666278</trx_id>
<merchant_id>31004</merchant_id>
<bill_no>31004001</bill_no>
<signature>be8791ac5f10bb042834896598bfc6bb9aadcbf9</signature>
</faspay>
{
"request":"Inquiry Status Payment",
"trx_id":"9876540000001115",
"merchant_id":"98765",
"bill_no":"9988776655",
"signature":"b03951a6051dfa90894eea48ccb964619e8b3474"
}
Response Parameter Inquiry Payment Status
Response parameters are parameters that will be delivered by the system Faspay in response to the request parameters have been sent by the merchant system. If no parameters are not appropriate / value is incorrect, the transaction will be rejected in the system Faspay.
Response
Sample XML Response
Sample JSON Response
Parameter
Data Type
M/O/C
Description
Response
Alfanumeric (50)
O
Response Name
trx_id
Numeric (16)
M
Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired
Merchant_id
Numeric (6)
M
Merchant Code
Merchant
Alfanumeric (32)
M
Merchant name
bill_no
Alfanumeric(32)
M
Order number
payment_reff
Alfanumeric (16)
M
Payment Reff (from Payment Channel)
payment_date
Date
M
Payment Date (from Payment Channel)
payment_status_code
Numeric (1)
M
Status Code
0 Unprocessed
1 In Process
2 Payment Success
4 Payment Reserval
5 No bills found
8 Payment Cancelled
9 Unknown
payment_status_desc
Alfanumeric (32)
M
Description Status
response_code
Alfanumeric (2)
M
Response Code 00 Success
response_desc
Alfanumeric (32)
M
Response Description
<?xml version="1.0" encoding="UTF-8"?>
<faspay>
<response>Inquiry Status Payment</response>
<trx_id>3100440033666278</trx_id>
<merchant_id>31004</merchant_id>
<merchant>GONLA</merchant>
<bill_no>31004001</bill_no>
<payment_reff></payment_reff>
<payment_date></payment_date>
<payment_status_code>0</payment_status_code>
<payment_status_desc>Unprocessed</payment_status_desc>
<response_code>00</response_code>
<response_desc>Success</response_desc>
</faspay>
{
"response": "Pengecekan Status Pembayaran",
"trx_id": "8985999800000588",
"merchant_id": "99998",
"merchant": "Rizki Store",
"bill_no": "8515009999999999",
"payment_reff": "123",
"payment_date": "2016-07-22 14:59:30",
"payment_status_code": "2",
"payment_status_desc": "Payment Sukses",
"response_code": "00",
"response_desc": "Sukses"
}