Create a payment with Click to Pay

ℹ️

Learn more about this feature in documentation.

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

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).
⚠️

The Click to Pay feature works with card data or DPAN. It is not possible to create a transaction using encrypted data.

See how to decrypt card data in the Mastercard documentation.

Body Params
string

Order ID number. Size: 50.

Customer
object
Payment
object
Wallet
object
Headers
string
required

Store identifier at Cielo. Size: 36.

string
required

Public key for dual authentication at Cielo. Size: 40.

string

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

Response

Language
LoadingLoading…
Response
Choose an example:
application/json