put https://apisandbox.cieloecommerce.cielo.com.br/1/sales//confirm
Confirms the conversion of the payment from reais to the foreign card currency
Environment | Method | Endpoint |
---|---|---|
Sandbox | put | https://apisandbox.cieloecommerce.cielo.com.br/1/sales/{Tid}/confirm |
Production | put | https://api.cieloecommerce.cielo.com.br/1/sales/{Tid}/confirm |
After shopper decides to pay in the foreign currency, merchant must send the conversion confirmation request with the CurrencyConversion
field set to true. After confirmation, API E-commerce Cielo will submit the transaction for authorization.
Attention to the confirmation time limit
Confirmation must be done within twenty minutes.
If the time for confirming the desired currency exceeds twenty minutes, the API will return code 020 with the message “Status does not allow authorization”.
If the capture is not automatic (
Payment.Capture
set to true), the subsequent capture must also be done within 20 minutes to guarantee the exchange rate for shopper.