API Reference
Log In

Charge Write-off/Canceling

Charge write-off

To write-off a bank slip, you only need to inform the correlationId of the charge.

Request

PUT 'https://apisandbox.delbank.com.br/baas/api/v1/charges/{{correlationId}}/closeout'
curl -X 'PUT' \
  'https://apisandbox.delbank.com.br/baas/api/v1/charges/{{correlationId}}/closeout' \
  -H 'accept: */*' \
  -H 'x-delbank-api-key: {{apiKey}}'

Headers

NameDescription
x-delbank-api-keyRequired. API key

Parameters:

NameTypeDescription
correlationIdstringRequired. Charge correlation id.

Response

The status code 202 indicates a sucess in the bank slip write-off or QR Code canceling.

No response body will be returned in successful cases.

📘

For more informations:

For more information and endpoint request simulations, access the API Reference.