
# FAQs

## Q1: Does WEEX provide a Partner / Rebate API?

Yes. WEEX provides the Partner API, which can be used to query partner-related data such as invited users, trading volume, rebates, and assets.

Documentation entry: [Partner API](/products/partner/intro)

## Q2: Why does the rebate API return 403 or 40022?

This is usually caused by using an old API version or by an account permission mismatch. Please use the V3 Partner API first, and confirm that the current account has the required partner/rebate permissions.

Rebate API example: [GetAffiliateCommission](/products/partner/rebate-endpoints/GetAffiliateCommission)

## Q3: Can I query the list of users I invited?

Yes. You can use `GetAffiliateUIDs` to query the invited user list.

Documentation: [GetAffiliateUIDs](/products/partner/rebate-endpoints/GetAffiliateUIDs)

## Q4: Can I query trading data for a specific UID?

Yes. You can use `GetChannelUserTradeAndAsset` to query the trading volume, deposits, withdrawals, rebates, and other data of a specified invited user.

Documentation: [GetChannelUserTradeAndAsset](/products/partner/rebate-endpoints/GetChannelUserTradeAndAsset)

## Q5: Can I query a user's spot and futures trading volume?

Yes. `GetChannelUserTradeAndAsset` supports querying the spot and futures trading volume of invited users, and supports custom time ranges.

## Q6: Can I query my rebates and user transaction fees?

Yes. You can use `GetAffiliateCommission` to query rebate records, transaction fees, rebate ratios, trading pairs, maker/taker information, and more.

Documentation: [GetAffiliateCommission](/products/partner/rebate-endpoints/GetAffiliateCommission)

## Q7: Can I query invited users' assets, balances, and deposit information?

Yes. You can use `GetAffiliateAssets` to query invited users' spot assets, futures assets, available balances, and deposit-related information.

Documentation: [GetAffiliateAssets](/products/partner/rebate-endpoints/GetAffiliateAssets)

## Q8: Does the API return user KYC status or registration time?

Yes. Use `GetAffiliateUIDs` to query invited user information. The returned `channelUserInfoItemList` contains `kycResult` (KYC verification status) and `registerTime` (registration timestamp in milliseconds). Access is limited by the partner account permissions and invitation relationship.

Documentation: [GetAffiliateUIDs](/catalog/vip-institutional-partner/api/rest-api/rebate-endpoints#get-affiliate-uids)

## Q9: Can the API query a user's current positions or copy trading information?

Currently, API queries for invited users' current futures positions, copy trading, or copy transaction information are not supported.

## Q10: How can I confirm whether a user registered through my invitation code?

You can use the `VerifyReferrals` interface to verify whether the user matches the invitation code or invitation relationship.

Documentation: [VerifyReferrals](/products/partner/rebate-endpoints/VerifyReferrals)

## Q11: Can I query sub-agent or sub-channel data?

Yes. You can use `QuerySubChannelTransactions` to query sub-agent-related information.

Documentation: [QuerySubChannelTransactions](/products/partner/rebate-endpoints/QuerySubChannelTransactions)

## Q12: Does the Partner API provide a test environment?

Currently, the Partner API does not provide a dedicated sandbox/test environment. The demo trading API is only applicable to testing some trading interfaces and cannot be used as a Partner API test environment.

## Q13: Why is the rebate data query empty?

Possible reasons include: rebates have not been settled yet, the query time range is incorrect, required parameters are missing, or there is no matching data within the selected time range. We recommend confirming the time range and parameters before querying again.

## Q14: What are the units for trading volume, rebates, deposits, and withdrawals?

Related amount fields are usually returned in USDT terms.

## Q15: After each sub-partner creates their own API Key, what data can they view?

When sub-partners use API Keys created under their own accounts, they can only view invited users and rebate data within the permission scope of their accounts.

## Q16: How should API requests be signed?

Please generate `ACCESS-SIGN` according to the Partner API signature documentation, and include `ACCESS-KEY`, `ACCESS-SIGN`, `ACCESS-TIMESTAMP`, `ACCESS-PASSPHRASE`, and other required information in the request headers.

Documentation: [Signature](/products/partner/QuickStart/Signature)
