Get Plans and Offers
Plans And Offers
Postman Collection
URL
POST : /v1/service/recharge/plansandoffersHeaders
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)
operatorId (String) Required
operator Id (You will get operatorId from Get Operator API )
operator Id (You will get operatorId from Get Operator API )
type (String) mobilePlans / dthPlans
Category type (Like mobile / dth)
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
- SUCCESS
- FAILED
{
"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"
}
]
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Operator id is invalid."
}
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 |
| 0x0208 | 2FA | TWO FACTOR AUNTHENTICATION |