Skip to main content

Expense Deleted

Event Type​

expense_deleted

Summary​

Sent when an expense is deleted. Company webhooks receive events for their records; agency delivery is limited to records belonging to that agency. The payload retains the deleted object ID; the deleted record can no longer be fetched.

Access​

Company and agency webhooks. Agency delivery is limited to records supplied by or belonging to that agency.

Delivery​

Requidex sends a signed POST request with Content-Type: application/json to the configured webhook URL. Return a 2xx response after accepting the event for processing. Duplicate or out-of-order deliveries are possible; deduplicate by event ID.

See delivery headers, signature verification and retry handling for the shared contract. The webhook signing secret is separate from an API key used to fetch the record.

Payload Fields​

FieldTypeRequiredDescription
idstringYesStable event identifier, reused for delivery retries
typestringYesexpense_deleted
createdAtstringYesEvent creation time in ISO 8601 UTC format
dataobjectYesAffected resource reference; not a snapshot of the changed record
Show child attributes
  • expense object — Affected expense reference
    Show child attributes
    • id string — Identifier used by the corresponding detail endpoint
testbooleanNoPresent and true for test deliveries; the resource ID is test

Payload Example​

{
"id": "evt_01K1WEBHOOKEXAMPLE",
"type": "expense_deleted",
"createdAt": "2026-09-10T12:00:00.000Z",
"data": {
"expense": {
"id": "507f1f77bcf86cd799439013"
}
}
}

Deleted Record​

The payload retains the deleted object's full ID in data.expense.id. The deleted record can no longer be fetched; use the ID to remove or mark it as deleted in your system.

The follow-up API request uses your API key and the endpoint’s scope and access rules. A webhook subscription does not grant additional API access. Test deliveries include test: true and use the resource ID test; do not fetch a business record for those deliveries.