Get Earn Orders

Weight: 1

Request Parameters


ParameterTypeRequiredExample ValueDescription
productIdSTRING
orderTypeENUM(STRING)purchase
redeem
airdrop-interest
redeem-interest
orderIdSTRINGOne of orderId or clOrderId must be sent
clOrderIdSTRINGOne of orderId or clOrderId must be sent
limitSTRINGDefault 500, Max 1000
startTimeSTRINGLast 180 days - order creation time
endTimeSTRINGLast 180 days - order creation time
timestampLONGYTimestamp
signatureSTRINGY

Response Content


ParamTypeExampleDescription

Array
orderIdSTRINGOrder ID
clOrderIdSTRINGClient Order Id
productIdSTRINGProduct ID
orderTypeENUM(STRING)purchase
redeem

airdrop-interest
redeem-interest
statusENUM(STRING)-CANCELED(-1)

-PROCESSING(1)

-SETTLING(2)

-DONE(3)

-FAILED(4)

-PENDING_SETTLING(5)
currencySTRINGInvestment currency, e.g. BTC, USD
amountSTRING-order_type=purchase: purchase input amount


-order_type=redeem & status=3: redemption input shares equivalent value = unit × lastUnitValue


-order_type=airdrop-interest & status=3: value of airdropped shares = unit × lastUnitValue


-order_type=redeem-interest & status=3: unsettled earnings = unrealizedEarnings
priceSTRING-order_type=purchase: lastUnitValue when the purchase is completed


-order_type=redeem & status=3: lastUnitValue when the redemption is completed


-order_type=airdrop-interest & status=3: lastUnitValue of the airdropped shares obtained


-order_type=redeem-interest: 0
unitSTRINGAllocated units of tokens / portion, returned only in the following cases:


-order_type=purchase & status=3: purchase units obtained = amount / lastUnitValue


-order_type=redeem: redeemed input units


-order_type=airdrop-interest & status=3: airdropped units obtained


-order_type=redeem-interest: 0
feeSTRINGPlatform commision fee calculated in the same currency.
Appears only when order_type = redeem, so the actual amount received by the client = amount - fee.
extraFeeSTRINGFee If redemption is initiated within 1 month after purchase, an MM fee is charged, calculated in the same currency.
Appears only when order_type = redeem-interest, so the actual amount received by the client = amount - extraFee.
transactionTimeSTRINGOrder purchased time, Unix timestamp format in milliseconds, e.g. 1762222502274
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json