Check Operator Prefix

API to get operator name from customer id prefix. You can refer to here for operator prefix

Path

MethodPath
POSTapi/check-operator

Request Body

AttributesTypeDescriptionMandatory
usernameStringYour registered phone numberYes
customer_idStringCustomer IDYes
signStringSignature. Value: md5(username+api_key+'op')Yes
{
  "username"    : "123123123",
  "customer_id" : "0817777215",
  "sign"        : "df5e80e8ab7f94a905617282ad8c26f3"
}
<?xml version="1.0" ?>
<mp>
  <username>123123123</username>
  <customer_id>0817777215</customer_id>
  <sign>df5e80e8ab7f94a905617282ad8c26f3</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
operatorStringOperator nameYes
messageStringMessageYes
rcStringResponse code. See response code listYes
{
  "data": {
    "operator": "XL",
    "message": "SUCCESS",
    "rc": "00"
  }
}
<?xml version="1.0"?>
<mp>
  <operator>XL</operator>
  <message>SUCCESS</message>
  <rc>00</rc>
</mp>

Live Testing

Request URL
https://prepaid.iak.dev/api/check-operator
Request Method
Request Header
Content-Type: application/json
Body
Result