Skip to main content

Manage Investment Plan

info
  1. Fund configuration (updateFunds) can only be modified when the plan is in Init, PendingSubscription, or Active status.
  2. Plans in Deleted or Closed status do not allow adding new funds.
  3. Any fund being added or updated must be in PendingSubscribe (pending subscription) status.

HTTP Request

POST/v5/earn/pwm/asset-manager/manage-investment-plan

Request Parameters

ParameterRequiredTypeComments
planIdtruestringInvestment plan ID
updateStatusfalsestringUpdate plan status. Options: Closed / Deleted. Status is unchanged if omitted
updateFundsfalsearrayFund list to update. If a matching fundId exists, the amount is updated; otherwise a new fund is added. Max 10 entries. Returns an error if duplicate fundId entries are present
> fundIdtruestringFund ID
> amounttruestringConfigured amount (base coin)
reqLinkIdtruestringUser-defined request ID, max 36 characters, used for idempotency

Response Parameters

ParameterTypeComments
planIdstringInvestment plan ID
statusstringCurrent plan status: PendingSubscription / Active / Closed / Deleted
updatedTimestringStatus update timestamp (milliseconds)
updateFundsarrayFund configuration bound to the investment plan after the update
> fundIdstringFund ID
> amountstringConfigured amount (base coin)

Request Example

POST /v5/earn/pwm/asset-manager/manage-investment-plan HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1741651200000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"planId": "10088",
"updateStatus": "Closed",
"updateFunds": [
{
"fundId": "430",
"amount": "100000"
},
{
"fundId": "2005",
"amount": "270000"
}
],
"reqLinkId": "manage-plan-001"
}

Response Example

{
"retCode": 0,
"retMsg": "success",
"result": {
"planId": "10088",
"status": "Closed",
"updateFunds": [
{
"fundId": "430",
"amount": "100000"
},
{
"fundId": "2005",
"amount": "270000"
}
],
"updatedTime": "1701700000000"
}
}