Add a connected account

Creates a new connected account for the authenticated tenant.

The creds field must be a Base64-encoded RSA-encrypted credential blob.
Use GET /exchange_accounts/credentials_public_key to retrieve the public key for encryption.

The providerType is derived server-side from the providerId — callers do not supply it.

Endpoint Permission: Editor, Admin, Non-Signing Admin.

Note: This endpoint is currently in beta and might be subject to changes.

Body Params
string
required

Integration key identifying the provider (e.g. BINANCE, KINGDOM_BANK, GEMINI_NLV2).

string

Human-readable account name. Required for non-NLV2 providers.

string
required

Base64-encoded RSA-encrypted credential blob. Encrypt using the public key from GET /exchange_accounts/credentials_public_key.

string
required

Account-level API key.

string

Parent main account ID for sub-account creation. Not allowed for NLV2 providers.

string

Optional provider-side account ID to associate with the created account.

string

On-premise server ID for self-hosted integrations.

Headers
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json