Skip to content

Capture or Void a Transaction

POST
/transactions/{trx_id}

Perform a capture or void operation on a previously authorized transaction. Specify an amount to partially capture or void. Full captures/voids will use the entire authorized amount.

Authorizations

BearerAuth
TypeHTTP (bearer)

Parameters

Path Parameters

trx_id*

The unique ID of the transaction to capture or void.

Typestring
Required
Exampletrx_01J5XCMDXCFXCAQ1BV8HVG6644

Request Body

JSON
{
"external_id": "496de72d-d4a4-45eb-b426-3d04d2078a85",
"operation": "string",
"amount": 5000
}

Responses

The transaction details after the capture or void operation.
application/json
JSON
{
"id": "trx_01J5XCMDXCFXCAQ1BV8HVG6644",
"type": "string",
"status": "string",
"order_amount": 10000,
"order_currency": "string",
"amount_authorized": 10000,
"amount_captured": 0,
"amount_voided": 0,
"amount_refunded": 0,
"external_id": "496de72d-d4a4-45eb-b426-3d04d2078a85",
"updated_at": "2024-09-05T05:05:25Z"
}

Samples

Powered by VitePress OpenAPI