Introduction
Safiri enables people and goods to get from one place to another. This documentation provides list of REST APIs for handling core transportation booking for bus, train, and flight, plus parcel delivery functionalities.
Features
- 🚌 Intercity Bus Booking: Search, reserve and book bus tickets
- 🚆 Train Booking: Search available train trips, reserve and issue tickets
- ✈️ Flight Bookings: Search for flights, lock prices, and issue tickets
- 📦 Parcel Delivery: Search for delivery options, request parcel pickup; Complete end to end delivery APIs
- 🔐 Authentication: JWT-based authentication
- 💰 Float Account Management: How to add money to your account, withdraw; complete end to end float management
Environments
We provide two environments for integration:
| Environment | URL | Purpose |
|---|---|---|
| Development | https://booking-api-dev.safiri.app | For testing and development. Use this environment to build and test your integration without affecting production data. |
| Production | https://booking-api.safiri.app | Live environment for real transactions. Only use this after your integration has been tested. |
tip
Start with the Development environment to test your integration before switching to Production.
Quick Start
- Authentication - Learn how to do authentication
- Flights - Learn how to search, reserve and issue flight tickets
- Trains - Learn how to search train trips, reserve and issue train tickets
- Bus - Learn how to search, reserve and issue bus tickets
- Parcels - Learn how to get delivery offers and request parcel pickup
Other Documentation
- Swagger Docs: Swagger API documentation
- Postman Collections: Downloadable postman Collections
Support
For questions or support, please contact:
- Email: support@safiri.app
- GitHub: booking-api