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).
Not all banks support these Feature, please ensure that use merchant acquiring banks already exist those features and has been working with Faspay. Merchant can mark the transaction void or canceled through the features provided FPG. FPG is a payment gateway system that serves to communicate directly with the bank system, which can void the transaction is a transaction with status
N = Pending / Waiting
A = Authorize (authorize transactions in the bank
RC = Status of the bank is not known, the user must confirm return for the transaction
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 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.