Skip to main content

Withdraw a bank allocation

DELETE 

/api/v1/bank_allocations/:id

Deletes nothing. An allocation is an audit record, so this writes status: "rejected" and returns the row as it now stands - which is why the response carries a body at all.

A CONFIRMED allocation is refused here: the payment and the ledger line have to come back first, through DELETE /api/v1/bank_operations/{id}/reconciliation. A rejected one is refused too - that state is terminal.

Idempotency-Key is accepted and optional.

Request​

Responses​

The withdrawn allocation, now rejected.