Skip to main content

Endpoint

Authentication

None required (public endpoint).

Query parameters

agentId
string
required
The agent ID.
code
string
required
The booking confirmation code (e.g., BK-A1B2C3).

Response

success
boolean
booking
object
canCancel
boolean
Whether the booking can be cancelled.
cancelReason
string
If canCancel is false, the reason why (e.g., “Cancellation notice period has passed”).

Example

Response