Deletar um Checkout
Changed onDeleta um Checkout que ainda não foi pago.
Checkouts de assinatura não são excluídos por esta rota; use POST /subscriptions/checkouts/delete.
post/checkouts/delete
Request
- Base URLhttps://api.abacatepay.com/v2
- URLhttps://api.abacatepay.com/v2/checkouts/delete
- AuthHTTP bearer
Query parameters
idstring required
Example:bill_abc123xyz
Identificador único do Checkout
Response
Checkout deletado com sucesso.
Example response
{
"data": {
"id": "bill_abc123xyz",
"externalId": "pedido-123",
"url": "https://app.abacatepay.com/pay/bill_abc123xyz",
"amount": 10000,
"items": [
{
"id": "prod_456",
"quantity": 2
}
],
"status": "PENDING",
"coupons": [],
"upSellProductId": "prod_bump456xyz",
"installmentsCount": 3,
"card": {
"maxInstallments": 12
},
"dueDate": "2026-08-15",
"interest": {
"value": 100
},
"fine": {
"value": 200,
"type": "PERCENTAGE"
},
"metadata": {},
"createdAt": "2024-11-04T18:38:28.573Z",
"updatedAt": "2024-11-04T18:38:28.573Z"
},
"success": true
}Changes
- warning
added the new
REDEEMEDenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- info
endpoint added
- info