Account
Enable Asset For Account
POST
Headers
The Basic Authentication header. Format: "Basic {base64(orgID:apiKey)}"
Path Parameters
The key of the ledger. Examples:
- "123e4567-e89b-12d3-a456-426614174000"
- "id:123e4567-e89b-12d3-a456-426614174000"
- "ref:ledger:customer_a"
The key of the account. Examples:
- "123e4567-e89b-12d3-a456-426614174000"
- "id:123e4567-e89b-12d3-a456-426614174000"
- "ref:internal:revenue:fx"
The code of the asset. Examples:
- "USD" (US Dollar)
- "EUR" (Euro)
- "AAPL" (Apple Inc. stock)
- "BTC" (Bitcoin)
- "USD/2" (Custom USD variant)
- "USD/4" (Another USD variant)
- "GOLD_OZ" (Gold per ounce)
- "LOYALTY_PTS" (Custom loyalty points)
Body
application/json
The maximum balance allowed for the asset, defaults to max int64 if not set
The minimum balance allowed for the asset, defaults to 0 if not set
Response
200 - application/json
The unique identifier of the account
The externally defined reference of the account
Minimum length:
1
The default asset for the account
Minimum length:
1
The enabled assets for the account with asset rules such as min/max balances
Additional, optional, metadata for the account
The status of the account, defaults to ACTIVE
Available options:
ACTIVE
, INACTIVE
, INACTIVE