---
title: "One Time Transaction(TRADE)"
method: POST
path: "/sapi/v1/lending/auto-invest/one-off"
tags: ["Auto-Invest"]
---

# One Time Transaction(TRADE)

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

## Request

- Base URL: `https://api.binance.com`
- URL: `https://api.binance.com/sapi/v1/lending/auto-invest/one-off`
- Auth: API key in header `X-MBX-APIKEY`

One time transaction

Weight(IP): 1

## Query parameters

- `sourceType` string, required
- `requestId` string
- `subscriptionAmount` number, float, required
- `sourceAsset` string, required
- `flexibleAllowedToUse` boolean
- `planId` integer
- `indexId` integer
- `details` object[]
  - `targetAsset` string
  - `percentage` integer
- `recvWindow` integer
- `timestamp` integer, required
- `signature` string, required

## Response `200`

transaction result

- object
  - `transactionId` integer, required
  - `waitSecond` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized Request

## Changes

- **2023-11-15** `9399561e0be2`: 2 info
  - the response property `transactionId` became required for the status `200`
  - the response property `waitSecond` became required for the status `200`
- **2023-09-28** `1c55b3bb10d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/lending/auto-invest/one-off/post.md)

---

[API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) - [All operations](https://skmtc.dev/binance/apis/binance-public-spot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/binance/apis/binance-public-spot-api/revisions/0dd2f133e12d?raw)
