POST Create Subscription
Creates a new subscription for recurring card payments.
Required Headers
Request Body Parameters
monthly: Monthly paymentsyearly: Yearly paymentscustom: Custom periodicity according to plan configuration
YYYY-MM-DD format (e.g., “2026-01-01”).Validation Rules
Required Fields
Allowed Values
periodicity
dailyweeklybiweeklymonthlythreefortnightsbimonthlyquarterlyfourmonthshalfyearlyyearlycustom
customer_data.legal_doc_type
CC- Cédula de CiudadaníaCE- Cédula de ExtranjeríaNIT- Número de Identificación TributariaTI- Tarjeta de IdentidadPAS- Pasaporte
customer_data.phone_code
+57- Colombia
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 debe ser un arreglo.- Invalid data type (expected array):attribute debe ser una dirección de correo electrónico válida.- Invalid email format: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 debe tener el formato YYYY-MM-DD.- Invalid date format:attribute no es válido.- Invalid value
Response Fields
Success Response (200 OK)
"CREATED" when the subscription is created successfullytrue when successful, false when there is an errorHTTP Status Codes
Response Codes
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
"card_token_abc123"
"Plan Premium"
daily, weekly, biweekly, monthly, threefortnights, bimonthly, quarterly, fourmonths, halfyearly, yearly, custom "monthly"
"2026-01-01"
Response
Subscription created successfully or business error. Check 'status' field in the body.
Response when creating a subscription. The 'status' field can be true (success) or false (business error) even with HTTP 200.
Response code. Values: 'CREATED' (success), 'SUBSCRIPTION_CREATION_FAILED' (business error)
"CREATED"
Operation status. true for success, false for error
true
Descriptive message about the result
"Suscripción creada exitosamente"