v1
latestOpenAPI 3.1.0MIT2026-07-211412.6 KBEstimate Merchant Fees
Estimates transaction fee, revenue share, and settlement amount based on merchant information and order parameters. Gate Pay merchants only.
post/payClearing/clearing/previewMerchantFee
Headers
X-GatePay-Certificate-ClientIdstring required
Example:mZ96D37oKk-HrWJc
Merchant ID
X-GatePay-Signaturestring required
Example:601d560c54d53412aca5901256f101e7078b5779f61f30bedfe9a5f0b92f049589952a151ea477371e4a99ac0e1c3cc8dec62654b3c6a1794ef981efe19232bc
Signature
X-GatePay-Timestampstring required
Example:1726027137585
Timestamp (milliseconds)
X-GatePay-Noncestring required
Example:2290830087
Nonce
X-GatePay-Sub-MerchantIdstring
Example:2124674730
Sub-merchant UID for institution sub-account. Optional; revenue share (markup) is calculated only when this header is provided.
Request body
Example request
{
"orderCurrency": "USDT",
"orderAmount": "100.00"
}Response
Estimation successful
Example response
{
"status": "success",
"code": "000000",
"data": {
"merchantId": "123456789",
"merchantType": 1,
"orderCurrency": "USDT",
"orderAmount": 100,
"orderFee": 2.5,
"settleAmount": 97.5
}
}