Your unique reference for this order (idempotency key).
redirect_link
string
No
URL to redirect buyer after successful payment.
redirect_link_cancel
string
No
URL to redirect buyer if payment is cancelled.
redirect_link_failure
string
No
URL to redirect buyer if payment fails.
National ID fields are always required. Every direct API order must include id_number and id_type in the shopper object, regardless of the payment gateway. This is required for compliance and buyer identification. Omitting these fields will return a validation error.
The API also accepts national_id_number and id_national_document_type as aliases for id_number and id_type respectively. Both formats are interchangeable.
Daviplata uses the buyer’s national ID to initiate the OTP flow. The buyer receives an OTP via SMS.Daviplata only accepts the following document types: CC (Cédula de Ciudadanía), CE (Cédula de Extranjería), and TI (Tarjeta de Identidad).
The id_type field requires the integer ID of the document type. Use GET /v1/national-document-types/{countryCode} to retrieve valid values. See Document Types for details.For Colombia, the most common types are:
ID
Code
Description
Accepted by
1
CC
Cédula de Ciudadanía
All gateways
2
CE
Cédula de Extranjería
All gateways
3
TI
Tarjeta de Identidad
All gateways
Daviplata and Breb only accept CC, CE, and TI document types. Sending a different document type for these gateways will result in a payment error.
If you are a partner creating orders on behalf of a store, the request body is identical. The only difference is the authentication headers. See Partners — Creating Orders for details.