Get Mobile Plans
Get Mobile Plans
Postman Collection
URL
GET : /v1/service/recharge/mobile/planHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
circleId (String) Required
Circle Id (You will get circleId from the Get Circle API)
Circle Id (You will get circleId from the Get Circle API)
rechargeTypeId (String) Required
Recharge type (You will get rechargeTypeId from Get Recharge Type API )
Recharge type (You will get rechargeTypeId from Get Recharge Type API )
operatorId (String) Required
operator Id (You will get operatorId from Get Operator API )
operator Id (You will get operatorId from Get Operator API )
Request
Example Request
curl --location --request GET '/v1/service/recharge/mobile/plan' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"circleId": "6",
"rechargeTypeId": "7",
"operatorId": "1"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Plan fetched successfully.",
"status": "SUCCESS",
"data": [
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "10",
"validity": "N.A.",
"shortDesc": "Recharge of Rs. 10 by Airtel",
"longDesc": "Talktime: Rs.7.47",
"rechargeType": "Top up",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "20",
"validity": "N.A.",
"shortDesc": "Recharge of Rs. 20 by Airtel",
"longDesc": "Talktime: Rs.14.95",
"rechargeType": "Top up",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "155",
"validity": "24 days",
"shortDesc": "Recharge of Rs. 155 by Airtel",
"longDesc": "Calls : Unlimited local, STD & Roaming -- Data : 1GB -- SMS : 300 -- Free Hellotunes : Set any song as Hellotune for Free -- Wynk Music Free : Music, Hellotunes, LIVE Concerts & Podcasts",
"rechargeType": "Other",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "179",
"validity": "28 days",
"shortDesc": "Recharge of Rs. 179 by Airtel",
"longDesc": "Calls : Unlimited local, STD & Roaming -- Data : 2GB -- SMS : 300 --Free Hellotunes : Set any song as Hellotune for Free -- Wynk Music Free : Music, Hellotunes, LIVE Concerts & Podcasts",
"rechargeType": "Other",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "199",
"validity": "30 days",
"shortDesc": "Recharge of Rs. 199 by Airtel",
"longDesc": "Calls : Unlimited local STD & Roaming -- Data : 3GB -- SMS : 300 --Free Hellotunes : Set any song as Hellotune for Free -- Wynk Music Free : Music, Hellotunes, LIVE Concerts & Podcasts",
"rechargeType": "Other",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "209",
"validity": "21 days",
"shortDesc": "Recharge of Rs. 209 by Airtel",
"longDesc": "Calls : Unlimited Local, STD & Roaming -- Data : 1GB/day -- SMS : 100 SMS/day --Free Hellotunes : Set any song as Hellotune for Free -- Wynk Music Free : Music, Hellotunes, LIVE Concerts & Podcasts",
"rechargeType": "Other",
"updatedAt": "06-12-2023 13:51:57"
},
{
"operatorId": "Airtel",
"circleId": "Gujarat",
"amount": "265",
"validity": "28 days",
"shortDesc": "Recharge of Rs. 265 by Airtel",
"longDesc": "Calls : Unlimited local STD & Roaming -- Data : 1GB/Day -- SMS : 100/Day -- Unlimited 5G Data : Unlimited 5G Data is over and above your plan limit and can be used in 5G Network areas only --Free Hellotunes : Set any song as Hellotune for Free -- Wynk Music Free : Music, Hellotunes, LIVE Concerts & Podcasts",
"rechargeType": "Other",
"updatedAt": "06-12-2023 13:51:57"
}
]
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "no results found"
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |