POST Capture Transaction
Captures a previously preauthorized transaction.
Required Headers
Request Body Parameters
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)
"CAPTURED" when capture is successfultrue when successful, false when there is an errorHTTP Status Codes
Response Codes
Transaction Types
Original Transaction (Pre-Authorization)
- Type:
PRE_AUTH_TRANSACTIONorRENEWAL_PRE_AUTH_TRANSACTION - Status:
APPROVED - Purpose: Reserve funds without capturing them
Capture Transaction
- Type:
COMPLETION_TRANSACTION - Status:
APPROVED(success) orDECLINED/ERROR(failure) - Purpose: Capture the pre-authorized funds
- Linkage:
linked_transaction_idpoints to the original transaction
Headers
Unique identifier of the Merchant invoking Card Payment services. Should not be used to authenticate end users.
Tracking identifier associated with the request, used to establish a correlation_id between ecosystem components.
Token for authentication.
Basic authentication.
Body
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.
Response code. Value: 'CAPTURED' when capture is successful
"CAPTURED"
Operation status. true when successful, false when there is an error
true
Descriptive message about the capture result
"Pago capturado exitosamente"