Cancellations and Refunds
This feature allows you to cancel and refund a previously authorized payment. Depending on how many days after the cancellation is made, the refund amount will vary:
- Same-day cancellation: Only the total refund amount is allowed,
- Next-day (and subsequent days) cancellation: Both total and partial refund amounts are allowed.
Each country has a specific cutoff time, as detailed below in their local time:
Argentina, Chile and Spain: After 11:00 PM;
Brazil: After 12:00 AM;
Mexico and Uruguay: After 10:00 PM.
Transactions authorized very close to the cutoff time (e.g., 11:55 PM) may only have their cancellation processed 20 to 30 minutes after authorization, due to the time required for full transaction confirmation. Therefore, the request should be made after 12:30 AM.
Partial cancellations are currently not supported in Argentina, Brazil and Uruguay. In these markets, only full cancellations and refunds can be processed, regardless of the time elapsed since the original authorization. This limitation should be taken into consideration when designing and implementing refund workflows for these countries.
Below are the available card brands that support cancellations and refunds in each country
| Available Card Scheme | Argentina | Brazil | Chile | Mexico | Uruguay | Spain |
|---|---|---|---|---|---|---|
| Amex | ✅ | ✅ | ✅ | ✅ | - | - |
| Cabal | ✅ | - | - | - | - | - |
| Carnet | - | - | - | ✅ | - | - |
| Elo | - | ✅ | - | - | - | - |
| Hipercard | - | ✅ | - | - | - | - |
| Mastercard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Naranja | ✅ | - | - | - | - | - |
| Visa | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| OCA - Mastercard | - | - | - | - | ✅ | - |
Request a cancellation or refund
In order to set a cancellation, the GetNet Api expects to receive the following details in the request body:
- Idempotency_key, payment_id, payment_method: Extracted from the response body of the previous authorization request,
- Amount: Property that should have the value of the refund. If no value is provided, the transaction will be refunded for the full amount.
To check if the request was successful, the response body will show a property status with two possible values:
CANCELED or DENIED. In case you need more details, you may also find the properties reason_code and reason_message (for denied cases) useful.For more details, see the API reference
Cancel combined payments
Cards transactions
Cancellation is available for confirmed transactions made more than 1 day ago.
Credit cards
Combined payments with credit cards can be cancelled through a request that includes the same amount of payments as sent in the previous authorization request. Depending on the authorization status of the current transaction, cancellation can be reversed on the same day (already confirmed) or within 7 days (already authorized).
For more details, see the API reference
On this page