跳转至

查询充值运营商

查询充值运营商

查询电话号码可用的运营商列表

HTTP请求

GET /cashout/topups/{{fullPhoneNumber}}/operators

Request Headers
{
    "Authorization": "Bearer {{access_token}}"
}
Content-Type: application/json
{
    "statusCode":200,
    "errorMsg": "",
    "operators": [
        {
            "operatorId": "TA",
            "operatorName": "TTelcel"
        },
        {
            "operatorId": "MOV",
            "operatorName": "Movistar"
        },
        {
            "operatorId": "IUS",
            "operatorName": "Iusacell"
        },
        {
            "operatorId": "UNE",
            "operatorName": "Unefon"
        },
        {
            "operatorId": "ATT",
            "operatorName": "AT&T"
        },
        {
            "operatorId": "MAZ",
            "operatorName": "Maz Tiempo"
        },
        {
            "operatorId": "VIR",
            "operatorName": "Virgin Mobile"
        },
        {
            "operatorId": "CIE",
            "operatorName": "Cierto"
        }
    ]
}

HTTP Headers 字段说明

Key Value
Authorization "bearer"+ "" + {{access_token}}
x-api-key {{api_key}}

路径参数

参数 是否必填 类型 描述
fullPhoneNumber String 完整电话号码

Response Body 字段说明

参数 类型 描述
statusCode Integer 状态代码,200 代表成功2, 401 访问受限, 422 参数错误, 500 内部错误
errorMsg String 如果查询失败,返回的错误信息
operators JSON Array 运营商列表
JSON 参数 类型 描述
operatorId String 运营商 Id
operatorName String 运营商名称
回到页面顶部