Complete REST API Documentation & Interactive Code Sandbox
Integrate orders, payments, automated refunds, 24/7 payouts, and BBPS utility bill switching with clean JSON endpoints and strict schema validation.
Create Order Request Sample
curl -X POST https://api.mspay.in/v2/orders \
-H "Authorization: Bearer sec_live_98ab7621c90" \
-H "Content-Type: application/json" \
-d '{
"amount": 250000,
"currency": "INR",
"receipt": "order_rcpt_10982",
"customer": {
"name": "Dev Sharma",
"email": "dev@company.com",
"phone": "+919876543210"
},
"payment_capture": 1
}'Core API Methods
Standard HTTP response codes: 200 (Success), 400 (Bad Request), 401 (Unauthorized), 422 (Validation), 500 (Gateway Error).
Initialize a new payment order with amount, currency, and customer details before loading checkout.
Retrieve real-time transaction status, bank reference number (RRN), card token, and fee deductions.
Trigger full or partial instant refund to the original payment source or customer UPI ID.
Disburse funds 24/7/365 to any Indian bank account or VPA via IMPS, NEFT, RTGS, or UPI.
Query outstanding consumer bills across 20,000+ national utility billers under the BBPS framework.
Execute instant settlement for utility bills and receive official NPCI payment confirmation tokens.
Got Questions? We Have Answers.
Find detailed answers about technical integration, settlement cycles, RBI tokenization, and our BBPS network.
Ready to Upgrade Your Payment Infrastructure?
Join hundreds of forward-thinking enterprises, digital marketplaces, and distributor networks powered by MSPay multi-bank technology.