API Reference & Integration

Fully automated Mobile, DTH & Gift Voucher endpoints supporting both GET and POST methods.

Base URL https://easyotpapi.online/api
Authentication Header / Param api_key=recha_...
01

Check Wallet Balance

GET POST
/recharge/user-balance Active

Query Parameters:

?api_key=recha_YOUR_API_KEY

cURL Request (GET):

curl -X GET "https://easyotpapi.online/api/recharge/user-balance?api_key=recha_YOUR_API_KEY"

Response Example (200 OK)

{
  "success": true,
  "phone": "9876543210",
  "balance": 500.00,
  "currency": "INR"
}
02

Get Operators List

GET POST
/recharge/operators Active
curl -X GET "https://easyotpapi.online/api/recharge/operators?api_key=recha_YOUR_API_KEY"

Response Example (200 OK)

{
  "success": true,
  "data": [
    { "operator_id": 1, "operator_name": "Airtel", "type": "prepaid" },
    { "operator_id": 2, "operator_name": "Jio", "type": "prepaid" },
    { "operator_id": 10, "operator_name": "Google Play", "type": "gift" }
  ]
}
03

Fetch Plans & Prices

GET POST
/recharge/plans Active
curl -X GET "https://easyotpapi.online/api/recharge/plans?api_key=recha_YOUR_API_KEY&operator_id=1"

Response Example (200 OK)

{
  "success": true,
  "operator_id": 1,
  "operator_name": "Airtel",
  "type": "prepaid",
  "plans": {
    "Data": [
      { "rs": 299, "desc": "1.5GB/day 28 days unlimited calls", "validity": "28 days" }
    ]
  }
}
04

Pay Recharge / Buy Voucher

GET POST
/recharge/pay Active
curl -X GET "https://easyotpapi.online/api/recharge/pay?api_key=recha_YOUR_API_KEY&number=9876543210&operator=1&amount=299"

Response Example (200 OK)

{
  "success": true,
  "message": "Recharge request accepted.",
  "orderId": "REC_1710000000_A1B2",
  "status": "SUCCESS",
  "txnRef": "1587603145",
  "data": {
    "order_id": "REC_1710000000_A1B2",
    "number": "9876543210",
    "amount": "299",
    "operator_name": "Airtel",
    "status": "Success"
  }
}
05

Check Order Status

GET POST
/recharge/status Active
curl -X GET "https://easyotpapi.online/api/recharge/status?api_key=recha_YOUR_API_KEY&order_id=REC_1710000000_A1B2"

Response Example (200 OK)

{
  "success": true,
  "data": {
    "order_id": "REC_1710000000_A1B2",
    "amount": "299.00",
    "status": "Success",
    "txn_ref": "1587603145"
  }
}