Vizo Digital Api
Sign in

Bus Booking · Bus Booking Services

Bus Get Booked Ticket

Retrieve complete ticket details and passenger manifest for a booking

POST request

URL: https://uat-api.vizodigital.com/api/v1/bus/get-booked-ticket

Body

{
    "orderid": "GET_001",
    "refid": 12345
}

Include a valid Bearer token with every request

UAT example

{
    "response_code": 1,
    "status": true,
    "message": "Booked ticket details retrieved",
    "data": {
        "tin": "PNR123456789",
        "travels": "SRS Travels",
        "seats": [
            "L1"
        ]
    }
}

Failure response

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

Overview

Retrieve complete ticket details and passenger manifest for a booking.

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

Body

application/json required

Bus Get Booked Ticket request body

Schema

{
    "type": "object",
    "properties": {
        "orderid": {
            "type": "string",
            "description": "Unique request ID"
        },
        "refid": {
            "type": "integer",
            "description": "Booking reference ID"
        }
    }
}

Example

{
    "orderid": "GET_001",
    "refid": 12345
}

Responses

  • 200 · application/json

    Successful response

    Example

    {
        "response_code": 1,
        "status": true,
        "message": "Booked ticket details retrieved",
        "data": {
            "tin": "PNR123456789",
            "travels": "SRS Travels",
            "seats": [
                "L1"
            ]
        }
    }

Rate Limits

60/min