Set Portfolio Deposit Destination

Sets a RapidX Portfolio deposit destination and returns its full configuration.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 typeCan callPortfolio selection
Main User Level (also the Main Portfolio key)YesOmit portfolioId for the Main Portfolio, or specify an accessible Sub Portfolio.
Sub-user LevelYesMust specify a Portfolio assigned to the sub-user.
Dedicated Sub Portfolio LevelYesOmit portfolioId or specify its own ID.
Exchange-native keyNoUse an LTP API key.

Setting a destination

accountType is required: BINANCE, OKX or EDX. Supply currency and network together, or omit both.

Body fieldsEffect
accountType + currency + networkSet only this pair. Other pairs and the default destination remain unchanged.
accountType, without currency or networkSet 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:

FieldTypeDescription
codeinteger200 means the configuration was saved.
messagestringResult message.
data.portfolioIdstringSelected RapidX Portfolio ID.
data.defaultAccountTypestringDestination for pairs with no individual setting.
data.currencyOverridesarrayFull list of individual settings after the change, not just the changed item.
data.currencyOverrides[].currencystringCurrency symbol.
data.currencyOverrides[].networkstringLTP network code.
data.currencyOverrides[].accountTypestringDestination for this pair.
data.currencyOverrides[].updatedAtintegerLast 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.

CodeMeaning
1002A field fails a constraint, including missing or blank accountType.
1001A Sub-user omitted portfolioId, or only one of currency and network was supplied.
1000Invalid Portfolio ID format.
402003The Portfolio is outside this key's accessible scope.
402006The Portfolio does not exist.
403020Unsupported destination accountType; use BINANCE, OKX or EDX.
403021The selected Portfolio is not a RapidX Portfolio.

Successful and error response examples are available in the response panel.

Body Params
string

Main User: omit for Main Portfolio or specify an accessible Sub Portfolio. Dedicated Sub Portfolio: omit for itself or supply its own ID. Sub-user: must specify an assigned Portfolio ID. Missing for Sub-user returns 1001; an explicitly empty or malformed ID returns 1000.

string
enum
required

RapidX deposit destination. Enum input is case-insensitive.

Allowed:
string

Supply together with network to set only this pair; omit both to reset the default and clear all overrides.

string

Supply together with currency. Currency-only settings are not supported.

Headers
string
required

Current Unix timestamp in seconds. Use the same nonce when signing.

string
required

HMAC-SHA256 hex signature. See Authentication.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json