post https://apisandbox.braspag.com.br/v2/sales/
Create a debit transaction
| Environment | Method | Endpoint |
|---|---|---|
| Sandbox | post | https://apisandbox.braspag.com.br/v2/sales/ |
| Production | post | https://api.braspag.com.br/v2/sales/ |
Warning
- To validate if the authentication was accepted in the authorization response, consider the ECI outside the
Payment.ExternalAuthenticationnode.
For the Sandbox environment, use the value "Simulado" in the
Payment.Providerfield.
Identification of transactions originating from payment links for Elo cards
Starting October 17, 2025, it will be mandatory to identify transactions originating from payment links for Elo-branded cards. Send the parameter
Payment.SolutionType= "ExternalLinkPay".
3DS Authentication in debit card payments
- 3DS authentication is required for debit transactions. In a standard debit transaction (with authentication), send
Authenticate= "true"; - Provide the data received from the script output in the
Payment.ExternalAuthenticationnode; - For transactions with 3DS Data Only authentication, the
ExternalAuthentication.DataOnlyparameter must be send as true.