curl --request POST \
--url https://api.travomatrix.com/api/v1/flight/booking/create \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fare_token": "VALID_TOKEN_123",
"agent_id": "AGENT_456",
"idempotency_key": "IDEM_REQ_001",
"passengers": [
{
"id": "ADT1",
"type": "ADT",
"title": "MR",
"first_name": "JOHN",
"last_name": "DOE",
"gender": "M",
"dob": "1990-05-15",
"nationality": "IN"
}
],
"contact_info": {
"email": "john.doe@example.com",
"phone": "+919876543210"
}
}
'