地区列表(USER_DATA)
接口描述
查询指定国家下的活跃地区/城市列表。目前仅支持澳大利亚站。
HTTP请求
GET /sapi/v1/localentity/region/list
请求权重(IP)
1
请求参数
| 名称 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| countryCode | STRING | YES | ISO 2位国家代码(来自国家列表接口) |
| timestamp | LONG | YES |
响应示例
{
"countryCode": "au",
"regions": [
{
"regionName": "New South Wales",
"blockType": "supported",
"depositAllowed": true,
"withdrawalAllowed": true
}
],
"lastUpdated": 1716300000000
}
响应字段
| 名称 | 类型 | 描述 |
|---|---|---|
| countryCode | STRING | 回显查询的国家代码(小写) |
| regions | ARRAY | 该国家下的活跃地区列表 |
| regions[].regionName | STRING | 地区/城市显示名称(问卷答案中使用此值) |
| regions[].blockType | STRING | supported、limited 或 blocked |
| regions[].depositAllowed | BOOLEAN | 该地区是否允许充值 |
| regions[].withdrawalAllowed | BOOLEAN | 该地区是否允许提现 |
| lastUpdated | LONG | 数据最后更新时间戳(毫秒级 epoch);为空时返回 0 |