cURL
curl --request DELETE \ --url https://api.decodahealth.com/billing/charge/{charge_id} \ --header 'API-KEY: <api-key>' \ --header 'TENANT: <tenant>'
true
Archive a charge and all associated records (payments, items, adjustments, etc.). This performs a soft-delete by setting is_archived=True. Only allowed for charges with no card payments. Requires billing:payments:refund permission.
The tenant you are making this request on behalf of
Your api key
Successful Response
The response is of type boolean.
boolean