Auto-Invest
post/sapi/v1/lending/auto-invest/one-off
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/lending/auto-invest/one-off
- AuthAPI key in header X-MBX-APIKEY
Query parameters
sourceTypestring required
Example:MAIN_SITE
requestIdstring
Example:TR12354859
subscriptionAmountnumber float required
Example:10.1
sourceAssetstring required
Example:USDT
flexibleAllowedToUseboolean
Example:true
planIdinteger
Example:12345
indexIdinteger
Example:1
[
{
"targetAsset": "BTC",
"percentage": 40
}
]recvWindowinteger
Example:5000
The value cannot be greater than 60000
timestampinteger required
UTC timestamp in ms
signaturestring required
Signature
Response
transaction result
Example response
{
"transactionId": 12345,
"waitSecond": 5
}Changes
- info
the response property
became required for the status - info
the response property
became required for the status
- info
- info
endpoint added
- info