Account
Update Account
PUT
This endpoint updates an account and associated asset rules
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"
Body
application/json
the new default asset code for the account
Minimum length:
1
the new metadata for the account, will overwrite existing metadata
the new status for the account
Available options:
ACTIVE
, INACTIVE
, INACTIVE
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