contractor_invoice.funds_returned
This event is triggered when the payout of a contractor invoice is returned — the funds were sent but the contractor's bank rejected them, for example because of incorrect bank details. It is sent once per invoice: if a retry fails or is returned again, the event is not sent again.
The payload is stateless. Use the contractor invoice ID and employment ID to retrieve current details.
Payload
The unique identifier of the related employment.
The unique identifier of the related company.
The webhook event type identifier.
The unique identifier of the contractor invoice.
Example payload
{
"company_id": "123-example",
"contractor_invoice_id": "123-example",
"employment_id": "123-example",
"event_type": "contractor_invoice.funds_returned"
}Response
Any 200 response confirms that the webhook was delivered.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.