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
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
request_time
string
required
Request date and time in UTC format as YYYYMMDDHHmmss.
merchant_id
string
required
A unique merchant key provided by ABA Bank.
<= 20 characters
merchant_auth
string
required
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_idstringmandatory A unique merchant key which provided by ABA Bank. Same value as merchant_id.tran_idstringmandatory Pre-auth purcahse transaction id to complete.complete_amountdecimalmandatory Amount to complete.payoutstringmandatory Payout instructionPHP Sample Code
hash
string
required
Base64-encoded HMAC-SHA512 hash of concatenated values: merchant_auth, request_time, and merchant_id with public_key.