Skip to main content

Overview

This guide explains which APIs you and ONDA call and what you need to do for each channel type.

Endpoints at a glance

38 HUB APIs + 5 vendor APIs (webhooks) = 43 in total

HUB API conventions: POST to create, PATCH to update, GET to read, with 200 OK on success.

Vendor APIs use different methods depending on the action: PUT for booking confirmation and modification, POST for creation and cancellation, and GET for the policy lookup.

Direction and roles (read this first)​

The vendor calls the HUB API. The vendor also implements the webhook endpoints that ONDA calls.

APIDirectionWhat the vendor implements
HUB APIVendor → ONDAClient — calls /gds/vendor/... (content push, ARI push, channels, booking and settlement lookups)
Vendor API (webhooks)ONDA → VendorServer — exposes endpoints ONDA calls (booking processing, policy lookup)

Channel types — Plus and direct​

Sales channels are either Plus channels (channel_type=hub) or direct channels (channel_type=cms), depending on who operates them. The channel type determines how you open the channel and handle bookings.

Plus channelDirect channel
channel_typehubcms
In one lineOne contract with ONDA sells across every channel connected to ONDAThe property contracts with the OTA directly and runs the channel itself
Registration, operation, settlementHandled by ONDAHandled by the property

Who handles each step?​

StepPlus channelDirect channel
Rate and availability syncONDAONDA
Channel contractONDAThe property
Listing and content distributionONDAThe property
Settlement and accountingONDAThe property
Booking confirmationONDA validates, then confirmsCreated immediately, without validation

ONDA synchronizes rates and availability for both channel types. Vendors send content and ARI the same way for either type.

For Plus channels, ONDA handles contracts, listing, and settlement.

For direct channels, ONDA synchronizes rates and availability. The property handles contracts, listing, and settlement directly with the channel.

What differs in the API?​

AspectPlus channelDirect channel
Channel openingJust submit a request — Plus Channel OpeningRequires pre-mapping steps, channel settings, and mapping — Direct Legacy Channel Opening
Mapping APINot used (ONDA manages it)PATCH .../mappings required
Per-channel settingsNot usedPATCH .../settings
Booking validationONDA and the vendor each validateNone — accepted unconditionally
Booking modification (modify)Soft changes onlyBoth soft and hard changes
Product typeovernightovernight (channels that support day-use also send dayuse)
Channel type is per channel

A property can use both Plus and direct channels. Check channel_type in the GET /gds/vendor/channels response.

For an explanation from the property operator's point of view, see Introducing the ONDA Plus channel manager.

Integration lifecycle​

Preparation checklist​

  • Settle the base URL for HUB API calls and separate staging from production
  • Provide the receiving endpoints and base URL for the vendor API (webhooks)
  • Authentication: send the vendor access token in the Authorization header on HUB API calls
  • Authentication: implement token and signature verification for incoming ONDA requests to the vendor API
  • Fetch the code catalog and build the code mapping table into your system

Pre-launch integration testing​

  • First-sync end to end: create property → room type → rate plan model → rate plan, then push rates, business days, and availability, and confirm they reach the channel
  • Full flow on a Plus channel: opening → booking → confirmation → cancellation
  • Flow on a direct channel (legacy and OAuth): mapping → ON request → booking
  • Token expiry and renewal, plus error handling for 4xx and 5xx responses
  • Idempotency and retry policy (no duplicate bookings or duplicate cancellations)
  • Sign-off to move to production after staging verification

Operational and business decisions​

Confirm the following items with ONDA before going live. Items marked 📘 link to a guide.

AreaItemWhat to confirm
Content and languageMultilingual contentWhether languages other than Korean are used, and how to send them
Content and languageSpecial characters in property name and descriptionStrip characters that cannot be displayed
Content and languageSpecial characters in room name and descriptionStrip characters that cannot be displayed
Scope and productsProperty scopeSelling overseas properties, or domestic only
Scope and productsProduct structureSelling by room, or by package (rate plan) per room
Rates and availabilityExtra occupancy chargesWhether extra occupancy charges can be sent
Rates and availabilityPush horizonHow many months of rates and availability can be sent
Booking structureBooking number structure 📘One gds_booking_number to many gds_sub_booking_number. Vendor bookings are created against gds_sub_booking_number
Booking structurePlus channel booking validationChecks for availability, matching rates, active sales status, and so on
CancellationPer-date refund policy 📘Whether policies differ by date (Refund Policy)
VouchersBooking vouchersThe vendor sends confirmation and cancellation vouchers to the property directly

Booking number structure​

FieldDescription
gds_booking_numberONDA Hub booking number
gds_sub_booking_numberONDA Hub sub-booking number. Vendor bookings are created against this value
channel_booking_numberSales channel booking number. The key is omitted entirely when the sales channel does not supply its own booking number, so do not treat it as always present

A gds_booking_number can have multiple gds_sub_booking_number values. Each gds_sub_booking_number corresponds to one vendor booking_number.