curl --request POST \
--url https://openplatform.gateapi.io/rate/commission_rule/list \
--header 'Content-Type: application/json' \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-MerchantId: <x-gatepay-merchantid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>' \
--data '
{
"pageNum": 1,
"pageSize": 20,
"has_markup": true,
"status": "EFFECTIVE",
"sub_merchant_id": "123456789"
}
'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"records": [
{
"sub_merchant_id": "123456789",
"has_markup": true,
"r_markup": 0.001,
"f_markup": 0,
"actual_rate": {
"r_total": 0.0035,
"f_total": 1
},
"status": "EFFECTIVE",
"effective_date": "2026-04-17 00:00:00",
"due_date": null,
"updated_at": "2026-04-17T08:00:00Z"
}
],
"total": 48,
"size": 20,
"current": 1,
"pages": 3
}
}按子账户、是否已配置 Markup、状态等条件分页检索费用规则概览。列表返回当前版本的核心费率字段,可直接用于运营排查和后台展示。
curl --request POST \
--url https://openplatform.gateapi.io/rate/commission_rule/list \
--header 'Content-Type: application/json' \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-MerchantId: <x-gatepay-merchantid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>' \
--data '
{
"pageNum": 1,
"pageSize": 20,
"has_markup": true,
"status": "EFFECTIVE",
"sub_merchant_id": "123456789"
}
'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"records": [
{
"sub_merchant_id": "123456789",
"has_markup": true,
"r_markup": 0.001,
"f_markup": 0,
"actual_rate": {
"r_total": 0.0035,
"f_total": 1
},
"status": "EFFECTIVE",
"effective_date": "2026-04-17 00:00:00",
"due_date": null,
"updated_at": "2026-04-17T08:00:00Z"
}
],
"total": 48,
"size": 20,
"current": 1,
"pages": 3
}
}Documentation Index
Fetch the complete documentation index at: https://docs.gate.com/llms.txt
Use this file to discover all available pages before exploring further.
pageNum / pageSize,同时兼容 page / page_size 别名。X-GatePay-MerchantId 标识主商户上下文,不使用 X-GatePay-On-Behalf-Of。应用 ClientId。
使用 Payment API Secret 生成的 HMAC-SHA512 签名。
UTC 毫秒时间戳。
随机字符串,用于防重放。
主商户 ID。该接口组通过此请求头声明当前机构主商户上下文。