Skip to main content

Update a bank allocation

PATCH 

/api/v1/bank_allocations/:id

Changes the drafted amount, or withdraws the allocation by setting status: "rejected". Both fields are optional but at least one is required; the fields you send are applied and the rest keep their stored values.

rejected is the only status this endpoint writes. A confirmation is POST /api/v1/bank_operations/{id}/reconciliation, and an allocation that has already been decided can never return to proposed. A CONFIRMED allocation cannot be rejected here either: the money has to come back first, through DELETE /api/v1/bank_operations/{id}/reconciliation.

Idempotency-Key is accepted and optional.

Request​

Responses​

The updated allocation.