Skip to main content
POST
/
orders
/
daviplata
/
{orderId}
Submit Daviplata OTP
curl --request POST \
  --url https://api.wava.co/v1/orders/daviplata/{orderId} \
  --header 'Content-Type: application/json' \
  --header 'merchant-key: <api-key>' \
  --data '
{
  "daviplata_otp": "123456"
}
'
{
  "data": {
    "id_order": 12345,
    "status": "confirmed",
    "payment_method": {
      "gateway": "daviplata",
      "id_number": "****678",
      "status": "completed",
      "confirmation_number": "DAVI123456789"
    }
  }
}

Authorizations

merchant-key
string
header
required

Merchant key for store identification. Required for all API requests.

merchant-key: YOUR_MERCHANT_KEY

Path Parameters

orderId
integer
required

Order ID requiring OTP verification.

Required range: x >= 1
Example:

12345

Body

application/json
daviplata_otp
string
required

6-digit OTP received by the buyer via SMS from Daviplata.

Pattern: ^\d{6}$
Example:

"123456"

Response

Payment completed successfully

data
object