Bus Booking · Bus Booking Services
Bus Get Cancellation Data
Fetch refund breakup and cancellation policy charges before cancelling
POST request
URL: https://uat-api.vizodigital.com/api/v1/bus/cancellation-data
Body
{
"orderid": "CANCDAT_001",
"refid": 12345
}
Include a valid Bearer token with every request
UAT example
{
"response_code": 1,
"status": true,
"message": "Cancellation charges retrieved",
"data": {
"cancellationCharges": "150.00",
"refundableAmount": "600.00"
}
}
Failure response
{
"status": "error",
"message": "Request failed. Check credentials, wallet balance, or validation errors."
}
Overview
Fetch refund breakup and cancellation policy charges before cancelling.
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_cancellation_data) on developer account. - Authenticate with Bearer token header
Authorization: Bearer <your_token>.
Body
Bus Get Cancellation Data request body
Schema
{
"type": "object",
"properties": {
"orderid": {
"type": "string",
"description": "Unique request ID"
},
"refid": {
"type": "integer",
"description": "Booking reference ID"
}
}
}
Example
{
"orderid": "CANCDAT_001",
"refid": 12345
}
Responses
-
200 · application/json
Successful response
Example
{ "response_code": 1, "status": true, "message": "Cancellation charges retrieved", "data": { "cancellationCharges": "150.00", "refundableAmount": "600.00" } }
Rate Limits
60/min