expense.created
Sent when an expense is created through the API or the app. Each event is attempted up to 3 times: the first delivery, then retries after 10 s and 100 s; only a 2xx response counts as success. The request times out after 10 seconds.
Antraščių parametrai
Lowercase hex HMAC-SHA256 of the raw request body, keyed with the webhook's signing secret (whsec_…). Recompute it over the exact bytes received and compare with a constant-time function before trusting the payload. No timestamp or event-id header is sent.
^[0-9a-f]{64}$Užklausos turinys
application/json
TypeScript tipai
Naudokite request body tipą TypeScript kode.
Atsakymo turinys
Užklausų pavyzdžiai
/expense.createdDownload the expense file GET
Streams the stored file under its original name. Content-Length is not sent.
expense.updated Webhook
Sent when an expense is replaced or its file is swapped. Each event is attempted up to 3 times: the first delivery, then retries after 10 s and 100 s; only a 2xx response counts as success. The request times out after 10 seconds.