Earn
General
Subscribe to Earn Fixed Income Products
This endpoint allows subscribing to fixed income products. If the subscription fails, it returns the corresponding error code.
HTTP REQUEST
POST /api/v1/earn/orders
Example
POST /api/v1/earn/orders
{
"code": "200000",
"data": {
"orderId": "30112",
"orderTxId": "7543"
}
}
API KEY PERMISSIONS
This endpoint requires earn permission.
REQUEST URL
This endpoint supports Spot URL.
REQUEST RATE LIMIT
Earn weight: 5
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
productId | String | Yes | Product ID |
amount | String | Yes | Subscription amount |
accountType | String | Yes | MAIN (funding account), TRADE (trading account) |
RESPONSES
Param | Description |
---|---|
orderId | Holding ID |
orderTxId | Subscription order ID |