put https://apisandbox.braspag.com.br/v2/sales//void?amount=xxx
Cancel or refund a credit card transaction.
Environment | Method | Endpoint |
---|---|---|
Sandbox | put | https://apisandbox.braspag.com.br//v2/sales/{PaymentId}/void?amount=xxx |
Production | put | https://api.braspag.com.br//v2/sales/{PaymentId}/void?amount=xxx |
It is not possible to partially void a transaction that was not captured.
To partially void a transaction, the
Capture
field must be "true" when creating the payment with a credit card.