Skip to main content
DELETE
/
payments
/
invoices
/
{id}
Delete Invoice
curl --request DELETE \
  --url https://api.rootfi.dev/v4/payments/invoices/{id} \
  --header 'api_key: <api-key>'
{
  "success": true
}
Void/delete an invoice in the payment platform. This marks the invoice as canceled and it will no longer be collectible.
Voiding an invoice does not automatically refund any payments made. Use the Transactions API to process refunds if needed.

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe rootfi_id or platform_id of the invoice to void

Behavior

  • Draft invoices are typically deleted
  • Sent/open invoices are marked as void
  • Paid invoices may require refunds before voiding (platform-dependent)

Authorizations

api_key
string
header
required

Path Parameters

id
string
required

Response

Invoice voided successfully

success
boolean