204 No Content
The rules
Full amount only
There is no partial refund. If you need to refund part of a sale, reverse the whole charge and
take a new one for the correct amount.
Once
A second attempt returns
409. See below — that is not a failure.No time limit
A charge from any date can be reversed. There is no 30-day or 180-day window.
Your charges only
Another merchant’s transaction returns
403, indistinguishable from “not a charge”.Treat 409 as success
409 Conflict
Converge, do not retry. On a
409, mark the sale refunded in your own system and show the
cashier a success message. This is exactly what the official Vibepay POS app does, and it makes
a refund button safe to press twice.You need the transaction id
tx_01k2y7v9j0e8ra7cx3mbq4d5nf — the id from the charge response. There is no way to refund by
QR code, by amount, or by time.
Printing it on the customer receipt is a good habit. It makes a walk-in refund a lookup instead of
a search.
What happens behind the scenes
You get your204 immediately. Three things then happen asynchronously, none of which can delay
or block the refund:
1
The wallet is credited
Already done by the time you get the
204 — this part is synchronous.2
The VAT receipt is cancelled
Vibepay voids the receipt with the tax authority.
vatStatus on the transaction moves to
voided. You do not need to file anything.3
Settlement is adjusted
If the original charge had already been paid out to you in an earlier weekly cycle, the amount
is netted off your next payout. Nothing is clawed back from your bank account.
Errors
Reversal is naturally idempotent — the worst a repeat can do is return
409 — so it takes no
Idempotency-Key and none is needed.
What happens to the tax receipt
How VAT issuance and voiding work, and how to observe them.

