POST
/cobru/confirm_daviplata/

Confirm a Daviplata payment after the payer receives the OTP. This operation is documented in the original Spotlight materials and later deep checkout research, but Cobru has not yet replayed a full OTP confirmation cycle in the sandbox evidence published by this repo.

Authorization

ApiKey BearerAuth
x-api-key<token>

In: header

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://prod.cobru.co/cobru/confirm_daviplata/" \  -H "Content-Type: application/json" \  -d '{    "URL": "ufa8q176",    "OTP": "123456"  }'
{
  "result": "OK"
}
{
  "error": "Error en la creacion del cobru.",
  "detail": "payment_method_enabled must be a JSON string"
}