Onerway
POST

查询手机区号列表

使用此接口查询支持的手机国际区号。

请求

ApiKey
Onerway 分配的发卡 API key 请求 Header。
示例:

请求示例

curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/common/mobileAreaCodeList' \
  -H 'ApiKey: replace_with_issuing_api_key' \
  -H 'Content-Type: application/json' \
  --data-raw '{}'

响应

respCode
业务响应码;20000 表示成功。
respMsg
响应信息。
支持的手机国际区号列表。

响应示例

{
  "respCode": "20000",
  "respMsg": "success",
  "data": [
    {
      "regionCode": "CN",
      "regionName": "China",
      "areaCode": "+86"
    },
    {
      "regionCode": "US",
      "regionName": "United States",
      "areaCode": "+1"
    },
    {
      "regionCode": "HK",
      "regionName": "Hong Kong",
      "areaCode": "+852"
    }
  ]
}
该接口暂未记录错误响应。