curl --request GET \
--url https://openplatform.gateapi.io/rate/commission_rule \
--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>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"sub_merchant_id": "123456789",
"has_markup": true,
"config_id": "cfg_202604150001",
"r_markup": 0.001,
"f_markup": 0,
"status": "EFFECTIVE",
"effective_date": "2026-04-15 00:00:00",
"expired_date": null,
"actual_rate": {
"r_total": 0.0035,
"f_total": 1
},
"updated_at": "2026-04-15T08:30:00Z"
}
}查询子账户在指定时间的生效配置,不传时间则返回当前时间的生效配置。
curl --request GET \
--url https://openplatform.gateapi.io/rate/commission_rule \
--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>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"sub_merchant_id": "123456789",
"has_markup": true,
"config_id": "cfg_202604150001",
"r_markup": 0.001,
"f_markup": 0,
"status": "EFFECTIVE",
"effective_date": "2026-04-15 00:00:00",
"expired_date": null,
"actual_rate": {
"r_total": 0.0035,
"f_total": 1
},
"updated_at": "2026-04-15T08:30:00Z"
}
}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.
X-GatePay-MerchantId 标识主商户上下文,不使用 X-GatePay-On-Behalf-Of。应用 ClientId。
使用 Payment API Secret 生成的 HMAC-SHA512 签名。
UTC 毫秒时间戳。
随机字符串,用于防重放。
主商户 ID。该接口组通过此请求头声明当前机构主商户上下文。