Read a client's balances
Changed onOne row per account the client holds: the tokens on the smart wallet of the client selected by X-Hevn-Account, plus any custodial balance. USDC_ARB is USDC on Arbitrum at the same wallet address; it is turned on with the client's first balance read. A custodial row is read live from the provider that holds it and is left out when that provider cannot be reached.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The selected client account, as a cl_… id.
Response
Successful Response
Example response
{
"clientId": "cl_9f2c1ab84d7e4f1fa3c65b0e7d9a2c41",
"accounts": [
{
"balance": "500.00",
"usdValue": "500.00"
}
],
"totalUsd": "500.00"
}Changes
- warning
added the new
FDIC_EURenum value to the//response property for the response status - warning
added the new
verification_not_applicableenum value to the/response property for the response status - info
removed the
phone_requiredenum value from the/response property for the response status - info
removed the
rail_requirements_unmetenum value from the/response property for the response status
- warning
- warning
deleted the
headerrequest parameterx-api-key - warning
added the new
KYC_CARDSenum value to the//response property for the response status - warning
added the new
RDenum value to the//response property for the response status - warning
added the new
USDC_ARBenum value to the//response property for the response status - warning
added the new
client_already_linkedenum value to the/response property for the response status - warning
added the new
kyb_documents_processingenum value to the/response property for the response status - warning
added the new
link_code_expiredenum value to the/response property for the response status - warning
added the new
link_code_invalidenum value to the/response property for the response status - warning
added the new
payout_not_awaiting_signatureenum value to the/response property for the response status - warning
added the new
redirect_uri_not_allowedenum value to the/response property for the response status - warning
added the new
sandbox_amount_limit_exceededenum value to the/response property for the response status - warning
added the new
sandbox_faucet_balance_too_highenum value to the/response property for the response status - info
removed the
client_policy_not_enabledenum value from the/response property for the response status - info
removed the
client_request_conflictenum value from the/response property for the response status - info
removed the
email_in_useenum value from the/response property for the response status - info
removed the
integrator_inactiveenum value from the/response property for the response status - info
removed the
name_in_useenum value from the/response property for the response status
- warning