curl --request POST \
--url https://openplatform.gateapi.io/rate/commission_rule \
--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 '
{
"sub_merchant_id": "123456789",
"r_markup": 0.001,
"effective_date": "2026-04-17 00:00:00"
}
'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"config_id": "cfg_202604170001",
"previous_config_id": null,
"version_no": 1,
"sub_merchant_id": "123456789",
"r_markup": 0.001,
"f_markup": 0,
"status": "PENDING_EFFECTIVE",
"effective_date": "2026-04-17 00:00:00",
"due_date": "2026-12-31 23:59:59",
"created_at": "2026-04-16T16:10:00Z",
"updated_at": "2026-04-16T16:10:00Z"
}
}Creates the first markup rule for a specified sub-account. After creation, the sub-account is charged with the base rate plus the configured markup.
curl --request POST \
--url https://openplatform.gateapi.io/rate/commission_rule \
--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 '
{
"sub_merchant_id": "123456789",
"r_markup": 0.001,
"effective_date": "2026-04-17 00:00:00"
}
'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"config_id": "cfg_202604170001",
"previous_config_id": null,
"version_no": 1,
"sub_merchant_id": "123456789",
"r_markup": 0.001,
"f_markup": 0,
"status": "PENDING_EFFECTIVE",
"effective_date": "2026-04-17 00:00:00",
"due_date": "2026-12-31 23:59:59",
"created_at": "2026-04-16T16:10:00Z",
"updated_at": "2026-04-16T16:10: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 to identify the main-merchant context and does not use X-GatePay-On-Behalf-Of.Application ClientId.
HMAC-SHA512 signature generated with the Payment API Secret.
UTC timestamp in milliseconds.
Random nonce used for replay protection.
Main merchant ID. This header identifies the institution main-merchant context for this fee-setting API set.
Sub-account ID.
"123456789"
Percentage markup. Must not be null; 0 is allowed.
0.001
Effective time in yyyy-MM-dd HH:mm:ss format.
"2026-04-17 00:00:00"
Fixed markup amount in USDT. Defaults to 0 when omitted.
0
Expiration time in the same format as effective_date. Omit for an open-ended rule.
"2026-12-31 23:59:59"