Live demo

Hotel API integration

Hotelston API integration for your hotel booking website

Connect your Hotelston account to PHPTRAVELS and sell Hotelston hotels next to your own contracts and other bed banks: live rates and availability, room mapping, a price check before payment, confirmation, vouchers and cancellations.

  • Live rates and availability
  • Hotel and room mapping
  • Your markup on every rate
  • One workflow for all stay suppliers

How it works

A pre-built Hotelston connector in the stays module

Hotelston is a B2B hotel supplier that gives travel companies hotel rates and availability through an API. PHPTRAVELS ships a ready Hotelston module for the stays category: it calls the Hotelston API with your own credentials and runs search, room mapping, price check, booking, voucher and cancellation in the same reservation workflow as your other stay suppliers. The written setup guide for this module is not yet published in the PHPTRAVELS docs, so ask our team when you are ready to configure it.

  1. Sign a partner agreement with Hotelston and get your API credentials
  2. Enable the Hotelston module and add the credentials in the admin
  3. Map Hotelston cities and hotels to your destinations and set markups
  4. Test search, price check, booking and cancellation before going live
  5. Switch the module to live and Hotelston rooms appear in your search
Environment
Sandbox
Endpoint
Hotelston hotel API
Credentials
Login: •••• · API key: ••••
Markup
12% on Hotelston rates
Default guest nationality
GB · USD

Booking flow

From Hotelston search to voucher and cancellation

The steps PHPTRAVELS runs for every Hotelston booking, the same way on your public site and in the agent portal.

  1. Search

    Hotelston availability by city, dates, occupancy and guest nationality, merged with your other hotels.

  2. Price check

    The chosen room is re-priced and its policy refreshed before checkout.

  3. Pay

    Guest details and payment, by card, wallet or offline method.

  4. Confirm

    The booking is sent to Hotelston and its reference is stored on the reservation.

  5. Voucher

    A voucher with the Hotelston reference and policy is emailed to the guest.

  6. Cancel or refund

    Cancellations follow the rate's policy, with refunds handled from the admin.

Inventory

Hotelston next to your other hotel sources

Hotelston is one supplier in the stays module, so its rooms sit in the same search as your contracts and other bed banks.

  • Hotelston hotels

    Hotel rooms from your Hotelston account, with their rates, board types and cancellation policies.

  • Other hotel APIs

    Hotelbeds, RateHawk, Stuba, Agoda and other stay suppliers, each with its own markup rules.

  • Your own contracts

    Hotels you contract directly, loaded in the admin or managed by partners in the extranet.

Hotel suppliers you can connect:

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

Back office

Run Hotelston sales from one admin

Margins, agents, payments and supplier records for Hotelston bookings, in the same dashboard as every other product.

  • Markups and commissions

    On Hotelston rates per city, hotel or channel, as fixed amounts or percentages.

  • B2B agents

    Agents book Hotelston hotels at their own rates and pay from credit or wallet.

  • Payments

    Card or offline payment, recorded against the booking and refunded on cancellation.

  • Supplier references

    Find any booking by its Hotelston reference and resend vouchers in one click.

  • Alerts

    Notifications for failed bookings, price changes at checkout and supplier errors.

  • Reports

    Hotelston bookings, margins and payables, ready to export.

Compare

Coding a Hotelston connector in-house vs PHPTRAVELS

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

AreaIn-house buildPHPTRAVELS
Booking flowIn-house buildSearch, price check, booking and cancellation calls written and tested by your developersPHPTRAVELSSearch, price check, confirmation, voucher and cancellation built into the stays module
Content mappingIn-house buildHotelston cities, hotels and rooms mapped by hand for the projectPHPTRAVELSCity and hotel mapping to your destinations in the admin
Timeouts and errorsIn-house buildDuplicate bookings possible unless retries are designed inPHPTRAVELSSafe retries and logged errors on every booking call
Website and agentsIn-house buildA booking site and agent portal still to buildPHPTRAVELSB2C website and B2B agent portal in the same installation
TestingIn-house buildSandbox test scripts written for each changePHPTRAVELSSandbox and live environments switched in the module settings
More suppliersIn-house buildEach new supplier is another projectPHPTRAVELSAdd other hotel, flight and car APIs from the same admin

Use cases

Who sells Hotelston with PHPTRAVELS

  • Online travel agencies

    Hotelston hotels on your own brand, beside your direct deals and other bed banks.

  • B2B agencies

    Sub-agents book Hotelston hotels at their own rates from the agent portal.

  • DMCs and tour operators

    Hotelston stays combined with tours, transfers and flights into packages.

Why PHPTRAVELS

Your Hotelston account, your platform, your code

  • Source code included

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

  • Your Hotelston credentials

    You hold the Hotelston agreement and the keys, stored in your own installation.

  • 24 languages

    Sell Hotelston stays in your markets' languages and currencies, including right-to-left.

  • B2C and B2B

    One installation for your public website and your agent portal.

FAQ

Hotelston API integration questions

What travel companies ask before connecting Hotelston.

Talk to sales

It connects your Hotelston account to the PHPTRAVELS stays module, so guests and agents search live Hotelston rates and availability, and PHPTRAVELS handles room mapping, the price check, booking, voucher and cancellation.

It is pre-built. Hotelston is a ready module in the stays category, so you enable it and add your credentials rather than commissioning development. Its written setup guide is not yet published in the docs, so ask our team for the configuration steps.

Yes. You sign a partner agreement with Hotelston and receive your own API credentials. Hotelston decides which hotels, rates and booking access your account gets.

Hotelston cities and hotels are mapped to your destinations in the admin, so Hotelston rooms show in the same search results as your other bed banks and your own contracted hotels.

Yes. Hotelston runs next to Hotelbeds, RateHawk, Stuba, Agoda and your own contracted hotels, each with its own markup rules, in one search.

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