Create a debit card payment

Create a debit transaction

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.braspag.com.br/v2/sales/
Productionhttps://api.braspag.com.br/v2/sales/

⚠️

Warning

  • To validate if the authentication was accepted in the authorization response, consider the ECI outside the Payment.ExternalAuthentication node.

For the Sandbox environment, use the value "Simulado" in the Payment.Provider field.

⚠️

The Hipercard card brand will be discontinued on June 30 2025

The Hipercard cards will migrate to Mastercard.


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.ExternalAuthentication node;
  • For transactions with 3DS Data Only authentication, the ExternalAuthentication.DataOnly parameter must be send as true.
Language
Click Try It! to start a request and see the response here!