Skip to main content
POST
Pay booking

Authorizations

x-api-key
string
header
required

Partner API key, sent in the x-api-key request header. Required for bookable offer search and all booking operations. To obtain a key, register as a PREXSELL partner in the backoffice (backoffice.prexsell.com, or staging.backoffice.prexsell.com for staging) and contact support if you need help.

Path Parameters

id
string
required

Booking identifier.

Example:

"bkg_1"

Body

application/json

Optional action body.

ticketIds
string[]

Optional subset of ticket IDs to act on. Must be a subset of the booking's current actor-owned tickets โ€” any unknown or foreign ID returns 404 (not 403). Defaults to ALL current partner-owned tickets in the booking. Takes precedence over the deprecated orderIds alias when both are supplied.

Minimum array length: 1

Ticket (order) identifier.

Example:
orderIds
string[]
deprecated

DEPRECATED โ€” use ticketIds. Optional subset of order IDs to act on. Must be a subset of the booking's current actor-owned orders โ€” any unknown or foreign ID returns 404 (not 403). Defaults to ALL current partner-owned orders in the booking (current-state, not creation-snapshot โ€” a booking's members change on peel-off).

Minimum array length: 1

Order identifier.

Example:

Response

Booking action result (post-write refresh).

data
object
required

Action result (refreshed booking state).