Get Booking Details
This is an endpoint that provides the API user access to real-time information of a particular booking.
This API Endpoint makes a GET request to the Travu service in other to get a response of BOOKING DETAILS by simply passing the booking number with authorization, this can also be used to reconfirm the status of any ticket.
ENDPOINT URL
REQUEST TYPE: GET
LIVE URL: https://api.travu.africa/api/v1/booking/booking_number
TEST URL: https://api.travu.africa/test/api/v1/booking/booking_number
Remember to Pass your Authorization Token for this request to go through, read about Authorization here.
BODY PAYLOAD
This is a GET request that does not expect a body, simply authorize appropriately and pass the "Booking number" through the base URL. We usually return a "booking_number"
(bus) and "booking_id"
(flight) after a successful booking.
RESPONSE
The Response for this request should bring the BOOKING DETAILS in the below format;
The "status" of a transaction could be confirmed, failed or canceled.
Reference to Authentication for possible authentication errors that might occur during this request.
Last updated