Cancel Invoice
DELETE
https://bank.dattaremit.com/api/invoices/{invoice_guid}Requires a bank-scoped key.
Cancels an invoice.
Required scope: invoices:execute
Path Params
invoice_guidstringrequiredIdentifier for the invoice.
Responses
200Invoice cancelled
401Unauthorized - Authentication failed
403Invalid scope
404Invoice not found
422Unprocessable Content
Request
curl https://api.dattaremit.com/api/invoices/{invoice_guid} \
-X DELETE \
-H "Authorization: Bearer sk_test_YOUR_KEY"Response
Invoice cancelled
{
"guid": "string",
"customer_guid": "string",
"account_guid": "string",
"created_at": "2026-07-20T16:27:51.438Z",
"updated_at": "2026-07-20T16:27:51.438Z",
"type": "string",
"asset": "string",
"receive_amount": 1,
"deliver_amount": 1,
"fee": 1,
"state": "string",
"labels": [
"string"
]
}