Estimate Merchant Fees
Fees
Preview Merchant Fee
This API is used to estimate the transaction fee amount based on merchant information, order amount, and other parameters. Only Gate Pay merchants can call this API.
POST
Estimate Merchant Fees
Overview
This page documents thePOST /payClearing/clearing/previewMerchantFee endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Notes
- Authentication uses the standard GatePay signed headers.
- This page documents the standard merchant endpoint.
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Headers
Merchant ID
Example:
"mZ96D37oKk-HrWJc"
Signature
Example:
"601d560c54d53412aca5901256f101e7078b5779f61f30bedfe9a5f0b92f049589952a151ea477371e4a99ac0e1c3cc8dec62654b3c6a1794ef981efe19232bc"
Timestamp (milliseconds)
Example:
"1726027137585"
Nonce
Example:
"2290830087"
Body
application/json
Estimate merchant fee request parameters
Order currency, e.g., USDT, USDC, etc.
Example:
"USDT"
Integration mode: 0=Gate Pay, 1=Web3 payment
Available options:
0, 1 Example:
0
Transaction type (Scenario): 0=Collection
Available options:
0 Example:
0
Order amount, must be greater than or equal to 0
Example:
"100.00"

