Sets a RapidX Portfolio deposit destination and returns its full configuration.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Sets a RapidX Portfolio's API deposit destination, either for one currency/network pair or as its default destination. Returns the full configuration after the change. It does not initiate a deposit or transfer.
Rate limit: 60 requests per minute per API key.
API key access
Requires a signed request with TRANSFER permission. See Authentication.
| API key type | Can call | Portfolio selection |
|---|---|---|
| Main User Level (also the Main Portfolio key) | Yes | Omit portfolioId for the Main Portfolio, or specify an accessible Sub Portfolio. |
| Sub-user Level | Yes | Must specify a Portfolio assigned to the sub-user. |
| Dedicated Sub Portfolio Level | Yes | Omit portfolioId or specify its own ID. |
| Exchange-native key | No | Use an LTP API key. |
Setting a destination
accountType is required: BINANCE, OKX or EDX. Supply currency and network together, or omit both.
| Body fields | Effect |
|---|---|
accountType + currency + network | Set only this pair. Other pairs and the default destination remain unchanged. |
accountType, without currency or network | Set the default destination and clear all individual settings. |
The latest setting for the same currency/network pair takes effect. Setting a pair to the same venue as the default does not require the server to remove it from currencyOverrides. Setting only a currency, without a network, is not supported.
For example, {"portfolioId":"7100000000000002","accountType":"OKX","currency":"USDT","network":"TRC20"} changes only USDT/TRC20 for that Portfolio. Omitting both currency and network affects all pairs by resetting the default and clearing overrides.
Changes also apply to deposits already in transit. Funds use the latest destination setting when credited. The endpoint does not block changes because a deposit is in transit; avoid changing a pair's destination while expecting funds into a different venue.
Funding is not configured through this endpoint. A setting does not itself confirm the venue supports the currency/network pair. Check support before depositing; Get Deposit Address V2 rejects an unsupported effective destination with 403022. EDX supports a narrower set of pairs, so configure it per pair rather than making it the default for unrelated currencies.
Response fields
The response has the same structure as Get Portfolio Deposit Destination:
| Field | Type | Description |
|---|---|---|
code | integer | 200 means the configuration was saved. |
message | string | Result message. |
data.portfolioId | string | Selected RapidX Portfolio ID. |
data.defaultAccountType | string | Destination for pairs with no individual setting. |
data.currencyOverrides | array | Full list of individual settings after the change, not just the changed item. |
data.currencyOverrides[].currency | string | Currency symbol. |
data.currencyOverrides[].network | string | LTP network code. |
data.currencyOverrides[].accountType | string | Destination for this pair. |
data.currencyOverrides[].updatedAt | integer | Last setting update, in Unix milliseconds. |
Error codes
Check JSON code even when HTTP status is 200. Common errors are described in Error Codes. Validation messages identify the field involved; do not depend on exact message text.
| Code | Meaning |
|---|---|
1002 | A field fails a constraint, including missing or blank accountType. |
1001 | A Sub-user omitted portfolioId, or only one of currency and network was supplied. |
1000 | Invalid Portfolio ID format. |
402003 | The Portfolio is outside this key's accessible scope. |
402006 | The Portfolio does not exist. |
403020 | Unsupported destination accountType; use BINANCE, OKX or EDX. |
403021 | The selected Portfolio is not a RapidX Portfolio. |
Successful and error response examples are available in the response panel.
