Skip to main content

Query Position Detail

Type: GET

Description: /v4/finance/position-detail

Query user's earn position detail by position ID.

Parameters

NameTypeMandatoryDescription
positionIdstringtruePosition ID

Request Example

Request
curl -G "https://sapi.xt.com/v4/finance/position-detail" \
-H "validate-appkey: $APPKEY" \
-H "validate-timestamp: $TIMESTAMP" \
-H "validate-signature: $SIGNATURE" \
-H "Content-Type: application/json" \
-d "positionId=123456789"

Response Example

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"positionId": "123456789",
"productId": 1001,
"currency": "USDT",
"amount": "1000.00",
"totalProfit": "12.34",
"redeemable": "800.00",
"productType": "TIME_SAVING",
"endTime": 1702592000000,
"reInvest": true
}
}

Response Fields

FieldTypeDescription
positionIdstringPosition ID
productIdlongProduct ID
currencystringCurrency
amountstringPosition amount
totalProfitstringTotal profit
redeemablestringRedeemable amount
productTypestringProduct type
endTimelongEnd time
reInvestbooleanWhether auto-reinvest is enabled