Bill Payment · BBPS
BBPS Bill Pay
Pay a utility bill
POST request
URL: https://uat-api.vizodigital.com/api/v1/bill-payment/bbps/bill-pay
Body
{
"mobile": "9876543210",
"opcode": "BRPL",
"consumer_number": "1001234567",
"amount": 1240.5,
"fetch_id": "BBPSF-12-ab12cd34",
"orderid": "BBPS_PAY_001"
}
Include a valid Bearer token with every request
Code sample
curl -X POST "https://uat-api.vizodigital.com/api/v1/bill-payment/bbps/bill-pay" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"mobile": "9876543210",
"opcode": "BRPL",
"consumer_number": "1001234567",
"amount": 1240.50,
"fetch_id": "BBPSF-12-ab12cd34",
"orderid": "BBPS_PAY_001"
}'
Success response
{
"status": "success",
"message": "Transaction Successful",
"data": {
"txid": "OP998877",
"utr": null,
"mobile": "9876543210",
"consumer_number": "1001234567",
"amount": 1240.5,
"commission_amount": 5,
"orderid": "BBPS_PAY_001",
"wallet_balance": 764.4
}
}
Failure response
{
"status": "error",
"message": "Request failed. Check credentials, wallet balance, or validation errors."
}
Overview
Pay a BBPS bill using fetch_id from bill-fetch.
Notes
- Bill amount is debited from the developer wallet before the provider call.
- Operator commission (if configured) is credited on success.
- Failed provider calls refund the wallet debit.
orderidmust be unique per BBPS payment.
Body
BBPS bill pay body
Schema
{
"type": "object",
"required": [
"mobile",
"opcode",
"consumer_number",
"amount",
"fetch_id",
"orderid"
],
"properties": {
"mobile": {
"type": "string"
},
"opcode": {
"type": "string"
},
"consumer_number": {
"type": "string"
},
"amount": {
"type": "number"
},
"fetch_id": {
"type": "string"
},
"orderid": {
"type": "string"
}
}
}
Example
{
"mobile": "9876543210",
"opcode": "BRPL",
"consumer_number": "1001234567",
"amount": 1240.5,
"fetch_id": "BBPSF-12-ab12cd34",
"orderid": "BBPS_PAY_001"
}
Responses
-
200 · application/json default
Payment successful
Example
{ "status": "success", "message": "Transaction Successful", "data": { "txid": "OP998877", "utr": null, "mobile": "9876543210", "consumer_number": "1001234567", "amount": 1240.5, "commission_amount": 5, "orderid": "BBPS_PAY_001", "wallet_balance": 764.4 } }
Rate Limits
60/min