This guide is for partners integrating with the GO7 NDC Gateway using IATA NDC 21.3 and GO7 Gateway. It answers two questions:
Everything the NDC API supports is presented here as one set: shopping, ordering, payment, servicing and ancillaries, in the order you would use them.
| Document | Use it for |
|---|---|
| This page | The index. Start here. |
| Capabilities | One page per capability: what it does, what it needs, what you get back. |
| Worked Examples | One page per end-to-end flow, message by message. |
| NDC API Generic Integration Guide | Base URLs, HTTP headers, code lists, error codes, XML schema, Postman downloads. |
| Per-message references | Full request and response XML, field by field, for every message. |
Capabilities describe what you can do. Worked examples show how, as a numbered sequence of messages. Every worked example links back to the per-message reference for the complete payload, so this page stays readable and never duplicates the XML.
Obtain your assigned NDC Gateway base URL and API key from GO7 for the environment you are using. All messages are XML and use the path {NDC_GATEWAY_BASE_URL}/v21.3.5/{MessageName} — for example POST {NDC_GATEWAY_BASE_URL}/v21.3.5/AirShopping. Replace the placeholders with your assigned base URL and message name.
| Header | Purpose |
|---|---|
x-api-key |
Your partner API key (required) |
Content-Type |
application/xml |
curl -X POST "{NDC_GATEWAY_BASE_URL}/v21.3.5/{MessageName}" \
-H "x-api-key: {x-api-key}" \
-H "Content-Type: application/xml" \
--data-binary @request.xml
NDC API → HTTP headers and authentication is the authoritative version of this table.
How your API key works. One key represents your partnership, not a single airline. The platform resolves which airlines to search from your active agreements, so you do not put an airline on the request.
Name yourself in every request. Every NDC message must carry your Partner ID in DistributionChain, as ParticipatingOrg/OrgID. Use OrgRole Seller for a Sales agreement and Distributor for a Network agreement (either if you have both). This only identifies you: your agreements always come from your API key, never from the request. Details and errors: NDC API → Partner identification (DistributionChain).
Try it in Postman. Download the Postman collection and environment, then set x-api-key and ndc-gateway-url to the values assigned by GO7. The environment file defaults to a development URL; replace it if your assigned URL differs. Each worked example below names the UseCase/… folder that runs it. The collection also carries extra request variants kept for experimentation; the sequences documented in this guide are the supported ones. For a Virtual Interline sale use the UseCase - VI folder with the NDC-VI environment and your VI API key; its folder description says which use cases are available on VI and which are not.
Each capability has its own page, written in the same shape: definition, preconditions, process, post condition, the messages involved, and where it is available.
| Capability | NDC messages | Worked example |
|---|---|---|
| Get airline profile | AirlineProfile |
— (single message) |
| Shop for flights | AirShopping |
WE-1 |
| Price an offer | OfferPrice |
WE-1 |
| Shop for ancillary services | ServiceList |
WE-8, WE-10 |
| Shop for seats | SeatAvailability |
WE-8, WE-9 |
| Create an order without payment | OrderCreate |
WE-1 |
| Create an order with payment | OrderCreate |
WE-2 · payment types |
| Pay an on-hold order | OrderQuote, OrderChange |
WE-1 · payment types |
| Add seats or services to an existing order | SeatAvailability / ServiceList, OrderQuote, OrderChange |
WE-9, WE-10 |
| Retrieve an order | OrderRetrieve |
WE-3 |
| Rebook an order | OrderReshop, OrderQuote, OrderChange |
WE-4 |
| Change a passenger name | OrderReshop, OrderChange |
WE-5 |
| Cancel a whole booking | OrderReshop, OrderChange |
WE-6 |
| Cancel a segment | OrderReshop, OrderChange |
WE-7 |
Each example is a complete flow, step by step. The Send, Get back and Carry forward columns tell you which identifier from one response is required by the next request. Message names link to the full request and response XML.
sequenceDiagram
autonumber
participant Customer as End Customer
participant Application as Partner Application
participant GW as Go7 NDC Gateway
Note over Customer, GW: Create on-hold booking
Customer->>+Application: Select itinerary and passengers
Application->>+GW: AirShopping
GW-->>-Application: AirShoppingRS
Application->>+GW: OfferPrice
GW-->>-Application: OfferPriceRS
Application->>+GW: OrderCreate (no payment)
GW-->>-Application: OrderViewRS (held)
Application-->>-Customer: Show held booking
Note over Customer, GW: Confirm on-hold booking
Customer->>+Application: Pay and confirm
Application->>+GW: OrderRetrieve
GW-->>-Application: Current order and PaxIDs
Application->>+GW: OrderQuote
GW-->>-Application: Quoted amount
Application->>+GW: OrderChange (accept quote, pay)
GW-->>-Application: OrderViewRS (confirmed)
Application-->>-Customer: Confirmed order
Note over Customer, GW: Create paid booking
Application->>+GW: AirShopping, OfferPrice
Application->>+GW: OrderCreate with PaymentFunctions
GW-->>-Application: OrderViewRS (paid)
Note over Customer, GW: Rebook
Application->>+GW: OrderRetrieve, OrderReshop (rebook)
Application->>+GW: OrderQuote, OrderChange
GW-->>-Application: OrderViewRS
Note over Customer, GW: Change a passenger name
Application->>+GW: OrderRetrieve, OrderReshop (UpdatePaxName)
Note right of GW: no OrderQuote in this flow
Application->>+GW: OrderChange (accept and pay)
GW-->>-Application: OrderViewRS
Note over Customer, GW: Cancel
Application->>+GW: OrderRetrieve, OrderReshop (cancel)
Note right of GW: no OrderQuote in this flow
Application->>+GW: OrderChange
GW-->>-Application: OrderViewRS
Note over Customer, GW: Add a seat or service to an existing order
Application->>+GW: OrderRetrieve, SeatAvailability or ServiceList
Application->>+GW: OrderQuote, OrderChange
GW-->>-Application: OrderViewRS
Each worked example has its own page, with a step table giving what you send, what you get back, and which identifier to carry into the next message.
| Worked example | Sequence |
|---|---|
| WE-1 Create and confirm an on-hold booking | AirShopping → OfferPrice → OrderCreate (no payment) → OrderRetrieve → OrderQuote → OrderChange → OrderRetrieve |
| WE-2 Create a paid booking | AirShopping → OfferPrice → OrderCreate (with payment) → OrderRetrieve |
| WE-3 Retrieve a booking | OrderRetrieve |
| WE-4 Rebook | OrderRetrieve → OrderReshop → OrderQuote → OrderChange → OrderRetrieve |
| WE-5 Change a passenger name | OrderRetrieve → OrderReshop → OrderChange (with payment) → OrderRetrieve |
| WE-6 Cancel a whole booking | OrderRetrieve → OrderReshop → OrderChange → OrderRetrieve |
| WE-7 Cancel a segment | OrderRetrieve → OrderReshop → OrderChange → OrderRetrieve |
| WE-8 Add a seat or service before payment by offer | AirShopping → SeatAvailability and/or ServiceList → OfferPrice → OrderCreate (with payment) |
| WE-9 Add a seat to an existing order by order | create the order, then SeatAvailability (order context) → OrderQuote → OrderChange → OrderRetrieve |
| WE-10 Add a service to an existing order by order | create the order, then ServiceList (order context) → OrderQuote → OrderChange → OrderRetrieve |
Payment is sent in PaymentFunctions — on OrderCreate to pay at booking (WE-2), or on OrderChange to pay an on-hold order or settle a fee after a change (WE-1, WE-5). Omit PaymentFunctions to hold the booking and pay later — unless the total due is zero, which is paid automatically (see Zero-amount orders (Autopayment)).
| Payment type | PaymentTypeCode |
Send to | Reference |
|---|---|---|---|
| Debit/credit account | OT (OfflinePayment) |
NDC Gateway | Order Create → instant pay, Order Change → debit/credit account |
| Credit card, online with 3DS | PaymentCard |
PCI Proxy (Filter Push URL) | Order Change → credit card (PCI Proxy) |
Debit/credit account. Put the account reference in PaymentMethodCriteria/PaymentCriteriaAddlInfo/PaymentOtherMethodAddlInfo/Remark/RemarkText, and send OT on both PaymentMethodCriteria and PaymentProcessingDetails. The value must be labelled ACCOUNT_REF:<value>: AeroCRS takes the agency ID (ACCOUNT_REF:71138; ACCOUNT_REF:71138-EUR selects the EUR sub-account), SMS takes the deposit account name (ACCOUNT_REF:<deposit account name>). The prefix is required and matched ignoring letter case; whitespace around the value is trimmed. A bare value without the prefix is rejected with an NDC error. If there are several Remark elements, the first one carrying the prefix is used and the others are treated as free text. On an AeroCRS airline the account is your agency’s deposit: the account reference is ACCOUNT_REF: plus the AeroCRS agency ID, and the order must be created with SalesAgentID — see Deposit payment on AeroCRS airlines.
Credit card. Post the OrderChange to the PCI Filter Push URL, not to the NDC Gateway; PCI tokenizes CardNumber, CardSecurityCode and ExpirationDate and forwards the request. A successful 3DS authenticate result is required: include PaymentCard/SecurePaymentVersion2 and PaymentRefID (the PCI transactionId from 3DS init). Requests without it are not supported.
Name-change fees. In WE-5 the fee is paid with PaymentFunctions on the same OrderChange that accepts the name-change offer — there is no separate payment call. Name change is available on SMS only.
Accepted types depend on the airline. Which payment types a tenant accepts is set in airline configuration — confirm with the airline before going live. See Availability by PSS for what is verified on each system.
When the amount due is zero, the NDC Gateway pays it for you with Autopayment. You do not send PaymentFunctions, nothing is charged, and the order comes back confirmed. This works on both PSS.
Adding a zero-price seat or SSR to an existing order. This is the most common case: a free seat or a free service (SSR) added by order.
OrderRetrieve — read the current PaxID values.ServiceList or SeatAvailability with OrderRequest — the seat or service is offered at 0.OrderQuote — the quoted amount due is 0.OrderChange accepting the quoted offer, without PaymentFunctions. The gateway autopays the 0 amount, and the seat or SSR is confirmed and issued. OrderChangeRS returns the updated order with nothing left to pay.Do not skip OrderQuote or OrderChange because the price is zero. Only the payment step goes away.
| Situation (amount due = 0) | Before | Now |
|---|---|---|
Add a free seat or SSR by order, OrderChange without PaymentFunctions |
The seat or SSR stayed unpaid and expired | Autopaid; the seat or SSR is confirmed |
OrderCreate without PaymentFunctions |
Order held as DRAFT |
Autopaid; the order returns OPEN and ticketed |
| Pay an on-hold order whose balance is 0 | A zero-amount payment was required | OrderChange without PaymentFunctions is enough |
PaymentFunctions sent anyway (any method) |
A zero-amount payment was required | Ignored; no card or account is charged |
What counts as zero. It is the final amount due for that request, including taxes, fees and penalties. A seat or service shown as “free” does not qualify if another amount on the same order is still to be paid; that amount follows the normal payment types.
Each AirShopping offer can carry a link that opens a booking site with the searched journey and passengers already filled in. It is returned on the offer as RichMedia with DescText DEEPLINK. Without any setup, the link points to the airline’s booking site, using the airline’s default template. To send travellers to your own site instead, GO7 sets a deeplink template on your agreement.
How to set it up. Send GO7 the following for each agreement that should use your link:
| What | Example |
|---|---|
| The agreement (your Partner ID and the airline) | Partner ID 3f2a…, airline DX |
| Your URL template, built from the template variables | http://www.airlineibe.com/{LANG}/flight-results/{DST1}-{DST2}/{OUTBOUND_DATE}/{INBOUND_DATE}/{ADLT}/{CHLD}/{INF}/{CURR} |
GO7 enables deeplink on the agreement and stores the template: as the redirect URL override on a Sales agreement, or as the default redirect URL on a Network agreement. You do not send anything new in AirShopping; the change shows up in the next search.
When your template is used. When the offer’s flights belong to that one agreement, or when the offer names no agreement and that is your only active agreement with the offer’s airline (found from your Partner ID). Deeplink must be enabled on the agreement and the template set. Otherwise the offer falls back to the airline’s template, including an offer that combines flights from more than one agreement. If neither template exists, the offer has no RichMedia.
Check it. Run an AirShopping with your partner key and confirm each offer’s RichMedia/ResourceURI starts with your URL and has every variable filled in. A {NAME} left in the link means the variable name is misspelled or not supported. Names are case-sensitive.
Template variables, rules and a worked example: Air Shopping → Booking deeplink.
| Rule | Why it matters |
|---|---|
Your Partner ID must appear in DistributionChain on every message, with the OrgRole your agreement allows (details). |
Otherwise every message returns HTTP 400 with error 12. |
PayloadAttributes is required on every message, and so is a CorrelationID inside it — a fresh UUID per request, one TrxID for the whole flow, VersionNumber 21.3, and keep the children in schema order (details). |
The CorrelationID is the only thing that ties a response, and a gateway log line, back to the request you sent; it comes back as Error/ErrorID when a request fails, so support can find your call. The gateway does not reject a request without it today, but a problem you cannot point to a correlation ID for cannot be investigated. |
Refresh passenger and item references after OrderChange. Before a later request reuses PaxID or related item references, call OrderRetrieve and read the current values. |
These identifiers may change when an order is modified. A payment-only follow-up that uses the latest OrderViewRS, OrderID and PaymentFunctions does not reuse PaxID. |
Insert OrderRetrieve between changes that reuse passenger or item references. For example add a service, retrieve, then start another servicing flow. |
Reusing identifiers from an earlier OrderCreateRS or OrderChangeRS can make the next request fail or target the wrong item. |
OrderQuote is part of the flows that use it — it is not an optional extra step. Rebooking and adding ancillaries by order require it. Name change and cancellation — whole booking or segment — do not use it at all. |
Sending an OrderQuote a flow does not use, or skipping one it requires, makes the flow fail. |
PrefLevel/PrefLevelCode is mandatory when you send CabinType. |
Omitting it returns error 13. Required keeps only matching cabins; Preferred does not drop other cabins. An invalid cabin code returns error 14. |
A seat can carry several OfferItemRefID values. |
Pick the one matching the passenger you are seating. |
| The by-offer ancillary path is instant pay. | To hold a booking and add extras later, create the order without payment and use the by-order path. |
Cabin codes, passenger type codes, document types and the full error code list are in NDC API → Code Lists.
The NDC API is the same for every airline, but the passenger service system behind it is not. This table shows where each capability is available today.
| Status | Meaning |
|---|---|
| Available | The end-to-end NDC flow works. |
| Not available yet | The complete NDC flow is not exposed on that system. |
| Capability | NDC messages | SMS | AeroCRS | What this means for you |
|---|---|---|---|---|
| Shop for flights and price an offer | AirShopping, OfferPrice |
Available | Available | No difference in how you shop or price. |
| Shop for ancillary services | ServiceList, OfferPrice, OrderCreate or OrderQuote / OrderChange |
Available | Available | Paid and zero-price services both work; zero-price ones are autopaid. |
| Shop for seats by offer | SeatAvailability, OfferPrice, OrderCreate |
Available | Available | Seat maps and seat prices are returned on both. |
| Add a seat to a held order by order | SeatAvailability, OrderQuote, OrderChange |
Available | Available | Same sequence on both. |
| Create an order without payment | OrderCreate |
Available | Available | Holding a booking works on both. A zero-total order is autopaid and returned confirmed instead of held. |
| Create an order with payment | OrderCreate |
Available | Available | Zero-amount orders need no PaymentFunctions (Autopayment). |
| Pay an on-hold order | OrderQuote, OrderChange |
Available | Available | Confirm available payment types with the airline. |
Pay from an account (OT), at booking or on hold |
OrderCreate or OrderChange |
Available | Available | On AeroCRS the account is your agency’s deposit. Create the order with SalesAgentID, even when you pay later, and ask the airline to enable deposit payment for you. |
| Retrieve an order | OrderRetrieve |
Available | Available | Ticket numbers synchronise on both. |
| Rebook an order | OrderReshop, OrderQuote, OrderChange |
Available | Available | Same sequence on both. |
| Cancel a whole booking | OrderReshop, OrderChange |
Available | Available | Cancel the entire order through the NDC API, subject to fare conditions. |
| Cancel a segment | OrderReshop, OrderChange |
Available | Not available yet | On AeroCRS, handle segment cancellation outside the NDC API for now. |
| Change a passenger name | OrderReshop, OrderChange |
Available | Not available yet | Available on SMS. On AeroCRS, handle name changes outside the NDC API for now. The name-change offer path is not yet exposed on that system. |
Payment note. Zero-amount Autopayment works on both systems; confirm available payment types with the airline. Reusing a payment you captured in your own payment service provider is available on SMS only.
Your NDC payload does not change per PSS. Requests stay system-neutral — differences are absorbed by platform mapping and tenant configuration, not by your integration. Routes, record locators, offer identifiers, prices and ticket numbers will differ between airlines. That is expected and is not a failure.
| Topic | Where |
|---|---|
| Base URLs, HTTP headers, authentication | NDC API → Introduction |
PayloadAttributes fields and element order |
NDC API → Message attributes |
| Passenger type, cabin and document codes | NDC API → Code Lists |
| Error codes | NDC API → Error Code |
| Payment types and PCI Proxy card payment | Order Change → payment |
| Booking deeplink template variables | Air Shopping → Booking deeplink |
| IATA schema distribution 21.3 and GO7 gateway package v21.3.5 | Download |
AirlineProfile schemas (not in the package above) |
IATA_AirlineProfileRQ.xsd · IATA_AirlineProfileRS.xsd |
| Postman collection | Collection · Environment · VI environment (folder UseCase - VI) |