Void a credit transaction via PaymentId

Cancel the total or partial amount of a credit transaction by providing the PaymentId.

EnvironmentMethodEndpoint
Sandboxhttps://apisandbox.cieloecommerce.cielo.com.br/1/sales/{PaymentId}/void?amount={Amount}
Productionhttps://api.cieloecommerce.cielo.com.br/1/sales/{PaymentId}/void?amount={Amount}

⚠️

It is not possible to partially void a transaction that was not captured.

To partially void a transaction, the Capture field must be "true" when creating the payment with a credit card.


ℹ️

Partial cancellation

Can occur numerous times, until the full amount of the transaction is canceled.

Language
Click Try It! to start a request and see the response here!