申购折价买币产品(USER_DATA)
接口描述
申购折价买币产品
HTTP请求
POST /sapi/v1/accumulator/product/subscribe
请求权重
1(IP)
请求参数
| 名称 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| projectId | LONG | YES | 从 /sapi/v1/accumulator/product/list 获得id |
| orderId | STRING | YES | 从 /sapi/v1/accumulator/product/list 获得orderId |
| depositAmount | BigDecimal | YES | 申购金额 |
| recvWindow | LONG | NO | 该值不能大于 60000 |
| timestamp | LONG | YES |
失败消息:
- 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
}