Skip to main content
DELETE
/
payments
/
orders
/
{id}
Delete Order
curl --request DELETE \
  --url https://api.rootfi.dev/v4/payments/orders/{id} \
  --header 'api_key: <api-key>'
{
  "success": true
}
Cancel/delete an order from the payment platform.

Path Parameters

ParameterTypeRequiredDescription
idstringYesThe rootfi_id or platform_id of the order
Orders with completed payments may require refunds before deletion. Use the Transactions API to process refunds first.

Behavior

  • Pending orders are canceled/deleted
  • Paid orders may be marked as canceled (platform-dependent)
  • Associated invoices may need to be voided separately

Authorizations

api_key
string
header
required

Path Parameters

id
string
required

Response

Order deleted successfully

success
boolean