put
https://apisandbox.cieloecommerce.cielo.com.br/1/sales/OrderId//void?amount=
| Environment | Method | Endpoint |
|---|---|---|
| Sandbox | put | https://apisandbox.cieloecommerce.cielo.com.br/1/sales/OrderId/{MerchantOrderId}/void?amount={Amount} |
| Production | put | https://api.cieloecommerce.cielo.com.br/1/sales/OrderId/{MerchantOrderId}/void?amount={Amount} |
WarningThe cancellation by MerchantOrderId always affects the newest transaction. That is, if there are orders with duplicate order numbers, only the most recent order will be canceled. The previous order cannot be canceled by this method.
Partial cancellationFor debit cards, only one partial void is allowed.