Bus Booking · Bus Booking Services
Bus Trip Details
Get fare details, seat layout, and boarding/dropping points for a trip
POST request
URL: https://uat-api.vizodigital.com/api/v1/bus/trip-details
Body
{
"orderid": "TRIPDET_001",
"trip_id": "1000123"
}
Include a valid Bearer token with every request
UAT example
{
"response_code": 1,
"status": true,
"message": "Trip details fetched successfully",
"data": {
"seats": [
{
"seat_name": "L1",
"fare": "750.00",
"available": true
},
{
"seat_name": "L2",
"fare": "750.00",
"available": false
}
]
}
}
Failure response
{
"status": "error",
"message": "Request failed. Check credentials, wallet balance, or validation errors."
}
Overview
Get fare details, seat layout, and boarding/dropping points for a trip.
UAT vs Production
- UAT calls hit the Paysprint sandbox environment and are not billed.
- Production calls use live credentials and deduct per-call fee from wallet.
Access & billing
- Requires active permission/service key (
bus_trip_details) on developer account. - Authenticate with Bearer token header
Authorization: Bearer <your_token>.
Body
Bus Trip Details request body
Schema
{
"type": "object",
"properties": {
"orderid": {
"type": "string",
"description": "Unique request ID"
},
"trip_id": {
"type": "string",
"description": "ID of the available trip"
}
}
}
Example
{
"orderid": "TRIPDET_001",
"trip_id": "1000123"
}
Responses
-
200 · application/json
Successful response
Example
{ "response_code": 1, "status": true, "message": "Trip details fetched successfully", "data": { "seats": [ { "seat_name": "L1", "fare": "750.00", "available": true }, { "seat_name": "L2", "fare": "750.00", "available": false } ] } }
Rate Limits
60/min