Receipts
Reverse a receipt
Record that reported money was not real. The receipt stays readable, marked reversed, and every figure derives again without it.
POST
A reversal records that the money behind a Receipt was not real — a chargeback, a returned transfer, an operator’s mistake. It is a further fact, not a deletion: the Receipt stays readable, and everything it had settled stands owed again, a closure it had caused included. Payments carries the worked reversal; money that was real and must go back to the borrower is not a reversal’s case.
Path parameters
Body
All four fields are required; an absent body is refused422.
One of
chargeback, returned_transfer, operator_error — the one closed vocabulary any act carries.Response
201 with the Receipt as it now reads: reversed true, reversed_at, and the reversal block carrying this body. The allocation section reads empty — nothing stands settled by a reversed Receipt. Retry 200; a differing body under the recorded reference, 409 reference_reused.