Hanzo
OpenapiWallet

Returns the caller org's wallet accounts, newest first.

Returns the caller org's wallet accounts, newest first.

GET /v1/wallet/accounts

Addresshttps://api.hanzo.ai/v1/wallet/accounts
MethodGET
Operationget_wallet_accounts
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's wallet accounts, newest first. Accounts are physically org-scoped, so another tenant's are not reachable from here.

Request

GET /v1/wallet/accounts takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200accountListok

200 body — 5 fields.

FieldInTypeAlwaysDescription
accountsbodyWalletAccount[]Accounts are the org's accounts, newest first.
accounts[].createdAtbodyintegerCreatedAt is when the account was opened, Unix seconds.
accounts[].idbodystringID is the account id, minted by the server as "acct_" + 24 hex.
accounts[].namebodystringName is the label given at creation, trimmed and required.
accounts[].orgbodystringOrg is the tenant that owns the account, stamped from the validated principal rather than taken from the request.

Failure carries the platform error shape — see Errors.

Examples

hanzo wallets accounts get

Wallet API · All Hanzo APIs · Interactive reference

How is this guide?

On this page