Skip to main content

Get Mobile Plans

Get Mobile Plans

Postman Collection

URL

GET : /v1/service/recharge/mobile/plan

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

circleId  (String)   Required
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 )
operatorId  (String)   Required
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

    {
"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"
}
]
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING