Skip to main content

Get Plans and Offers

Plans And Offers

Postman Collection

URL

POST : /v1/service/recharge/plansandoffers

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)
operatorId  (String)   Required
operator Id (You will get operatorId from Get Operator API )
type  (String)   mobilePlans / dthPlans
Category type (Like mobile / dth)

Request

Example Request
    curl --location --request POST '/v1/service/recharge/plansandoffers' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tsb2NfdXNlcn19Ont7bG9jX3Bhc3N9fQ==' \
--data-raw '{
"circleId": "21",
"operatorId": "6",
"type": "mobilePlans"
}'

Response Samples

{
"code": "0x0200",
"message": "Plan fetched successfully.",
"status": "SUCCESS",
"data":[
{
"category": "fullTalkTime",
"title": "Full Talk Time",
"content": [
{
"planName": "",
"rupee": "75",
"description": "JIOPHONE ALL-IN-ONE PLAN Pack validity 23 days Total data 2.5 GB (100 MB/Day + 200MB) Data at high speed (Post which unlimited @ 64 Kbps) 100 MB/Day + 200MB Voice Unlimited SMS 50",
"validity": "23 days",
"lastUpdate": "01-01-1970"
},
{
"planName": "",
"rupee": "91",
"description": "JIOPHONE ALL-IN-ONE PLAN Pack validity 28 days Total data 3 GB (100 MB/Day + 200 MB) Data at high speed (Post which unlimited @ 64 Kbps) 100 MB/day + 200 MB Voice Unlimited SMS 50",
"validity": "28 days",
"lastUpdate": "01-01-1970"
},
{
"planName": "",
"rupee": "119",
"description": "1.5 GB/DAY PACK Pack validity 14 days Total data 21 GB Data at high speed (Post which unlimited @ 64 Kbps) 1.5 GB/day Voice Unlimited SMS NA",
"validity": "14 days",
"lastUpdate": "01-01-1970"
}
]
}

Response Code

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