Create Reimbursement
/users/{user_id}/reimbursementsInitiates a reimbursement: pays the user back from their own benefit account for a set of eligible expenses. Requires the benefit_account key scope, and the benefit_account product on the funding account’s connection. Processing is asynchronous: the reimbursement is created pending and progresses through submitted/processing to completed or failed, with a reimbursement.status_changed webhook per transition. On completion the underlying expenses transition to reimbursed. Expenses must be eligible and not already part of an in-flight reimbursement (409 conflict otherwise).
Path Parameters
The Sail user id.
Body application/json
Expenses to reimburse. All must be eligible and belong to this user.
The benefit account to pay from. Its owning connection must have the benefit_account product.
Response
Reimbursement created. Processing has begun.
The Sail reimbursement id.
The reimbursement’s current processing status.
Sum of the included expenses, USD.
The funding account. Join to /accounts/{account_id} for provider and balance context.
The expenses included in this reimbursement.
Reimbursement receipt document. Populated once completed; present on the single-resource GET only.
When the reimbursement was submitted for processing.
When the reimbursement completed. Null while still in progress.
conflict: an expense is not eligible, or is already in an in-flight reimbursement.
Standard error envelope covering 400, 401, 403, 404, 429, and 500.
The error detail.