Recharge Type
Recharge Type
Postman Collection
URL
GET : /v1/service/recharge/recharge_typeHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Request
Example Request
curl --location --request GET '/v1/service/recharge/recharge_type' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data ''
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Recharge Type fetched successfully.",
"status": "SUCCESS",
"data": [
{
"rechargeTypeId": 1,
"rechargeType": "Top-up"
},
{
"rechargeTypeId": 3,
"rechargeType": "Full Talktime"
},
{
"rechargeTypeId": 4,
"rechargeType": "SMS"
},
{
"rechargeTypeId": 5,
"rechargeType": "2G Data"
},
{
"rechargeTypeId": 6,
"rechargeType": "3G Data"
},
{
"rechargeTypeId": 8,
"rechargeType": "4G Data"
},
{
"rechargeTypeId": 9,
"rechargeType": "Local"
},
{
"rechargeTypeId": 10,
"rechargeType": "STD"
},
{
"rechargeTypeId": 11,
"rechargeType": "ISD"
},
{
"rechargeTypeId": 13,
"rechargeType": "Roaming"
},
{
"rechargeTypeId": 14,
"rechargeType": "Other"
},
{
"rechargeTypeId": 16,
"rechargeType": "Validity"
},
{
"rechargeTypeId": 17,
"rechargeType": "Plan"
},
{
"rechargeTypeId": 18,
"rechargeType": "FRC"
}
]
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Recharge type not 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 |