Webhooks
New Expense Payment
Sent when a payment is added to an existing expense.
WEBHOOK
When it’s sent
- A payment is added to an existing expense.
type is NEW_EXPENSE_PAYMENT. See the introduction to subscribe to this event and verify the X-Hub-Signature-256 signature.Headers
HMAC SHA-256 of the raw request body, keyed with your Verify Token, as sha256=<hex>. Sent only when a Verify Token is set.
Example:
"sha256=3f1c5e…"
Body
application/json
Sent when a payment is added to an existing expense.
Payload version.
Available options:
v1.0 Example:
"v1.0"
Event type.
Available options:
NEW_EXPENSE_PAYMENT Example:
"NEW_EXPENSE_PAYMENT"
Payment ID.
Example:
"ckx1b0000002"
Expense ID.
Example:
"ckx1e0000001"
Amount paid.
Example:
500
Treasury the money was paid from.
Example:
"ckx1t0000001"
Payment sub-type.
Example:
null
Notes.
Example:
null
Response
200
Return any 2xx status within 5 seconds to acknowledge the event. Failed deliveries are not retried.