跳到主要内容

申购折价买币产品(USER_DATA)

接口描述

申购折价买币产品

HTTP请求

POST /sapi/v1/accumulator/product/subscribe

请求权重

1(IP)

请求参数

名称类型是否必需描述
projectIdLONGYES/sapi/v1/accumulator/product/list 获得id
orderIdSTRINGYES/sapi/v1/accumulator/product/list 获得orderId
depositAmountBigDecimalYES申购金额
recvWindowLONGNO该值不能大于 60000
timestampLONGYES

失败消息:

  • Products are not available. 代表APR变小或者订单不可用。
  • Failed. 代表系统或者网络错误。

响应示例

{
"positionId": 10208824,
"investAsset": "BTC",
"targetAsset": "USDT",
"depositAmount": "100.12",
"duration": 4,
"strikePrice": "114111",
"knockOutPrice":"118000"
"settleDate": 1709020800000,
"purchaseStatus": "PURCHASE_SUCCESS",//申购中,申购成功,已结算,申购失败,退款中,退款成功,结算中
"knockOutApr": "0.3",
"orderId": 8259117597
}