Void a debit card payment

Cancel or refund a debit card transaction.

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/sales/{PaymentId}/void
Productionhttps://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:


Path Params
string
required

Order identifier field.

Query Params
int32

Amount to be canceled/refunded, in cents. Note: 1. Check if your acquirer supports the cancelling or refunding of operations.
2. If the value for Amount is "0" (zero), or if Amount is not sent, the refund will consider the total captured amount. Size: 15.

Headers
string
required

Store identifier in the API. Size: 36.

string
required

Public key for dual authentication in the API. Size: 40.

string

Store-defined request identifier used when the merchant uses different servers for each GET/POST/PUT. Size: 36.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json