The Capture API is used to finalize a payment by transferring the funds that were previously authorised via the Authorsation API.
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
The request payload to capture a transaction.
The original transaction ID of the authorized transaction.
36"e0b0731e-7170-4b64-8a21-7d835eebd641"
The amount to be captured. This should not exceed the amount authorized. Amount limit depends on the bank.
1000
The merchant ID (DASMID).
10"< Merchant ID >"
The reference of the capture transaction (optional).
128"Capturing authorised amount"
Transaction captured successfully
True on successful transaction, false on failure.
true
The status code of the transaction.
201
True if live transaction, false if test transaction.
false
The transaction type (e.g., CAPTURE).
"CAPTURE"
A JSON object containing the response from the gateway.
A JSON object containing the details of the merchant.
A JSON object containing the payment details of the transaction.
A JSON object containing details of the transaction.