Daviplata Payment Flow
Daviplata is Davivienda’s digital wallet. Payments require OTP (one-time password) verification — the buyer receives a code via SMS and you submit it to complete the payment.How it works
Create order
Call
POST /v1/orders with the buyer’s id_number, id_type, and the Daviplata gateway ID.Buyer receives OTP
Daviplata sends a 6-digit OTP to the buyer via SMS. Your application should display a form for the buyer to enter this code.
Customer experience
- Customer receives push notification with an OTP on their phone
- Opens Daviplata app to review payment details
- Takes OTP provided by Daviplata app and pastes it in the Merchant’s checkout
- Receives payment confirmation in-app
Suggested UX implementation
Show these steps to the user (in Spanish)
Display the following instructions to the buyer while waiting for the OTP:- Recibirás una notificación con un OTP de 6 dígitos
- Copia el OTP e ingrésalo en el sistema
- Tu compra será procesada de manera automática
Processing animation
Use the following GIF to give the buyer visual context during the OTP flow:
Required fields
| Field | Required | Description |
|---|---|---|
shopper.id_number | Yes | Buyer’s national ID (cedula) |
shopper.id_type | Yes | Document type ID from Document Types |
shopper.email | Yes | Buyer’s email |
shopper.phone_number | Yes | Buyer’s phone number |
shopper.country | Yes | CO |
Example: Create order
daviplata_token_required: true:
Example: Submit OTP
Document types
UseGET /v1/national-document-types/CO to retrieve valid document types. See Document Types for details.
For Daviplata, only these types are accepted:
| ID | Code | Description |
|---|---|---|
| 1 | CC | Cédula de Ciudadanía |
| 2 | CE | Cédula de Extranjería |
| 3 | TI | Tarjeta de Identidad |
Development testing
In the sandbox, use the following OTP codes:| OTP Code | Result |
|---|---|
123456 | Success |
000000 | Success |
111111 | Success |
999999 | Error: invalid OTP |
| Any other value | Error: invalid OTP |