Create Fee Rule
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.
Overview
This page documents the institution-only API for creating the first markup rule for a sub-account. Full fields, request payloads, and examples are rendered from the OpenAPI definition above.Notes
- Create the first markup rule for a specified sub-account. After creation, the sub-account is charged with the base rate plus the configured markup.
- It uses
X-GatePay-MerchantIdto identify the main-merchant context and does not useX-GatePay-On-Behalf-Of. - If the sub-account already has an active or pending rule, use the upgrade endpoint instead.
Headers
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.
Body
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"

