Contract 4d1e0ad · updated 2026-11-11
Lissen Ticketing
GuidesRefunds and disputes

Refunds, disputes and the ledger

Refund ticket positions with or without cancelling them, reconcile Stripe disputes, and read the money movement ledger.

A refund names one order and the positions it relates to, and has one of two types. They differ in one thing that matters at the door: whether the tickets still admit.

TypeMoney returnedTicketsCapacity
refund_and_revoke (default)What each named position still holdsRevoked immediately; the admission code stops workingReleased
money_onlyThe amount_minor you ask forStay live: same admission code, same holderStill consumed

Use refund_and_revoke to cancel tickets. Use money_only for a goodwill or partial refund, such as returning GBP 5 of a GBP 20 ticket, when the buyer keeps the ticket.

Refund endpoints

POST/v1/refunds GET/v1/refunds GET/v1/refunds/{id}

A refund-and-revoke names the positions to cancel and takes no amount:

{
  "order_id": "ord_0199c4f1-2b7e-7a41-8c55-1d9e6f3a2b77",
  "position_ids": ["pos_0199c4f1-2b81-7e02-9a17-6c3d5e4f2a10"],
  "reason": "requested_by_customer"
}

A money-only refund names live positions and the amount to return, in the order currency's minor units:

{
  "order_id": "ord_0199c4f1-2b7e-7a41-8c55-1d9e6f3a2b77",
  "position_ids": ["pos_0199c4f1-2b81-7e02-9a17-6c3d5e4f2a10"],
  "type": "money_only",
  "amount_minor": 500,
  "reason": "requested_by_customer"
}

amount_minor is required for money_only and refused for refund_and_revoke; it must be a positive integer. A request without type is a refund-and-revoke.

The response is a refund object. Its useful fields are type, status (processing, completed or failed), amount_minor, fee_refund_minor, currency, position_ids, reason, failure_reason and psp_refs. A create call is accepted as processing; the final state arrives through the activity stream and can be read again by id. Retry a failed or network-interrupted refund with a new Idempotency-Key.

Refundable balance

Every order carries amount_refunded_minor, the money completed refunds have returned, and amount_refundable_minor, what a new refund can still return. The refundable balance is the order total less every refund that counts against it: completed and processing refunds, and failed refunds that no later refund has replaced. A Stripe Dashboard refund waiting in a refund_exception (see below) already returned its money, so it counts in both figures until staff resolve it. The refundable balance is zero unless the order is paid or refund_pending.

Each position has its own remainder: its price_minor plus booking_fee_minor, less what refunds naming it have already returned.

  • A money-only refund may not exceed the order's refundable balance or the total remainder of the positions it names. A larger request returns HTTP 409 with error.code = "refund_amount_exceeds_refundable" and refunds nothing. The amount is split across the named positions in proportion to what each still holds, never above any position's remainder.
  • A refund-and-revoke returns each named position's remainder, so money an earlier money-only refund returned is never returned twice. If earlier refunds already returned everything a position was worth, the refund completes at zero without a Stripe call and the positions are still revoked.
  • A refund-and-revoke naming a position whose money-only refund is still processing returns HTTP 409 with error.code = "position_not_refundable" and changes nothing. Retry it once the money-only refund completes or fails, so it returns exactly what the buyer is still owed.

Concurrent requests for the same order are serialised, so two partial refunds that each fit alone cannot both be accepted when together they exceed the balance.

Refund-and-revoke

The named positions are revoked immediately and their capacity becomes available again. Once revoked, an admission code cannot be used at the door, and the engine does not reissue it if a refund later fails. A failed refund leaves the order in refund_pending and the positions revoked so an operator can retry deliberately. A position can be refunded and revoked only once.

The order must be paid or refund_pending. The order becomes refunded only when no refund-and-revoke remains processing, none has failed without a later refund superseding it, and every position is revoked with reason refunded. A completed refund returns the order to paid when live positions remain and neither processing nor unsuperseded failed refund-and-revoke refunds remain. Positions revoked for a dispute or payment failure do not satisfy the fully-refunded condition; having no live positions alone does not make the order refunded. Disputes do not change its payment_state.

Cancelling free tickets

An order that took no payment (a comp, a member's guest invitation or a zero-total checkout) is cancelled the same way: a refund-and-revoke naming its tickets. With no money to return, the refund completes at zero without a Stripe call, the tickets are revoked with reason refunded, and their capacity returns to sale. The feed carries refund.created, position.revoked and refund.completed, so you can tell the holder. If you have wired refund_confirmation, it also sends for this cancellation with an amount of zero; adapt your notification template to confirm cancellation without promising money. A money-only refund of such an order returns HTTP 409 with error.code = "order_not_refundable".

Cancelling a free ticket gives back nothing it spent from an invitation allocation, its pool or a member's guest allowance by itself: those units still count. Whether they come back is your decision; to give them back, return them of the order's invitation usage (allocations, guest allowances).

Money-only refunds

A money-only refund never changes a ticket: the positions keep their status, admission code, holder and capacity use, and the order's price snapshots stay as they were. It never changes the order's payment_state either, whether it is processing, completed or failed; only the order's balances move.

A failed money-only refund keeps holding its amount against the refundable balance until later refunds replace it, position by position: a later refund of either type that names one of its positions releases its share on that position before the new refund is priced. Cancelling its tickets one at a time therefore returns each ticket in full. Once every position it named has been named again, the engine emits refund.superseded. To retry, send the money-only refund again with a new Idempotency-Key. Failed refund-and-revoke attempts are replaced the same way, so a failed retry of some of their positions never holds the same money twice.

Refunds for a cancelled event

When an event is cancelled under a policy that switches on refund_paid_tickets, the engine returns the money for every paid order with tickets to the event as one money-only refund per order, for what each live ticket still has left. It is the same primitive as a partial money-only refund, so the tickets stay live, the order stays paid and nothing is released to capacity; whether the tickets still admit is the separate disable_admission switch. A refund of the whole payment made this way is never read as a revocation: the provider refund carries refund_type: money_only, and reconciliation trusts that even when the charge reads as fully refunded. Each refund names the cancellation in its metadata.event_cancellation_id. A refund the provider refuses is reported on the cancellation and replaced only when someone retries it; the failed one is superseded, so the same money is never held twice. See cancelling an event.

Refunding a membership payment

A membership payment is refunded against its membership charge, not an order: no ticket order or position needs to exist. Every paid invoice the engine records for a membership is a membership_charge (mch_…) carrying the amount paid, the platform fee, and the invoice and PaymentIntent references the refund is made against. List a membership's payments and read each one's balance:

GET/v1/memberships/{id}/charges

Each charge has amount_minor, amount_refunded_minor, amount_refundable_minor and refundable. Refund part or all of it with the same endpoint as a ticket refund, naming the charge instead of an order:

{
  "membership_charge_id": "mch_0199c4f1-2b7e-7a41-8c55-1d9e6f3a2b77",
  "amount_minor": 500,
  "reason": "requested_by_customer"
}

amount_minor is required and must be a positive integer within the charge's amount_refundable_minor; position_ids is refused, and type may only be money_only. The response is the ordinary refund object with order_id null and membership_id and membership_charge_id set. List a charge's refunds with GET /v1/refunds?membership_charge_id= or all of a membership's with membership_id=.

A refund returns money and nothing else. It does not cancel, pause or switch the membership, restart its billing period, change its benefits or renewal date, or revoke any ticket the member holds. To end the membership use cancel separately. A refund is also never read as paying an overdue renewal: a past_due membership stays past_due whatever it refunds, because refunding an old invoice says nothing about the current one.

The refundable balance is the amount paid less every completed and processing refund of that charge, including Dashboard refunds the engine has reconciled. The balance is read under a lock on the charge, so repeated and concurrent requests cannot refund more than was paid; a request above it returns 409 refund_amount_exceeds_refundable with nothing refunded. A refund that fails releases its amount at once (nothing was revoked), so the same money can be requested again with a new Idempotency-Key. Stripe returns the platform fee in proportion to the money, and the engine records the same share as fee_refund_minor.

A charge recorded before membership refunds were supported carries no payment reference. It is listed with refundable: false, and requesting a refund returns 409 membership_charge_not_refundable; refund it from the Stripe Dashboard and the engine reconciles it into the same history. A charge id that does not belong to the organizer returns 404 not_found.

Provider events. The engine settles an engine-made refund when Stripe confirms or refuses it, and writes refund and platform_fee_refund ledger entries, named by the charge rather than an order, for what Stripe returned. A refund taken in the Stripe Dashboard on a charge the engine recorded as a membership payment is recorded as an external refund of the same charge, and its platform fee is returned in proportion to the money. Refunds of any other payment on the connected account, including payments the engine did not create, are not the engine's to manage and are ignored. An external refund the engine cannot map to the charge unambiguously (for example a different currency) is logged as an exception and recorded nowhere.

Payment mode refusal

A refund must use the payment's original test or live mode. A request for a payment in a different mode returns HTTP 409 with error.code = "refund_payment_mode_mismatch". This refusal creates no refund and revokes no positions. A live payment copied into a test environment cannot be refunded there; refund it through its original live environment.

Stripe refunds taken outside the engine

Stripe Dashboard refunds are reconciled from Connect webhooks. A full refund whose charge metadata identifies an order is applied to all positions still needing that refund, including a position left revoked by a failed engine refund. A partial refund is safe but cannot be assigned to positions automatically; the engine creates a refund_exception for a staff member to resolve. The operator selects the positions covered by that external refund, then the engine revokes exactly those positions and records the proportional fee refund, or records the money without revoking anything. The fee refund brings the application fee returned so far up to the share of all the money the charge has returned, less Dashboard refunds still waiting in other exceptions, so a fee share an engine refund already returned is never returned again.

Money an engine money-only refund returned never counts towards a full Dashboard refund. If you take the rest of a charge from the Dashboard after a money-only refund, the charge reads as fully refunded, but the engine opens a refund_exception rather than revoking the tickets. Cancel tickets with a refund-and-revoke through the API instead.

Fees and the ledger

For direct charges, the platform executes the connected-account refund with refund_application_fee: true. Stripe refunds the application fee in proportion to the money returned, for either refund type. There is no separate booking-fee policy: the amount a refund returns counts against each position's price and booking fee together.

A refund's fee_refund_minor is the engine's request-time estimate of that proportional platform fee: the position's platform_fee_minor scaled by the share of the position's value this refund returns. Repeated partial refunds of one position add up to its whole platform fee. The ledger records Stripe's confirmed amounts, which can differ from the estimate by rounding: each confirmed refund writes one refund row for the money returned to the buyer and one platform_fee_refund row for the application fee Stripe returned. The ledger names a refund's positions only when the Stripe refunds not yet booked are a single engine refund that accounts for the whole newly observed amount; events can arrive out of order, so an equal amount alone never decides it. Card network and Stripe processing fees are not part of either figure. The public refund object keeps its request-time amount and fee snapshot; settlement updates its status and provider references without replacing those amounts.

Disputes

GET/v1/disputes GET/v1/disputes/{id}

When a charge.dispute.created event arrives, all live positions on the affected order are revoked immediately with revocation_reason: "disputed". The dispute does not change the order's payment_state. A won dispute records a reversal in the ledger but does not restore tickets; a lost dispute remains an observed debit. Dispute lifecycle activities are dispute.created, dispute.won and dispute.lost.

Ledger entries

GET/v1/ledger_entries

The ledger is append-only and tenant-scoped. It is written only from confirmed payment-provider events, with idempotency on (psp_event_id, entry_type). Amounts are positive minor-unit integers; entry_type gives the direction:

Entry typeMeaningDirection
ticket_saleTicket sale amount receivedin
platform_feePlatform fee receivedin
refundTicket amount returnedout
platform_fee_refundPlatform fee returnedout
dispute_debitDisputed charge withdrawnout
dispute_feeDispute fee chargedout
dispute_reversalDispute funds reinstatedin
membership_chargeMembership invoice payment receivedin

Do not derive accounting totals from an optimistic checkout response. Read the ledger and the refund/dispute objects after webhook reconciliation, and use ledger_entry.appended as the audit trail for each confirmed movement. An order can exist a few seconds before its sale is on the ledger — the buyer's page completes the session as soon as the payment goes through, and the ticket_sale and platform_fee entries follow when Stripe's event arrives. There is one of each per payment, whichever event reports it.

Activity and buyer messages

Refunds emit refund.created and then refund.completed or refund.failed. A membership payment refund emits the same activities, with order_id null, and sends no buyer message: your product owns member-facing messaging. When a later refund supersedes a failed attempt, the engine emits refund.superseded; its snapshot metadata includes superseded_by with the new refund's id. Every refund snapshot carries its type, and the activity records who created it. External partial refunds also emit refund_exception.created and, after staff assignment, refund_exception.resolved. A completed refund can trigger the refund_confirmation buyer message; its revokes_admission field is false for a money-only refund, so the message can say this refund does not change admission status. It describes only that refund, not whether the tickets are still valid. Position revocations caused by refunds or disputes do not trigger the payment-failure message.

On this page