Public Access
API OperationalDeveloper Documentation & UAT
`/developer` par public docs, separate panel-style menu, aur live/test UAT execution ready hai.
ACCESS
No Login
Public documentation aur UAT portal bina auth wall ke open hota hai.
TEST MODE
Safe Samples
Mock/sample responses ke saath onboarding aur UAT rehearsal kar sakte ho.
LIVE MODE
Real Requests
merchantId aur apiKey ke saath selected live endpoint hit kar sakte ho.
ALL ENDPOINTS
Endpoint Reference
Base URL: https://prebaird.in/api/v1. Naam pe click → full docs, "Test" → tester me load.
CATALOG APIS
RECHARGE APIS
AUTHENTICATION
merchantid + apikey
- `merchantid` = merchant username
- `apikey` = merchant mkey
- Sabhi legacy endpoints query parameters ke through auth lete hain
- Public docs open hai, lekin live UAT ke liye valid credentials required rahenge
GET https://prebaird.in/api/v1/auth?merchantid=DEMO001&apikey=DEMO123456
CATALOG APIS
Catalog APIs
Auth Check
Mapped in TesterMerchant credentials validate karne ke liye lightweight auth check endpoint.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/auth?merchantid=DEMO001&apikey=DEMO123456"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"message": "Authorized",
"merchantid": "DEMO001"
}Operators
Operator codes aur service types fetch karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/operators?merchantid=DEMO001&apikey=DEMO123456&type=Mobile"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"data": [
{
"operatorcode": "AT",
"operatorname": "Airtel Prepaid",
"type": "Mobile"
},
{
"operatorcode": "JIO",
"operatorname": "Jio Prepaid",
"type": "Mobile"
},
{
"operatorcode": "VF",
"operatorname": "Vi Prepaid",
"type": "Mobile"
},
{
"operatorcode": "BSNL",
"operatorname": "BSNL Topup",
"type": "Mobile"
},
{
"operatorcode": "MTNL",
"operatorname": "MTNL Delhi",
"type": "Mobile"
}
]
}Circles
Circle lookup for recharge and catalog screens.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/circles?merchantid=DEMO001&apikey=DEMO123456&q=Delhi"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"data": [
{
"circlecode": 5,
"circlename": "Delhi"
}
]
}Commissions
Operator wise commission slabs dekhne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/commissions?merchantid=DEMO001&apikey=DEMO123456&operatorcode=AT"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"data": [
{
"operatorcode": "AT",
"operatorname": "Airtel Prepaid",
"comitype": 2,
"comi": 2.5
}
]
}RECHARGE APIS
Recharge APIs
Balance
Main wallet balance fetch karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/balance?merchantid=DEMO001&apikey=DEMO123456"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"balance": "24500.00",
"message": "Success"
}Recharge
Recharge order create karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/recharge?merchantid=DEMO001&apikey=DEMO123456&operator=AT&circle=5&number=1234567890&amount=199&txnid=AUTO-TXNID&optional="
SAMPLE RESPONSE
{
"txnid": "AUTO-TXNID",
"status": "SUCCESS",
"number": "1234567890",
"amount": 199,
"optid": "RB123456",
"operator": "AT",
"type": "Mobile",
"balance": "24305.00",
"billamount": "199.00",
"commission": "4.975",
"message": "Payment Processed"
}Status
Recharge / payout / BBPS transaction status check karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/status?merchantid=DEMO001&apikey=DEMO123456&txnid=AUTO-TXNID"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"txnid": "AUTO-TXNID",
"type": "Mobile",
"amount": 199,
"refid": "RB123456",
"number": "1234567890",
"operator": "AT",
"message": "Payment Processed"
}Complaint
Kisi transaction ke against complaint register karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/complaint?merchantid=DEMO001&apikey=DEMO123456&txnid=AUTO-TXNID&message=Recharge+not+received"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"message": "Complaint registered successfully",
"complaintid": "TKT-20260617-0042",
"complaintStatus": "Open",
"txnid": "AUTO-TXNID"
}Complaint Status
Complaint ka status check karne ke liye (complaintid ya txnid se).
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/complaint-status?merchantid=DEMO001&apikey=DEMO123456&complaintid=TKT-20260617-0042&txnid="
SAMPLE RESPONSE
{
"status": "SUCCESS",
"complaintid": "TKT-20260617-0042",
"complaintStatus": "Open",
"txnid": "AUTO-TXNID",
"category": "API Complaint",
"message": "Recharge not received",
"resolution": "",
"createdAt": "2026-06-17T10:30:00Z"
}BBPS APIS
BBPS APIs
Bill Fetch
BBPS bill detail fetch करने ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/bill-fetch?merchantid=DEMO001&apikey=DEMO123456&operator=ELC&number=1234567890&optional1=&optional2="
SAMPLE RESPONSE
{
"operator": "ELC",
"status": "SUCCESS",
"message": "SUCCESS",
"dueamount": "499.00",
"dueaate": "2026-06-30",
"customername": "Demo User",
"billnumber": "1234567890",
"billdate": "2026-06-01",
"billperiod": "MAY-2026",
"refid": "BILL12345",
"editable": false,
"merchantid": "DEMO001"
}Bill Pay
Fetched bill ya direct bill payment create karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/bill-pay?merchantid=DEMO001&apikey=DEMO123456&operator=ELC&number=1234567890&amount=499&txnid=AUTO-BBPS-TXNID&optional1=&optional2=&optional3="
SAMPLE RESPONSE
{
"txnid": "AUTO-BBPS-TXNID",
"status": "SUCCESS",
"number": "1234567890",
"amount": "499.00",
"optid": "BBPSREF123",
"vouchercode": "",
"operator": "ELC",
"service": "Electricity",
"balance": "24001.00",
"message": "Payment Processed",
"billamount": "499.00",
"comi": "0.000"
}PAYOUT APIS
Payout APIs
Payout
Bank payout create karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/payout?merchantid=DEMO001&apikey=DEMO123456&txnid=AUTO-PAYOUT-TXNID&amount=1000&account=123456789012&ifsc=HDFC0001234&name=Demo+User&mode=IMPS&bank=HDFC+Bank"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"txnid": "AUTO-PAYOUT-TXNID",
"refid": "UTR2026061301234",
"amount": "1000.00",
"fees": "10.00",
"mode": "IMPS",
"account": "123456789012",
"ifsc": "HDFC0001234",
"name": "Demo User",
"message": "Success"
}Payout Status
Payout transaction status check karne ke liye.
PARAMETERS
SAMPLE REQUEST
curl -X GET "https://prebaird.in/api/v1/payout-status?merchantid=DEMO001&apikey=DEMO123456&txnid=AUTO-PAYOUT-TXNID"
SAMPLE RESPONSE
{
"status": "SUCCESS",
"txnid": "AUTO-PAYOUT-TXNID",
"refid": "UTR2026061301234",
"amount": "1000.00",
"fees": "10.00",
"mode": "IMPS",
"account": "123456789012",
"ifsc": "HDFC0001234",
"name": "Demo User",
"message": "Success"
}OPERATOR CODES
Operators (0)
| Operator | Code | Type | Optional1 | Optional2 |
|---|---|---|---|---|
| Loading operators… | ||||
CIRCLE CODES
Circles (0)
| Circle Code | Circle Name |
|---|---|
| Loading circles… | |
UAT TEST SYSTEM
Interactive Tester
Test mode sample देता hai, live mode selected real endpoint hit karta hai.
Mapped API: Auth CheckREQUEST PREVIEW
https://prebaird.in/api/v1/auth?merchantid=DEMO001&apikey=DEMO123456
SAMPLE RESPONSES
SUCCESS
SUCCESS{
"status": "SUCCESS",
"message": "SUCCESS",
"merchantid": "DEMO001"
}FAILED
FAILED{
"status": "FAILED",
"message": "Request failed",
"merchantid": "DEMO001"
}PENDING
PENDING{
"status": "PENDING",
"message": "Request pending",
"merchantid": "DEMO001"
}RESPONSE
{
"status": "SUCCESS",
"message": "Authorized",
"merchantid": "DEMO001"
}WEBHOOK NOTES
Callback / Webhook
ERROR CODES
Common Responses
| Code | Description |
|---|---|
| SUCCESS | Request accepted ya processed successfully. |
| FAILED | Validation, balance, routing ya provider side failure. |
| 401 | Invalid merchant credentials ya unauthorized request. |
| 422 | Required params missing ya malformed request. |
| 500 | Unexpected internal server or provider processing issue. |