POST Renewal Preauthorize
Preauthorizes a configured amount for a subscription in a renewal cycle.
Required Headers
Request Body Parameters
0.Validation Rules
Required Fields
Allowed Values
currency
COP- Colombian Peso
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)
"AUTHORIZED" when renewal is successfultrue when successful, false when there is an errorHTTP Status Codes
Response Codes
Transaction Types
Pre-Authorization Renewal (RENEWAL_PRE_AUTH_TRANSACTION)
- Type:
RENEWAL_PRE_AUTH_TRANSACTION - Status:
APPROVED(success) orDECLINED/ERROR(failure) - Purpose: Renew a previous authorization, cancelling the original and creating a new one
- Linkage:
linked_transaction_idpoints to the original transaction - Next Step: Requires an additional capture step to charge the funds
Supported Currencies
Thecurrency field must be one of the allowed values according to the Currency enum. Example:
COP: Colombian Peso
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
"ORDER-123456"
"550e8400-e29b-41d4-a716-446655440000"
"COP"
x >= 01500
x >= 00
"7f45a9da-2f84-4103-ac54-05fe8ea693ca"
Response
Successful renewal. A new transaction of type RENEWAL_PRE_AUTH_TRANSACTION is created and the original transaction is automatically cancelled.
Renewal preauthorization response. Creates a new transaction of type RENEWAL_PRE_AUTH_TRANSACTION and automatically cancels the original transaction when the renewal is successful or rejected.
Response code. Value: 'AUTHORIZED' when renewal is successful
"AUTHORIZED"
Operation status. true when successful, false when there is an error
true
Descriptive message about the renewal result
"Renovación de pago autorizada exitosamente"