Skip to main content
POST
Change how a booking is paid for

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Path Parameters

id
integer
required

Body

application/json
entranceMethod
enum<string>
required
Available options:
membership,
direct_payment,
external_program
membershipId
integer

The pass to put it on. Required with membership.

externalProgramId
integer

The external program to put it on. Required with external_program.

settlementDestination
enum<string>

Where money already paid for the replaced charge goes. Defaults to wallet.

Available options:
wallet,
in_person

Response

The booking as it is now paid for

A booking created through the platform API. Recorded with a booking transaction so it counts for revenue, marked paid (settled against a payment method named after the caller's API key, so the club can reconcile what each partner collected) or unpaid (outstanding) per the caller. Collection stays with the caller; what it collected and what it gave back on cancellation are reported in payment.

bookingId
integer

1club booking id

bookingUuid
string<uuid>

Stable unguessable identifier. Prefer this over bookingId when storing a reference.

status
string

Booking status (e.g. confirmed, cancelled)

areaId
integer | null

Area id

classId
integer | null

The class occurrence this booking attends, when it is a class booking. Every attendee holds their own booking row against the same classId, and classes rows are per-occurrence - so this is what tells two classes running in the same hour apart. Join it against GET /v1/platform/classes, or read the staff roster with GET /v1/platform/classes/{id}/bookings.

eventId
integer | null

The event this booking attends, when it is an event booking. Read the attendee list with GET /v1/platform/events/{id}/bookings.

eventTicketId
integer | null

The event ticket the seat was sold on, when the event sells tickets

orderId
integer | null

The order the booking was sold on: one per sale, holding the customer's seat and any guests'. Every class enrolment and event registration made through this API has one; null for a booking sold on none (a court or coach booked through POST /v1/platform/bookings).

seatBookingIds
integer[]

Every seat the sale holds, the customer's own first. Only on the answer to a seat sale (POST /v1/platform/classes/{id}/bookings, POST /v1/platform/events/{id}/bookings); the guests' seats carry no contact, and the class's or the event's roster lists them all.

recurrenceId
integer

The series this booking opened. Only on the answer to POST /v1/platform/bookings with a recurrence.

occurrences
object[]

Every session the series booked, this one first, in date order. Only alongside recurrenceId. A date whose court or coach was taken or closed is skipped, so this is what was actually booked.

maxPlayers
integer | null

How many players the booking takes, the organizer included, when it differs from the area type's defaultMaxPlayers: 2 on a court booked for singles (area types with allowsSingles). null means the area type's own limit. Adding a player past it is refused.

instructorId
integer | null

Instructor leading the session, when one is attached

contactId
integer | null

Contact the booking is for

startTime
string<date-time>
endTime
string<date-time>
entranceMethod
enum<string> | null

How the booking is paid for: membership when a pass covers it, direct_payment, or external_program; null for a booking never routed. Change it with POST /v1/platform/bookings/{id}/entrance-method.

Available options:
membership,
direct_payment,
external_program,
null
membershipId
integer | null

The membership or pass the booking is on, when entranceMethod is membership.

externalProgramId
integer | null

The external program entitled to the booking, when entranceMethod is external_program.

customer
object | null

The booking's customer, identical to what GET /v1/platform/contacts/{id} returns. Present only when the request passes include=customer, which additionally requires the contacts:read scope; null when the booking has no contact. Use it to import a window of bookings without a contact lookup per row.

money
object

What the booking costs and how it was paid. Present only with include=money, which additionally requires the transactions:read scope. billed is always paid + outstanding, on the same basis as the admin's Booking audit: tax-inclusive, net of refunds, so a cancelled booking bills only the Cancellation Charge it kept.

cancellation
object

The cancellation terms stamped on the booking and how it was cancelled. Present only with include=cancellation.

payment
object
promotion
object | null

The promotion taken off the booking's price, on the answer to a create or an edit that applied one. A booking made over an OAuth connection (a staff member) gets the auto-apply discount its customer qualifies for - a standing rate for a tag, for example - as the admin calendar applies it; one made with an API key is priced by the caller. On an edit that named promotion, the discount the booking carries now (null once taken off).

clubId
integer | null
source
string | null

Channel that created the booking (api, admin, portal, app, kiosk, network, website, integration).

notes
string | null
createdAt
string<date-time>