Skip to main content
POST
Create PNR
Keep the same Idempotency-Key from Step 1, but modify the payload (e.g., change a passenger name). You should receive a 409 Conflict error, preventing you from accidentally re-using keys for different intents.

Request Setup

string
required
Generate a random string (e.g. idem-123).
string
required
Paste the token from Step 2.
string
default:"YOUR_AGENT_ID"
required
Your specific UAT Agent ID.
string
default:"idem-123"
array
required
object
required

Instructions

  1. Review the requirements and set up the request payload.
  2. Hit the Send button.
Requirement: Copy the booking_id. The booking must show a BOOKED status.

Authorizations

X-API-Key
string
header
required

Headers

Idempotency-Key
string

A unique string to identify this request. Retrying a request with the same key will return the cached response.

X-Request-ID
string

Unique correlation ID for tracing.

Body

application/json
fare_token
string
required

Token obtained from Fare Validation.

passengers
object[]
required
contact_info
object
required
agent_id
string
idempotency_key
string

Response

Booking created.

booking_id
string
pnr
string
status
enum<string>
Available options:
PENDING,
BOOKED,
TICKETED,
FAILED
total_price_paise
integer
currency
string