Mark an unpaid cobru as expired or canceled.
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.
url*string
Alphanumeric cobru identifier returned when the payment was created.
Response Body
application/json
application/json
curl -X POST "https://prod.cobru.co/cobru/update_to_expired/" \ -H "Content-Type: application/json" \ -d '{ "url": "xx17elpi" }'{
"result": "OK"
}{
"error": "Error en la creacion del cobru.",
"detail": "payment_method_enabled must be a JSON string"
}