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
1
Create order
Call
POST /v1/orders with the buyer’s id_number, id_type, and the Daviplata gateway ID.2
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.
3
Submit OTP
Call
POST /v1/orders/daviplata/{orderId} with the OTP the buyer entered.4
Payment confirmed
If the OTP is valid, the payment completes immediately and the response includes
status: confirmed.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
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:
Development testing
In the sandbox, use the following OTP codes:
See Test Data for more test values.