跳到主要内容

申购双币产品(USER_DATA)

接口描述

申购双币产品

HTTP请求

POST /sapi/v1/dci/product/subscribe

请求权重

1(IP)

请求参数

名称类型是否必需描述
idSTRINGYES/sapi/v1/dci/product/list 获得id
orderIdSTRINGYES/sapi/v1/dci/product/list 获得orderId
depositAmountDECIMALYES申购金额
autoCompoundPlanENUMYES输入参数:NONE, STANDARD, ADVANCED, NONE=关闭自动复投计划,STANDARD= 基础计划,ADVANCED= 进阶计划
recvWindowLONGNO该值不能大于 60000
timestampLONGYES

失败消息:

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

响应示例

{
"positionId": 10208824,
"investCoin": "BNB",
"exercisedCoin": "USDT",
"subscriptionAmount": "0.002",
"duration": 4,
"autoCompoundPlan": "STANDARD", //基础计划, 进阶计划;autoCompoundPlan为None时此字段不显示
"strikePrice": "380",
"settleDate": 1709020800000,
"purchaseStatus": "PURCHASE_SUCCESS",
"apr": "0.7397",
"orderId": 8259117597,
"purchaseTime": 1708677583874,
"optionType": "CALL"
}