put
https://apisandbox.braspag.com.br/v2/sales//void
Cancel or refund a debit card transaction.
| Environment | Method | Endpoint |
|---|---|---|
| Sandbox | put | https://apisandbox.braspag.com.br/v2/sales/{PaymentId}/void |
| Production | put | https://api.braspag.com.br/v2/sales/{PaymentId}/void |
The API allows you to void transactions individually.
To void a group of transactions, use the e-commerce portal. Learn more at:
- How to void transactions in batch (until 11:59 PM on the day the transaction is created);
- How to refund transactions in batch (from the day after the transaction is created).