API Get Subscriber Information By Phone Number
Endpoint: /api/v1/service/{phoneNumber}/info
Method: GET
Header: How to generate JWT_TOKEN
{
    "X-APPOTAPAY-AUTH": Bearer JWT_TOKEN,
    "Content-Type": "application/json"
}
Params
| Params | Required | Type | Description | 
|---|---|---|---|
| phoneNumber | √ | String | Phone number to check subscriber information (format: 09x, 08x,..) | 
Data result
| Params | Type | Description | 
|---|---|---|
| errorCode | Integer | Error code result | 
| message | String | Description error code detail | 
| data | Object | Subscriber information object | 
| data.phone_number | String | Phone number to check subscriber information | 
| data.telco | String | Vendor name | 
Success
{
    "errorCode": 0,
    "message": "Thành công",
    "data": {
        "phone_number": "0968324567"
        "telco": "viettel"
    }
}
Error
{
    "errorCode": 37,
    "message": "Số điện thoại không đúng"
}