Capture transaction

Capture an authorized transaction to complete the transaction and move funds from the customer to merchant account.

Path parameters

amountdoubleRequired

Amount to be captured. The amount cannot be greater the original total amount of the transaction. 0 captures the total amount authorized in the transaction.

transIdstringRequired

ReferenceId for the transaction (PaymentId).

Headers

requestTokenstringRequired

Response

Ok
responseCodeinteger

Code for the response. Learn more in API Response Codes.

isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

responseDataobject
Response data for capture transactions
pageIdentifierstring or null
Auxiliary validation used internally by payment pages and components.
roomIdlong or null

Field not in use on this endpoint. It always returns 0.

Errors