Close transaction
If your business handles transactions that may require cancellation—such as flash sales, hotel bookings, or ticket sales—you can use the Close Transaction API to cancel a transaction before payment completes. Once a transaction is closed, it will no longer accept payment: any incoming payment will be rejected or reversed, and no payment notification (callback) will be sent to the merchant.
Request
Example: application/json
Body Params application/json
Request date and time in UTC format as YYYYMMDDHHmmss.
A unique merchant key which provided by ABA Bank.
Original purchase transaction id that you want to close/cancel.
A Base64-encoded HMAC SHA-512 hash generated by concatenating req_time, merchant_id, and tran_id , encrypted using your public_key.
PHP Sample Code
Example