Submit Daviplata OTP
Orders
Submit Daviplata OTP
Complete a Daviplata payment by submitting the OTP that the buyer received via SMS.
Only used for Daviplata orders where the create order response includes daviplata_token_required: true.
Development testing OTPs:
123456— Always succeeds000000— Always succeeds111111— Always succeeds- Any other code — Returns invalid OTP error
POST
Submit Daviplata OTP
Authorizations
Merchant key for store identification. Required for all API requests.
merchant-key: YOUR_MERCHANT_KEYPath Parameters
Order ID requiring OTP verification.
Required range:
x >= 1Example:
12345
Body
application/json
6-digit OTP received by the buyer via SMS from Daviplata.
Pattern:
^\d{6}$Example:
"123456"
Response
Payment completed successfully