API reference
Vaultody
POST
/vaults/{vaultId}/vault-account
Create Vault Account
This endpoint creates a new Vault Account within a specified Vault. Each new Vault Account is created with a unique identifier and customizable display settings, such as name, color, and dashboard visibility.
Path parameters
vaultId
string
required
The ID of the vault for which a Vault Account will be created.
Query parameters
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
Body parameters application/json
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
data
object
required
item
object
required
color
string
required
e.g. #00C7E6
Color code used to visually identify the Vault Account, it should be a valid hex.
isHiddenInDashboard
boolean
required
Indicates whether the vault account should be hidden from the dashboard.
name
string
required
e.g. Vault Account Name
The name of the Vault Account being created.
Response
Returns 201 the resource has been successfully created.
apiVersion
string
required
Specifies the version of the API that incorporates this endpoint.
requestId
string
required
Defines the ID of the request. The `requestId` is generated by Vaultody and it's unique for every request.
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
data
object
required
item
object
required
addressesCount
string
required
The total number of addresses associated with this Vault Account.
balances
object[]
required
assetId
string
required
The ID of the asset.
assetName
string
required
Asset name - bitcoin, binance-smart-chain, tron, solana.
assetUnit
string
required
The symbol of the asset.
blockchain
string
required
The blockchain of the asset.
exchangeRateUnit
string
required
The pricing unit used when calculating exchange rates.
latestExchangeRateToUSD
string
required
The most recent exchange rate of the currency relative to USD.
totalAmount
string
required
The total amount of this asset held in the Vault Account.
createdAt
integer
required
Unix timestamp indicating when the Vault Account was created.
index
string
required
Internal sequential index of the Vault Account within the vault.
isHiddenInDashboard
boolean
required
Indicates whether the vault account should be hidden from the dashboard.
vaultAccountColour
string
required
The assigned color of the Vault Account.
vaultAccountId
string
required
Unique ID of the newly created Vault Account.
vaultAccountName
string
required
The name of the Vault Account.
vaultId
string
required
The ID of the vault for which a Vault Account is created.