Create Account(s)

post/das-rest/api/v1/account

Request Body

account_id string required
Example: 59cd72485007a239fb00282ed480da1f
coin string required
A cryptocurrency or token ticker symbol.
Example: btc
accountKey string required
The key that owns the account. Used for managing permissions to hold, move funds, etc.
Example: xpub...aXz
entityName string required
Example: BitGo Trust
type string
Type of account (AUC_CASH, AUC_AVAILABLE, etc.)
Example: AUC_CASH
backing_wallet boolean
set to true if creating a backing wallet, requires a backing_balance be provided as well
backing_balance string
string representation of the initial backing wallet balance
Example: 0
lendingWalletType string
defined if creating a lending wallet, BG_HOLDING for collateral assets and BG_CLEARING for lending assets
Allowed values: BG_HOLDING BG_CLEARING
lendingWalletBalance string
string representation of the initial lending wallet balance (base units)
Example: 0
loanIncomeType string
defined if creating a loan account: BG_RECEIVABLE for borrower, BG_LIABILITY for lender or collateral loan account
Allowed values: BG_RECEIVABLE BG_LIABILITY
origin string
origin of action as seen by requester, suitable for auditing the data flow and request chain; typically a JSON stringified set of request headers

200 Response

Array of
account_id string
Example: 59cd72485007a239fb00282ed480da1f
coin string
A cryptocurrency or token ticker symbol.
Example: btc
accountKey string
Example: xpub...aXz
entityName string
Example: BitGo Trust
type string
Type of account (AUC_CASH, AUC_AVAILABLE, etc.)
Example: AUC_CASH
balance string
Example: 10000