Get the list of supported regions (countries).
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/common/regionList |
ApiKey header.| Field | Type | Description |
|---|---|---|
respCode | String | Response code |
respMsg | String | Response message |
data[] | Array | Region list |
data[].regionCode | String | Region/country code, ISO 3166-1 alpha-2 |
data[].regionName | String | Region/country name |
{
"respCode": "20000",
"respMsg": "success",
"data": [
{ "regionCode": "CN", "regionName": "China" },
{ "regionCode": "US", "regionName": "United States" },
{ "regionCode": "HK", "regionName": "Hong Kong" }
]
}
Query cities under a specified region.
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/common/cityList |
| Field | Type | Required | Description |
|---|---|---|---|
| String(2) | ✅ | Region/country code |
| String | — | Parent administrative division code for cascading queries |
{
"regionCode": "CN",
"parentCode": "GD"
}
| Field | Type | Description |
|---|---|---|
respCode | String | Response code |
respMsg | String | Response message |
data[] | Array | City list |
data[].regionCode | String | Parent region code |
data[].parentCode | String | Parent administrative division code |
data[].cityCode | String | City code |
data[].cityName | String | City name |
{
"respCode": "20000",
"respMsg": "success",
"data": [
{
"regionCode": "CN",
"parentCode": "GD",
"cityCode": "SZ",
"cityName": "Shenzhen"
},
{
"regionCode": "CN",
"parentCode": "GD",
"cityCode": "GZ",
"cityName": "Guangzhou"
}
]
}
Get the list of supported mobile area codes.
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/common/mobileAreaCodeList |
ApiKey header.| Field | Type | Description |
|---|---|---|
respCode | String | Response code |
respMsg | String | Response message |
data[] | Array | Area code list |
data[].regionCode | String | Region/country code |
data[].regionName | String | Region/country name |
data[].areaCode | String | Mobile international area code (e.g. +86) |
{
"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" }
]
}