post
https://apisandbox.cieloecommerce.cielo.com.br/1/sales
| Environment | Method | Endpoint |
|---|---|---|
| Sandbox | post | https://apisandbox.cieloecommerce.cielo.com.br/1/sales |
| Production | post | https://api.cieloecommerce.cielo.com.br/1/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).
ImportantFor Click to Pay (C2P) transactions, you do not need to send the ECI field. Cielo automatically assigns the value "2" to the field whenever it identifies this type of transaction, making the process transparent.
If a different value is sent (e.g., "5"), the system keeps the value "2", in accordance with the brand specifications.