Skip to content

BookingCancellationPreview

What cancelling a booking right now would do, under the policy in force.

Fields

refundAmountInt!

Gross cents that would be returned.

penaltyAmountInt!

Flat fee withheld under the policy. 0 when in window.

billedFeeAmountInt!

The part of the flat fee the refund cannot absorb, which would be billed as a balance still owed rather than dropped. Always 0 unless the policy says unrecoverableFee: bill, and largest where there is no refund at all to take a fee out of — a place a pass paid for.

forfeitedCreditsInt!

Pass or membership credits that would be forfeited rather than restored.

withinWindowBoolean!

Whether the cancellation falls inside the policy's refund window.

refundBreakdown[BookingCancellationRefund!]!

Where refundAmount would go, one row per funding source — the same proportional split across the order's fundings that the cancellation would actually write, sized through the same refund planner. Empty when no money comes back.

Quoting a single figure was true about the total and silent about the thing a buyer most wants settled before they confirm: money paid from a gift card goes back to the gift card, not to their card.

restoredCreditsInt!

Pass or membership credits that would come back, after forfeitedCredits has taken its cut. The counterpart to refundBreakdown for the value that never was money.

Used in