Transaction Void

Transaction void means that the user refuse / reject the transaction or commonly known as a reversal, the void can be done online or offline depending on each bank's services. Reversal is done on the same day before the cut off set by the bank, for example, if the cut-off transaction at 20:00 the night then the process void conducted under these hours will be accepted but if the void is done after the cut off bank then faspay will provide information notification to the merchant that the void fails with code 5621 (Void rejected by bank).

triangle-exclamation

Request Parameter Transaction Void

Request parameter is a void transaction parameters that must be provided by the merchant's system can conduct transactions through the system Faspay void.

Parameter
Data Type
M/O/C
Description

transaction_type

Integer(2)

M

For capture transaction API, always use value ‘10’.

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 Transaction Void

Response Parameter Transaction Void are parameters that will be delivered by the system Faspay in response to a request parameter void transaction that has been submitted by the merchant system. If no parameters are not 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

Your 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-Occur.

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