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
Name | Description |
---|---|
x-delbank-api-key | Required. API key |
Parameters:
Name | Type | Description |
---|---|---|
correlationId | string | Required. 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.