Skip to main content

One Time Transaction(TRADE)

API Description#

One time transaction

HTTP Request#

POST /sapi/v1/lending/auto-invest/one-off

Request Weight(IP)#

1

Rate Limit#

once every 3s per account

Request Parameters#

NameTypeMandatoryDescription
sourceTypeSTRINGYES"MAIN_SITE" for Binance,“TR” for Binance Turkey
requestIdSTRINGNOif not null, must follow sourceType + unique string, e.g: TR12354859
subscriptionAmountDECIMALYES
sourceAssetSTRINGYESe.g “USDT”
flexibleAllowedToUseBOOLEANNOtrue/false;true: using flexible wallet
planIdLONGNOPORTFOLIO plan's Id
indexIdLONGNOnow only can set = 1
detailsArray\<PortfolioDetail>YESsum(all node's percentage) == 100,sum(all node's percentage) == 100, When input request parameter, each entry should be like details[0].targetAsset=BTC, Example of the request parameter array:
details[0].targetAsset=BTC details[0].percentage=60 details[1].targetAsset=ETH details[1].percentage=40
recvWindowLONGNOno more than 60000
timestampLONGYES
  • planId/planId/details must not all be null

Response Example#

{  "transactionId": 12345, //transaction identifier  "waitSecond": 5 // wait this second,then check the result}