Faspay
Search…
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))
1
<faspay>
2
<request>Inquiry Status Payment</request>
3
<trx_id>3100440033666278</trx_id>
4
<merchant_id>31004</merchant_id>
5
<bill_no>31004001</bill_no>
6
<signature>be8791ac5f10bb042834896598bfc6bb9aadcbf9</signature>
7
</faspay>
Copied!
1
{
2
"request":"Inquiry Status Payment",
3
"trx_id":"9876540000001115",
4
"merchant_id":"98765",
5
"bill_no":"9988776655",
6
"signature":"b03951a6051dfa90894eea48ccb964619e8b3474"
7
}
Copied!
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
1
<?xml version="1.0" encoding="UTF-8"?>
2
<faspay>
3
<response>Inquiry Status Payment</response>
4
<trx_id>3100440033666278</trx_id>
5
<merchant_id>31004</merchant_id>
6
<merchant>GONLA</merchant>
7
<bill_no>31004001</bill_no>
8
<payment_reff></payment_reff>
9
<payment_date></payment_date>
10
<payment_status_code>0</payment_status_code>
11
<payment_status_desc>Unprocessed</payment_status_desc>
12
<response_code>00</response_code>
13
<response_desc>Success</response_desc>
14
</faspay>
Copied!
1
{
2
"response": "Pengecekan Status Pembayaran",
3
"trx_id": "8985999800000588",
4
"merchant_id": "99998",
5
"merchant": "Rizki Store",
6
"bill_no": "8515009999999999",
7
"payment_reff": "123",
8
"payment_date": "2016-07-22 14:59:30",
9
"payment_status_code": "2",
10
"payment_status_desc": "Payment Sukses",
11
"response_code": "00",
12
"response_desc": "Sukses"
13
}
Copied!
Last modified 5d ago
Copy link