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.
- Sign a partner agreement with Hotelston and get your API credentials
- Enable the Hotelston module and add the credentials in the admin
- Map Hotelston cities and hotels to your destinations and set markups
- Test search, price check, booking and cancellation before going live
- 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
Search and booking
Hotelston rooms with prices, policies and status on every result
Each Hotelston result carries the room, board and cancellation details guests compare, and the status your booking flow needs.
- 4★Gothic Quarter HotelDouble room · Breakfast included–per stay
- 4★Eixample Boutique SuitesJunior suite · Room only–per stay
- 3★Barceloneta Beach HotelSea-view double · Half board–per stay
Hotel and room mapping
Hotelston cities, hotels and room types mapped to your destinations, so one search returns Hotelston rooms next to your own hotels.
Price check before payment
The selected room is re-priced with Hotelston before the guest pays, so the charged amount matches the confirmed rate.
Cancellation policies
Refundable windows, fees and non-refundable rates shown before booking and printed on the voucher.
Timeouts and retries
Booking calls are retried safely, so a slow response does not create a second reservation.
Supplier logs
Hotelston requests, responses and errors logged in the admin for support and audits.
Multi-currency display
Hotelston rates shown in your guests' currencies with your exchange and rounding rules.
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.
Search
Hotelston availability by city, dates, occupancy and guest nationality, merged with your other hotels.
Price check
The chosen room is re-priced and its policy refreshed before checkout.
Pay
Guest details and payment, by card, wallet or offline method.
Confirm
The booking is sent to Hotelston and its reference is stored on the reservation.
Voucher
A voucher with the Hotelston reference and policy is emailed to the guest.
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
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.
| Area | In-house build | PHPTRAVELS |
|---|---|---|
| Booking flow | In-house buildSearch, price check, booking and cancellation calls written and tested by your developers | PHPTRAVELSSearch, price check, confirmation, voucher and cancellation built into the stays module |
| Content mapping | In-house buildHotelston cities, hotels and rooms mapped by hand for the project | PHPTRAVELSCity and hotel mapping to your destinations in the admin |
| Timeouts and errors | In-house buildDuplicate bookings possible unless retries are designed in | PHPTRAVELSSafe retries and logged errors on every booking call |
| Website and agents | In-house buildA booking site and agent portal still to build | PHPTRAVELSB2C website and B2B agent portal in the same installation |
| Testing | In-house buildSandbox test scripts written for each change | PHPTRAVELSSandbox and live environments switched in the module settings |
| More suppliers | In-house buildEach new supplier is another project | PHPTRAVELSAdd 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 salesIt 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.
Keep exploring
More from the platform
- Hotels APIBedbank, OTA, GDS and direct hotel APIs explained
- Agoda API integrationAgoda hotels and homes in your booking engine
- Hotelbeds API integrationContent and Booking APIs, rate checks and hotel mapping
- Go Global Travel integrationGo Global hotels, transfers and cars in your engine
- StaysBedbanks and direct contracts
- All integrationsThe live, complete list
