Organization

Get All Assets

Fetches the list of available assets to populate the dropdown box in the New Disbursement flow. Note: the organization must hold a balance in a particular asset to use it in a disbursement.

get/assets

Query parameters

enabledboolean

When set, each asset also reports whether the selected distribution account can send it and what it currently holds. true returns only assets the account is set up for, false only those it is not.

Headers

X-Wallet-Idstring

Optional. When the enabled filter is used, selects the distribution account that the enabled and balance fields describe. Omit it to describe the tenant's default account.

Response

A list of assets. When the enabled filter is used, each entry also carries enabled and balance.

Example response

[
  {
    "id": "ffaec4b3-46b0-4db4-a4c4-6c3508057705",
    "code": "USDC",
    "issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5",
    "created_at": "2023-02-03T10:45:51Z",
    "updated_at": "2023-02-03T10:45:51Z",
    "deleted_at": "2023-06-03T10:55:51Z"
  }
]

Changes