List a bank operation's allocations
GET/api/v1/bank_operations/:bank_operation_id/allocations
Returns every allocation of the operation, oldest first - the order an operator built the split in.
No status filter is applied by default, and rejections are returned too. That is deliberate: without them you cannot tell an invoice that was never proposed from one that was proposed and refused, and the refusal is the audit record. Pass ?status=confirmed to narrow it yourself.
An unrecognised filter value narrows the result to nothing rather than being refused, which is the convention across this surface.
Request
Responses
- 200
- 401
- 403
- 404
The operation's allocations, oldest first.
The request carries no bearer token, or one that is invalid or expired.
Two gates answer here. The OAuth SCOPE is checked first - a GET needs read - and then the bank_reconciliation FEATURE for the workspace the operation belongs to. An operation your token cannot read is a 404, never a 403, so this status never confirms that an id exists outside your grants. The example below is refused by the feature.
No operation with this id is reachable by the token's grants. One belonging to another workspace answers the same way, so the response cannot be used to probe for one.