Skip to main content
POST
Capture a previously preauthorized transaction, performing the actual charge to the customer’s card. You can only capture transactions that have been successfully preauthorized.
If you need to capture an amount greater than the authorized amount, you should use the Renewal Preauthorize endpoint instead of attempting to capture a larger amount.

Required Headers

string
required
Merchant authentication token
string
required
Basic authentication (Basic Auth)
string
required
Unique identifier of the merchant invoking Card Payment services
string
required
Unique tracking identifier for the request
string
required
Must be “application/json”

Request Body Parameters

string
required
Unique identifier of the preauthorization transaction to capture
number
required
Amount to capture. Must be greater than 0.
number
required
Processing tax associated with the capture. If no tax will be charged, send 0.

Validation Rules

Required Fields

Common Validation Error Messages

The following are common validation error messages returned by the API (in Spanish):
  • :attribute es obligatorio. - Required field missing
  • :attribute debe ser una cadena de texto. - Invalid data type (expected string)
  • :attribute debe ser un número. - Invalid data type (expected numeric)
  • :attribute no puede tener más de :max caracteres. - Maximum length exceeded
  • :attribute debe ser mayor o igual a :min. - Minimum value not met
  • :attribute no es válido. - Invalid value

Response Fields

Success Response (200 OK)

string
required
Response code. Value: "CAPTURED" when capture is successful
boolean
required
Operation status. true when successful, false when there is an error
string
required
Descriptive message about the capture result
object
required

HTTP Status Codes

Response Codes

Transaction Types

Original Transaction (Pre-Authorization)

  • Type: PRE_AUTH_TRANSACTION or RENEWAL_PRE_AUTH_TRANSACTION
  • Status: APPROVED
  • Purpose: Reserve funds without capturing them

Capture Transaction

  • Type: COMPLETION_TRANSACTION
  • Status: APPROVED (success) or DECLINED/ERROR (failure)
  • Purpose: Capture the pre-authorized funds
  • Linkage: linked_transaction_id points to the original transaction

Headers

X-Merchant-ID
string
required

Unique identifier of the Merchant invoking Card Payment services. Should not be used to authenticate end users.

X-Request-ID
string
required

Tracking identifier associated with the request, used to establish a correlation_id between ecosystem components.

Token-Top
string
required

Token for authentication.

Authorization
string
required

Basic authentication.

Body

application/json
transaction_id
string<uuid>
required
Example:

"7f45a9da-2f84-4103-ac54-05fe8ea693ca"

amount
number
required
Required range: x >= 0
Example:

1500

tax
number
required
Required range: x >= 0
Example:

0

Response

Successful capture. A new transaction of type COMPLETION_TRANSACTION is created.

Response when capturing a transaction. Creates a new transaction of type COMPLETION_TRANSACTION linked to the original transaction.

code
string
required

Response code. Value: 'CAPTURED' when capture is successful

Example:

"CAPTURED"

status
boolean
required

Operation status. true when successful, false when there is an error

Example:

true

message
string
required

Descriptive message about the capture result

Example:

"Pago capturado exitosamente"

data
object
required