Retrieve detailed fee information for an order
Fees
Query Transaction Fee
Query transaction fee, revenue share, payment details, and settlement information by merchant trade number. This is a GET endpoint; pass merchantTradeNo as a URL query parameter.
GET
Retrieve detailed fee information for an order
Overview
This page documents theGET /api/open/v1/pay/order/fee/query 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.
- This is a GET endpoint; pass
merchantTradeNoas a URL query parameter, not in POST body or form-data. - Response
dataaddstotalInstitutionFeeAmountandpayDetails[].institutionFeeAmount. - Terminology: transaction fee is collected by the platform; revenue share is institution markup; settlement amount is credited after deducting both.
- Pending settlement still returns an error (fees being calculated).
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Headers
Merchant client ID
Example:
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
Signature
Example:
"672d5650dcc9bb22ebf25fa16c28d03c0e159d742a9176d4340a5da326d75dc8"
Millisecond timestamp; the difference from server time must not exceed 30 seconds.
Example:
"1672905655498"
Nonce
Example:
"9578"
Query Parameters
Merchant order ID

