Inquiry Payment Status

Inquiry payment status conducted by the merchant to check transaction status customer in receive (accept) or rejected (reject) by API Faspay and informed on the status of the transaction.

For the implementation of the testing, UAT can use URL development.

circle-info
  • If the transaction is accepted (Accepted) Faspay will provide the latest transaction status

  • If the transaction is rejected (Rejected) Faspay will give error code 5533 (the transaction is not found), for a transaction to be rejected (reject) will not be saved faspay

Inquiry Request Parameter

Request parameters are parameters that the merchant's system must provide can inquire Faspay payment with system status.

Parameter
Data Type
M/O/C
Description

transaction_type

Integer(2)

M

For inquiry payment API, always use value ‘4’.

merchant_id

Varchar(30)

M

Your Faspay Merchant ID.

merchant_tranid

Varchar(100)

M

Merchant’s unique transaction id as passed in from the payment request.

transaction_id

Varchar

O

Transaction ID generated by Faspay. Fill this parameter with transaction_id provided in return_url or callback_url when payment occur.

amount

Varchar(10)

M

Transaction amount as passed in from the payment request.

signature

Varchar(40)

M

Transaction signature of request for data integrity check.

Response Parameter Inquiry Payment Status

Response parameter inquiry payment status is parameters that will be delivered by the system Faspay response to request payment status inquiry parameters that have been submitted by the merchant system. If no parameters are appropriate / value is incorrect, the transaction will be rejected in the system Faspay.

Parameter
Data Type
M/O/C
Description

merchant_id

Varchar(30)

M

our Faspay Merchant ID.

merchant_tranid

Varchar(100)

M

Merchant’s own assigned transaction id as passed in from the request.

tnx_status

Varchar(3)

M

Transaction status from Faspay . A – Authorized S – Sales C – Captured CF – Capture Failed F – Failed E – Error B – Blocked N – Pending V - Void

amount

Varchar(10)

M

Transaction amount as passed in from the request.

transaction_id

Varchar

M

Transaction ID generated by Faspay when payment occur-Occuroccurs.

signature

Varchar(40)

M

Transaction signature of request for data integrity check.

tran_date

Varchar(19)

C

Transaction date of when transaction is submitted to Faspay e-Payment. Date format in ‘DD-MM-YYYY hh:mm:ss’ e.g. 24-05-2024 08:24:23 In the event of error, this field may be empty.

response_code

String(7)

M

Response code.

response_message

String(150)

M

Response description.

Last updated