What happens to a ticket after a refund
See what happens to the QR Code, the tier's inventory, and any applied coupon once a refund is processed.
A refund on Baila triggers a chain of automatic actions: the ticket's QR Code is revoked, the tier's inventory is released for a new sale, the coupon used (if any) gets a unit back, and the per-CPF limit counter is decremented. CPF is the Brazilian taxpayer ID.
What happens automatically
All of these actions happen inside a single atomic transaction triggered by the PAYMENT_REFUNDED webhook. If any step fails, all of them are undone — an in-between state is impossible (a revoked QR with the tier's inventory not yet returned, say).
1. The QR Code is revoked
The ticket's status becomes REVOKED — REFUNDED lives on the order, not on the ticket. At check-in, the scanner shows "Ticket revoked." and blocks entry. The buyer still sees the ticket in their list, but marked Cancelled in red.
2. The tier gets its inventory back
The tier's quantitySold is decremented — a new buyer can pick that ticket up right after. This happens in the same transaction as the step above, guaranteeing zero window of inconsistency.
3. The coupon is released
If the order had a coupon applied and that coupon has a usage cap, the counter goes back by one. For example: coupon INSTAGRAM10 with 10 uses, 8 already spent → one refund → back to 7 used.
4. The per-CPF limit is decremented
If the event has a per-CPF cap, the buyer's counter (and the cardholder's, on a paid purchase) is decremented. So the person can buy again up to the cap — except on free events, which use lifetimeAcquired and do not allow re-buying after a refund.
5. The split is marked as refunded
The record of the 3% fee split is marked as refunded (Baila keeps the history rather than deleting it). If you are unsure about what comes back from the fee itself, get in touch through support.
6. A confirmation email
The buyer receives an email confirming the refund and the amount that will be credited back to their account.
What if the buyer had transferred the ticket beforehand?
If the ticket was transferred to somebody else before the refund, the refund still revokes the QR Code (the current holder's). The money goes back to whoever originally bought it. It is worth squaring things with the recipient before refunding in that case.