Live demo

Hotel API integration

TBO API integration for hotel booking websites

Connect your TBO Holidays account to PHPTRAVELS and sell TBO hotels on your website and agent portal: live rates by guest nationality, multi-room search, hotel mapping, a price check before payment, vouchers and cancellations, next to your own contracts.

  • Live TBO hotel rates
  • Multi-room and child ages
  • Your markup on every room
  • TBO flights in a separate module

How it works

A ready TBO Holidays connector in the stays module

TBO Holidays is a B2B travel supplier whose API gives travel companies hotel, flight and holiday inventory. PHPTRAVELS ships a TBO module for the stays category that calls the TBO hotel API with your own credentials and runs search, price check, booking, voucher and cancellation inside the same reservation workflow as your other hotel suppliers. TBO air fares come through a separate TBO flights module, so you can switch on hotels, flights or both.

  1. Open a TBO Holidays account and request API access for hotels
  2. Enable the TBO module in the stays category and add your credentials
  3. Map TBO cities and hotels to your destinations and set markups
  4. Run test bookings and cancellations in the TBO test environment
  5. Switch to live and TBO hotels appear in your search results
Environment
Test
Endpoint
TBO Holidays hotel API
Credentials
Username: •••• · Password: ••••
Markup
10% on TBO hotel rates
Default nationality and currency
AE · USD

Booking flow

From TBO hotel search to voucher and cancellation

What PHPTRAVELS does for every TBO hotel booking, on your public website and in the B2B agent portal alike.

  1. Search

    TBO availability by city, dates, rooms, child ages and guest nationality, merged with your other hotels.

  2. Price check

    The selected room is re-priced and its cancellation terms refreshed before checkout.

  3. Pay

    Lead guest details and payment by card, agent wallet or an offline method.

  4. Book

    The reservation is sent to TBO and the TBO booking reference is saved on it.

  5. Voucher

    A voucher with the TBO reference, board and policy is emailed to the guest or agent.

  6. Cancel or refund

    Cancellations are sent to TBO and charged by the rate's policy, with refunds from the admin.

Inventory

TBO next to your other hotel sources

TBO is one supplier in the stays module, and its air fares run in their own flights module, so one platform can sell both.

  • TBO hotels

    Rooms from your TBO Holidays account, with board types, cancellation terms and hotel notes.

  • TBO flights

    A separate TBO flights module adds air fares from the same supplier, for agencies that sell both.

  • Other bed banks and contracts

    Hotelbeds, RateHawk, Hotelston, Agoda and your directly contracted hotels in the same search.

Hotel suppliers you can connect:

  • Agoda
  • Amadeus
  • Booking.com
  • Hotelbeds
  • Hotelston
  • RateHawk
  • Stuba
  • TBO Holidays
  • Travelport
  • Wanderbeds
See every hotel integration

Back office

Manage TBO hotel sales from one admin

Markups, agents, payments and supplier records for TBO bookings, in the same dashboard as your other products.

  • Markups and commissions

    Set margins on TBO rates by city, hotel, star rating or sales channel, fixed or in percent.

  • B2B agents

    Sub-agents book TBO hotels at their own price levels and pay from credit limits or wallets.

  • Payments and refunds

    Card or offline payments recorded on the booking and refunded when a TBO room is cancelled.

  • Booking references

    Find any reservation by its TBO reference and resend the voucher in one click.

  • Alerts

    Notifications for failed bookings, price changes at checkout and TBO error responses.

  • Reports

    TBO bookings, margins and amounts payable to the supplier, ready to export.

Compare

Building a TBO hotel connector in-house vs PHPTRAVELS

Some teams start by coding the TBO hotel API calls themselves. This is typically what that involves, next to the ready module.

AreaIn-house buildPHPTRAVELS
Booking flowIn-house buildSearch, price check, book and cancel calls written and tested by your developersPHPTRAVELSSearch, price check, booking, voucher and cancellation built into the stays module
Rooms and occupancyIn-house buildMulti-room requests and child ages handled in your own codePHPTRAVELSMulti-room search with child ages in the booking form
Hotel mappingIn-house buildTBO hotel codes matched to your content by handPHPTRAVELSCity and hotel mapping to your destinations in the admin
Website and agentsIn-house buildA booking website and agent portal still to buildPHPTRAVELSB2C website and B2B agent portal in the same installation
TBO flightsIn-house buildA second integration project for air faresPHPTRAVELSA separate TBO flights module enabled from the same admin

Use cases

Who sells TBO hotels with PHPTRAVELS

  • Online travel agencies

    TBO hotels under your own brand, beside your direct contracts and other bed banks.

  • B2B agencies

    Sub-agents search and book TBO hotels at their own rates from the agent portal.

  • Tour operators and DMCs

    TBO hotels combined with flights, tours and transfers into packages.

Why PHPTRAVELS

Your TBO account, your platform, your code

  • Source code included

    Self-hosted under a commercial licence, so your developers can extend the TBO flow.

  • Your TBO credentials

    You hold the TBO Holidays agreement, and the keys stay in your own installation.

  • 24 languages

    Sell TBO hotels in your markets' languages and currencies, including right-to-left.

  • B2C and B2B

    One installation for your public website and your agent portal.

FAQ

TBO API integration questions

What travel companies ask before connecting TBO Holidays hotels.

Talk to sales

It connects your TBO Holidays account to the PHPTRAVELS stays module. Guests and agents search live TBO hotel rates and availability, and PHPTRAVELS handles hotel mapping, the price check, booking, voucher and cancellation.

It is pre-built. TBO Holidays is a ready supplier module in the stays category, so you enable it and add your credentials rather than commissioning development. Ask our team for the configuration steps when you are ready.

Yes. You sign up with TBO Holidays and receive your own API credentials. TBO decides which hotels, rates and booking access your account gets.

Yes. TBO air fares run through a separate TBO flights module in the flights category. You can enable hotels, flights or both, each with its own markups.

Yes. TBO runs next to Hotelbeds, RateHawk, Hotelston, Agoda and your own contracted hotels in one search, with markup rules per supplier.

It depends on your plan and the suppliers and payment options you enable. Plans start with Startup as a one-time licence; see the pricing page or ask sales for a quote.