BookingDeposit
Interface
Buyer-facing details required to complete a reservation deposit.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Deposit amount in minor currency units (for example, cents). Always a positive integer. |
|
| No | Short-lived, opaque capability authorizing a guest to refresh this payment.<br>Pass it unchanged to ReservationsService.refreshPayment after checkout. |
|
| No | Opaque hosted-checkout URL where the buyer completes the deposit. |
|
| No | ISO 4217 currency code for the deposit (for example, |
|
| No | Opaque payment reference (prefixed |
BookingDepositResult
TypeAlias
Result of ReservationsService.book. A reservation without an online deposit
keeps the existing confirmed Booking shape. A reservation that requires a
deposit is returned as pending with the hosted-checkout details needed to continue.
type BookingDepositResult = Booking & { deposit?: never } | Omit<Booking, "status"> & { deposit: BookingDeposit; status: "pending" }PaymentRefreshResult
Interface
Status-only response returned by ReservationsService.refreshPayment.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Current reservation lifecycle status. |
|
| No | Current payment state, or a non-mutating reconciliation outcome. |
PaymentRefreshStatus
TypeAlias
Reconciliation outcomes that do not replace the durable PaymentStatus.
type PaymentRefreshStatus = PaymentStatus | "ignored" | "mismatch"PaymentStatus
TypeAlias
Durable payment lifecycle states exposed to storefront consumers.
type PaymentStatus = "pending" | "processing" | "captured" | "failed" | "expired"ReservationOffering
Interface
A live reservation formula available for a bookable product. Returned by ReservationsService.offerings as a closed buyer-safe shape in the merchant's display order.
Property | Type | Optional | Description |
|---|---|---|---|
|
| No | Effective appointment duration in minutes after the server applies the offering, product, and resource fallback chain. |
|
| No | Opaque offering id (prefixed |
|
| No | Merchant-defined formula name shown to the buyer. Always non-empty and at most 255 characters. |
|
| No | Maximum party size for this offering, or |
|
| No | Minimum party size for this offering, or |
|
| No | Merchant-defined display position. Ascending, but not guaranteed to be contiguous. |
|
| No | Fixed total price in minor currency units, derived server-side when booked. May be |