Check If User Subscribed (Structured Products)
Type: GET
Description:
- Shark Fin:
/v4/finance/product-position/shark - Smart Trend:
/v4/finance/product-position/smart
Check if user has subscribed to structured products (Shark Fin or Smart Trend).
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| productId | long | Yes | Product ID |
Request Example (Shark Fin)
Request
curl -G "https://sapi.xt.com/v4/finance/product-position/shark" \
-d "productId=1001" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json"
Request Example (Smart Trend)
Request
curl -G "https://sapi.xt.com/v4/finance/product-position/smart" \
-d "productId=1001" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json"
Response Example
Response
{
"rc": 0,
"mc": "SUCCESS",
"ma": [],
"result": "false"
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| result | string | "true" means subscribed, "false" means not subscribed |