Skip to main content
GET
Get wallet token allowances
Requires scope: manage:accounts — see Required scopes. Returns the token allowances granted from a self-custody wallet to the orchestration wallet. Filter by asset. Amounts are decimal strings; a uint256-max value indicates an unlimited allowance. Allowances are established with permits.
Self-custody companies only. On a Venly-managed company this returns 400 invalid-request — “Allowances are only applicable for SELF_CUSTODY companies” — since managed wallets have no allowance to read.

Authorizations

FlowClient Credentials
Token URL
https://login-staging.venly.io/auth/realms/VenlyFinance/protocol/openid-connect/token

Headers

x-tenant-id
string<uuid>

Which tenant the request is scoped to, among those your token grants. Omit it when the token grants exactly one tenant; it is required when the token grants more than one. A supplied value must exactly match a tenant the token grants.

Absent when required, blank, malformed, or naming a tenant the token does not grant — each gets the same generic 403 forbidden, which reveals neither whether a tenant exists nor which ones you may use. Send the header once: a repeated header is rejected the same way.

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Path Parameters

accountId
string<uuid>
required

Unique account identifier

walletId
string<uuid>
required

Unique wallet identifier

Query Parameters

asset
string

Filter by a specific asset (e.g. USDC)

Response

List of token allowances

success
boolean

Indicates whether the request was successful

result
object[]