POST
/cobru/estimate/

Estimate fees and net received amount before creating a cobru.

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/estimate/" \  -H "Content-Type: application/json" \  -d '{    "amount": "5000"  }'
{
  "cobru_amount": 0,
  "cobru_fee": 0,
  "iva": 0,
  "cobru_payed_amount": 0
}
{
  "error": "Error en la creacion del cobru.",
  "detail": "payment_method_enabled must be a JSON string"
}