Vizo Digital Api
Sign in

Bus Booking · Bus Booking Services

Bus Available Trips

Fetch available bus trips for a specific route and journey date

POST request

URL: https://uat-api.vizodigital.com/api/v1/bus/available-trips

Body

{
    "orderid": "TRIP_001",
    "source_id": "3",
    "destination_id": "6",
    "date_of_journey": "2026-09-15"
}

Include a valid Bearer token with every request

UAT example

{
    "response_code": 1,
    "status": true,
    "message": "Available trips fetched successfully",
    "data": [
        {
            "trip_id": "1000123",
            "travels_name": "SRS Travels",
            "bus_type": "AC Sleeper (2+1)",
            "departure_time": "21:00",
            "arrival_time": "06:00",
            "fare": "750.00"
        }
    ]
}

Failure response

{
    "status": "error",
    "message": "Request failed. Check credentials, wallet balance, or validation errors."
}

Overview

Fetch available bus trips for a specific route and journey date.

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_available_trips) on developer account.
  • Authenticate with Bearer token header Authorization: Bearer <your_token>.

Body

application/json required

Bus Available Trips request body

Schema

{
    "type": "object",
    "properties": {
        "orderid": {
            "type": "string",
            "description": "Unique request ID"
        },
        "source_id": {
            "type": "string",
            "description": "Source city ID"
        },
        "destination_id": {
            "type": "string",
            "description": "Destination city ID"
        },
        "date_of_journey": {
            "type": "string",
            "description": "Date of journey (YYYY-MM-DD)"
        }
    }
}

Example

{
    "orderid": "TRIP_001",
    "source_id": "3",
    "destination_id": "6",
    "date_of_journey": "2026-09-15"
}

Responses

  • 200 · application/json

    Successful response

    Example

    {
        "response_code": 1,
        "status": true,
        "message": "Available trips fetched successfully",
        "data": [
            {
                "trip_id": "1000123",
                "travels_name": "SRS Travels",
                "bus_type": "AC Sleeper (2+1)",
                "departure_time": "21:00",
                "arrival_time": "06:00",
                "fare": "750.00"
            }
        ]
    }

Rate Limits

60/min