Complete pre-auh transaction with payout
A complete pre-auth refers to the action where the merchant proceeds with capturing the funds after the initial authorization, typically at the time the product or service is provided.
This process involves two steps:
- Pre-authorization: The merchant requests a certain amount to be reserved on the customer’s account, usually to confirm the customer has sufficient funds or credit.
- Completion (or Capture): The merchant later captures the pre-authorized amount, finalizing the transaction and actually charging the customer's account.
Conditions
- You can only complete the pre-auth once.
- Pre-auth cannot be completed on transactions that have already expired or been canceled.
- For card payments, you can complete the pre-auth with an additional 10% above the original pre-auth amount.
Request
Example: application/json
Body Params application/json
Request date and time in UTC format as YYYYMMDDHHmmss.
A unique merchant key provided by ABA Bank.
The JSON-encoded object contains the fields mc_id, tran_id, and complete_amount, and payout which are encrypted using RSA public key encryption in chunks.
mc_id string mandatory
A unique merchant key which provided by ABA Bank. Same value as merchant_id.
tran_id string mandatory
Pre-auth purcahse transaction id to complete.
complete_amount decimal mandatory
Amount to complete.
payout string mandatory
Payout instruction
PHP Sample Code
Base64-encoded HMAC-SHA512 hash of concatenated values: merchant_auth, request_time, and merchant_id with public_key.
Example