Account
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=. |
Longbridge HK / SG accounts only
This method is available to Longbridge HK / SG accounts only. It works with any supported symbol, including US stocks.
Pause or resume an existing recurring investment plan.
Request
Request body
| Name | Type | Required | Description |
|---|---|---|---|
plan_id | string | Required | DCA plan ID to update. |
per_invest_amount | string | Optional | New recurring investment amount. |
invest_frequency | string | Optional | Frequency: `Daily`, `Weekly`, `Fortnightly`, `Monthly`. |
invest_day_of_week | string | Optional | Day of week for weekly/fortnightly plans: `mon`–`fri`. |
invest_day_of_month | string | Optional | Day of month for monthly plans: `1`–`28`. |
Response
Response properties
| Name | Type | Required | Description |
|---|---|---|---|
plan_id | string | Required | ID of the updated plan |
Response JSON example
{
"code": 0,
"message": "success",
"data": {
"plan_id": "1286530167409217536"
}
}Error code
See the Error Codes page for the full list of error codes.