Cancel Payments#
Cancel authorized transactions on the same business day. Supports full and partial cancellations by sending the original transaction ID.Cancel Payments is currently in Beta. Contact your account manager for access.
Service available in Mexico only.
Requirements#
Environments#
| Environment | Base URL |
|---|
| Dev | https://kushkicollect.billpocket.dev |
| Live | https://kushkicollect.billpocket.com |
Authentication#
Cancel a payment#
Send the saleId of the original transaction. For a partial cancellation, include refundAmount with a value less than the original transaction amount.Request — Full cancellation:Request — Partial cancellation:{
"saleId": "12200",
"refundAmount": 150.00,
"uniqueReference": "CANCEL-001"
}
| Field | Type | Required | Description |
|---|
saleId | string | ✅ | ID of the original transaction |
refundAmount | number | — | Partial refund amount. Must be ≤ original amount. Two decimal places |
uniqueReference | string | — | Your reference for traceability. 6–64 alphanumeric characters |
{
"message": {
"statusInfo": "APROBADA",
"status": "1",
"transactionId": "129058",
"autorization": "N/D"
},
"statusCode": 200,
"error": null
}
Next steps#
Got a suggestion on this documentation? Contact us.