Stuba
Stuba API Integration Tutorial | Connect Hotel API to PHP Website
Last updated
Was this helpful?
Stuba API Integration Tutorial | Connect Hotel API to PHP Website
Last updated
Was this helpful?
Stuba is a global B2B accommodation supplier that connects travel platforms to a wide network of hotels. With over 116,000 properties in 190+ countries, it offers real-time pricing, availability, hotel content, and booking services via API.
PHPTRAVELS supports native integration with Stuba, allowing you to fetch and sell live hotel inventory from their system directly through your website.
Follow these steps to enable Stuba as a hotel supplier in your PHPTRAVELS portal:
Visit: yourdomain.com/admin
Use your admin credentials to log in.
Go to: Modules ➝ Stuba➝ Settings
Paste your credentials as below mention
C1 ➝ ORG
C2 ➝ User
C3 ➝ Password
Find Stuba in the list
Click on the “Settings” or “Status” button
Toggle the switch to Enable
📌 Note: Make sure you’re using either test credentials (development) or live credentials based on your environment.
You can configure pricing markup specific to Stuba in the same markups area.
Choose:
b2b or b2c value (e.g., +15%)
From modules select stuba
Once Stuba is enabled, the system will automatically pull live hotel data when users search.
You don’t need to manually import hotels.
Filters like city, country, check-in/out, room occupancy will be handled automatically.
Go to the frontend of your website
Search for a hotel in any supported city (e.g., London, Dubai, Paris)
Stuba results will appear alongside other enabled suppliers (if applicable)
All bookings made via Stuba will appear under: Admin Panel ➝ Bookings
You’ll see supplier name, booking reference, customer info, and payment status.
Use the “View” button to access detailed booking info or manually confirm bookings if needed.
You must have a valid account with Stuba to activate this module.
Only one version of Stuba (sandbox or live) should be active at a time.
The API integration supports real-time price updates and booking confirmations.
To apply for production access, please note that any technical assistance required for certification or setup will be subject to a paid support fee.
In case to proceed yourself with certification please contact on below given emails mention @PHPTRAVELS in the email for better support from stuba Contact : techsupport@stuba.com sanket.lalka@stuba.com satnam.sodhi@stuba.com chandraprakash.singh@stuba.com
If you need assistance setting up Stuba or getting your API credentials, contact our support team:
🌐 phptravels.com/contact-us 📧 Email: info@phptravels.com
Visit and signup and once you get API creds