Air

Creates a new air booking with the given itinerary

post/v2/air/create-pnr

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Request body

bookingIdstring

The booking ID for which the PNR is being created. This is returned in the revalidate itinerary API response.

initiateBookingIdstring

Initiate booking id is returned in response to air-initiate-booking API call. This id is required if in case the booking id is not available due to third-party redirection.

isPreAuthApprovalRequiredboolean

Flag to check if the pre-authorization approval is enabled.

isTmcMoRForPaymentboolean

Flag to check if the tmc is the merchant of record for payment (MoR).

ccPostVerificationUrlstring

The URL the user will be directed to after credit card verification.

pnrIdstring

Existing PNR ID, used in pre-approval flow.

Response

OK

pnrIdstring

Spotnana PNR ID.

sourcePnrIdstring

Source PNR ID

pnrStatus'SUCCESS' | 'APPROVAL_PENDING' | 'CC_VERIFICATION_REQUIRED' | 'PAYMENT_PENDING' | 'CONFIRMATION_PENDING' | 'ERROR'

PNR status (for example success, approval pending)

ccVerificationUrlstring

If non-empty, the user must be redirected to this URL for credit card verification.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property ////