List accounts

You can use your access token to list the accounts you have access to in this workspace. Make a GET request to the search accounts endpoint:

curl --request GET \
  --url https://api.vault.ledger.com/accounts \
  --header 'authorization: Bearer {{access_token}}' \
  --header 'content-type: application/json' \
  --header 'x-ledger-workspace: minivault'

This request returns a list of accounts along with their details, including balance, currency, and status. This endpoint is paginated, to learn more about how pagination work please refer the the API documentationarrow-up-right.

Last updated