Deposit APIs
1. Create Order
URL: https://api.zapupi.com/api/create-order
Method: POST
Content-Type: application/x-www-form-urlencoded
Required Parameters:
Parameter | Type | Description |
token_key | string | API token key for authentication |
secret_key | string | Secret key for authorization |
amount | int | Order amount (e.g. 100) |
order_id | string | Unique order ID (e.g. Abc123) |
Optional Parameters:
Parameter | Type | Description |
custumer_mobile | string | Customer's mobile number |
redirect_url | string | Post-payment redirect URL (e.g. https://zapupi.com) |
remark | string | Remark for order |
Success Response:
{
"status": "success",
"message": "Order created successfully",
"payment_url": "https://api.zapupi.com/instent-pay-WkFQVVBJNjZmM2M3OWJjMDVlZg",
"order_id": "ORDER1234"
}
Failed Response:
{
"status": "error",
"message": "Invalid customer mobile."
}
2. Order Status
URL: https://api.zapupi.com/api/order-status
Method: POST
Content-Type: application/x-www-form-urlencoded
Required Parameters:
Parameter | Type | Description |
token_key | string | API token key |
secret_key | string | Secret key |
order_id | string | Unique order ID |
Success Response:
{
"status": "success",
"data": {
"custumer_mobile": "1234567890",
"utr": "44345545555",
"remark": "Your Note",
"txn_id": "ZAPUPI66f10bd3c1f28",
"create_at": "2024-09-23 08:33:55",
"order_id": "Abc123",
"status": "Success",
"amount": "1000"
}
}
Failed Response:
{
"status": "error",
"message": "Order not found"
}
Recharge APIs
1. Recharge API
URL: https://api.zapupi.com/api/recharge
Method: POST
Content-Type: application/x-www-form-urlencoded
Required Parameters:
Parameter | Type | Description |
token_key | string | API token key |
secret_key | string | Secret key |
order_id | string | Order ID |
number | string | Mobile/DTH number |
operator_code | int | Operator code |
amount | int | Recharge amount |
Operators:
1. Jio
2. Airtel
3. Vi
4. BSNL Topup
5. BSNL Special
6. Airtel Digital DTH TV
7. Sun TV
8. TATA Play
9. Videocon DTH
10. Dish TV
11. Airtel Postpaid
12. BSNL Postpaid
13. VI Postpaid
14. JIO Postpaid
15. Google Redeem Code
16. Myntra E Gift Card
17. Amazon Prime
18. Zee5
19. Sony Liv
20. Disney+ Hotstar
21. OTT Play
22. Amazon Shopping Voucher
23. Amazon Fresh Voucher
24. Swiggy Voucher
25. Zomato Voucher
Success Response:
{
"status": "success",
"message": "NA",
"data": {
"number": "9720450911",
"amount": "13",
"status": "Failed",
"operator": "1",
"operator_name": "Jio",
"order_id": "123456",
"referance": "Unknown Error- Please Try Again Later"
}
}
Failed Response:
{
"status": "error",
"message": "Invalid amount."
}
2. Recharge Status
URL: https://api.zapupi.com/api/recharge-status
Method: POST
Content-Type: application/x-www-form-urlencoded
Required Parameters:
Parameter | Type | Description |
token_key | string | API token key |
secret_key | string | Secret key |
order_id | string | Recharge order ID |
Success Response:
{
"status": "success",
"data": {
"order_id": "123456",
"number": "9720450911",
"create_at": "2025-03-31 13:27:05",
"status": "Failed",
"txn_ref": "failed",
"amount": "0",
"operator": "Jio"
}
}
Failed Response:
{
"status": "error",
"message": "Recharge not found"
}