put
https://apisandbox.braspag.com.br/v2/sales//void?amount=xxx
Cancel or refund a credit card transaction.
Environment | Method | Endpoint |
|---|---|---|
Sandbox | put |
|
Production | put |
|
Total void
To totally void a transaction, it is not necessary to send the Amount field.
Partial void
Environment | Method | Endpoint |
|---|---|---|
Sandbox | put |
|
Production | put |
|
To partially void a transaction, include in the Amount field the amount in cents that you wish to void.
It is not possible to partially void a transaction that was not captured.To partially void a transaction, the
Capturefield must be "true" when creating the payment with a credit card.