Skip to main content
POST
/
v1
/
exchange_status
Check the status of an exchange
curl --request POST \
  --url https://api.example.com/v1/exchange_status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "booking_ref": "JNK-A0AUR2",
  "last_name": "Carrard"
}
'
{
  "status": "exchanged",
  "new_ticket_numbers": [
    "0012345678901"
  ],
  "confirmed_payment_outcome": "paid",
  "warnings": [
    "<string>"
  ]
}
Poll for terminal state of a previously committed exchange.

Authorizations

X-API-Key
string
header
required

Body

application/json
booking_ref
string
required
Example:

"JNK-A0AUR2"

last_name
string
required
Example:

"Carrard"

ticket_numbers
string[]
provider
string

Response

Check the status of an exchange

status
string
Example:

"exchanged"

new_ticket_numbers
string[]
Example:
["0012345678901"]
confirmed_payment_outcome
string
Example:

"paid"

warnings
string[]