Check Operator Prefix
API to get operator name from customer id prefix. You can refer to here for operator prefix
Path
Method | Path |
---|---|
POST | api/check-operator |
Request Body
Attributes | Type | Description | Mandatory |
---|---|---|---|
username | String | Your registered phone number | Yes |
customer_id | String | Customer ID | Yes |
sign | String | Signature. Value: md5(username+api_key+'op') | Yes |
{
"username" : "123123123",
"customer_id" : "0817777215",
"sign" : "df5e80e8ab7f94a905617282ad8c26f3"
}
Response
Attributes | Type | Description | Mandatory |
---|---|---|---|
operator | String | Operator name | Yes |
message | String | Message | Yes |
rc | String | Response code. See response code list | Yes |
{
"data": {
"operator": "XL",
"message": "SUCCESS",
"rc": "00"
}
}
Live Testing
Request URL
https://prepaid.iak.dev/api/check-operator
Request Method
Request Header
Content-Type: application/json
Body
Result
Table of Contents