Savings redemption
Frequency limit: 10c/1s (Uid)
HTTP Request
- POST /api/v2/earn/savings/redeem
Request Example
curl -X POST "https://api.bitget.com/api/v2/earn/savings/redeem" \
-H "ACCESS-KEY:you apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d \'{"periodType":"flexible","productId":"23123123","amount":"99999999"}'
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
productId | String | Yes | productId |
periodType | String | Yes | period type flexible flexible current fixed fixed term |
amount | String | Yes | subscribe amount |
Response example
{
"code": "00000",
"msg": "success",
"requestTime": 1696751519392,
"data": {
"orderId": "123123123",
"status": "2000.000000"
}
}
Response Parameters
Parameter | Type | Description |
---|---|---|
orderId | String | Redemption successful order ID |
status | String | order status |