Get the list of supported regions (countries).
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/common/regionList |
X-ONERWAY-APIKEY header.| Field | Type | Description |
|---|---|---|
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 |
|---|---|---|---|
| Long | ✅ | Merchant number |
| String(2) | ✅ | Region/country code |
| String | — | Parent administrative division code for cascading queries |
| Field | Type | Description |
|---|---|---|
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 |
X-ONERWAY-APIKEY header.| Field | Type | Description |
|---|---|---|
data[] | Array | Area code list |
data[].regionCode | String | Region/country code |
data[].regionName | String | Region/country name |
data[].areaCode | String | Mobile 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" }
]
}
Paginated query of merchant transaction push records, filterable by transaction type, status, and time range.
| Item | Details |
|---|---|
| Endpoint | POST /api/v1/merchant/queryTxnList |
| Field | Type | Required | Description |
|---|---|---|---|
| Long | ✅ | Merchant number |
| String(20) | — | Transaction type: |
| String(20) | — | Push status: |
| Long | — | Query start time, timestamp in milliseconds |
| Long | — | Query end time, timestamp in milliseconds |
| Integer | ✅ | Page number, minimum 1 |
| Integer | ✅ | Page size, range 1–100 |
| Field | Type | Description |
|---|---|---|
| Long | Total records |
| Long | Total pages |
| Array | Transaction record list |
| String | Transaction type |
| String | Push status |
| String | Transaction order number |
| String | Original transaction order number |
| String | Card number (masked) |
| BigDecimal | Transaction amount |
| String | Transaction currency |
| Long | Transaction time (timestamp, milliseconds) |
| BigDecimal | Card amount |
| String | Card currency |
| BigDecimal | Settlement amount |
| String | Settlement currency |
| BigDecimal | Transaction fee |
| BigDecimal | Cross-border fee |
| BigDecimal | Exchange fee |
| String | Merchant name |
| String | Merchant country code |
| String | Merchant MCC code |
| String | Push status: |
| Integer | Push attempts |
authorizationCode, authMessageDesc, settleTime, fee currency fields, and merchant address details. See the response example for all fields.{
"respCode": "20000",
"respMsg": "success",
"data": {
"total": 1,
"pages": 1,
"pageNum": 1,
"pageSize": 10,
"list": [
{
"txnType": "CHARGE",
"txnStatus": "S",
"txnOrderNo": "TXN20260101001",
"originTxnOrderNo": null,
"originTxnOrderNoForRefund": null,
"cardNo": "411111******1111",
"authTime": 1735689600000,
"authorizationCode": "AUTH001",
"authMessageDesc": "Approved",
"transactionAmount": 50.00,
"transactionCurrency": "USD",
"transactionTime": 1735689600000,
"cardAmount": 50.00,
"cardCurrency": "USD",
"settleAmount": 50.00,
"settleCurrency": "USD",
"settleTime": 1735776000000,
"transactionFee": 0.50,
"transactionFeeCurrency": "USD",
"crossBorderFee": null,
"crossBorderFeeCurrency": null,
"exchangeFee": null,
"exchangeFeeCurrency": null,
"merchantId": "MCH001",
"merchantName": "Amazon",
"merchantCountry": "United States",
"merchantCountryCode": "US",
"merchantStateProvince": "WA",
"merchantCity": "Seattle",
"merchantPostalCode": "98101",
"merchantMccCode": "5411",
"sendStatus": "S",
"sendTimes": 1
}
]
}
}