Skip to main content

Recharge Type

Recharge Type

Postman Collection

URL

GET : /v1/service/recharge/recharge_type

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
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

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

Response Code

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