Create a payment with Click to Pay

Environment

Method

Endpoint

Sandbox

https://apisandbox.braspag.com.br/v2/sales/

Production

https://api.braspag.com.br/v2/sales/


ℹ️

Learn more about this feature in documentation.

For the Click to Pay request, send the Payment.Type parameter as “CreditCard” and the WalletType parameter as “ClickToPay”.

⚠️

CAVV and card security code

  • When a card is tokenized, Click to Pay returns the card CAVV. When sending a transaction with CAVV (Wallet.Cavv), it is not mandatory to send the card security code;
  • When a card is not tokenized, CAVV does not exist, so it is mandatory to send the card security code (Payment.CreditCard.SecurityCode).

Language