Skip to main content
POST
Commit a flight exchange
Execute a previously priced exchange. Poll exchange status for terminal state.

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_ref
string
required
Example:

"JNK-A0AUR2"

last_name
string
required
Example:

"Carrard"

offer_id
string
required
session_reference
string
required
ticket_numbers
string[]
provider
string
intent
object

Response

Commit a flight exchange

exchange_reference
string
Example:

"exch_7a1c93f0"

new_order_id
string
Example:

"ord_5d2e81b9"

new_ticket_numbers
string[]
Example:
status
string
Example:

"exchanged"

payment_outcome
string
Example:

"paid"

warnings
string[]