Onerway
POST

查询地区列表

使用此接口查询支持的地区。

请求

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

请求示例

curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/common/regionList' \
  -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"
    },
    {
      "regionCode": "US",
      "regionName": "United States"
    },
    {
      "regionCode": "HK",
      "regionName": "Hong Kong"
    }
  ]
}
该接口暂未记录错误响应。