Deletar um checkout de assinatura
Changed onExclui um checkout de assinatura (bill_... com frequency: SUBSCRIPTION), que deixa de aparecer nas listagens.
As assinaturas que o checkout já gerou continuam ativas. Para encerrá-las, use POST /subscriptions/cancel.
post/subscriptions/checkouts/delete
Request
- Base URLhttps://api.abacatepay.com/v2
- URLhttps://api.abacatepay.com/v2/subscriptions/checkouts/delete
- AuthHTTP bearer
Query parameters
idstring required
Example:bill_abc123xyz
Identificador único do checkout de assinatura
Response
Checkout de assinatura excluído 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