Use this endpoint to check the crypto asset balances held in a merchant’s custody wallet. Pass a specific merchantId to scope results to a single merchant, or pass 0 to receive aggregated totals across all merchants linked to your API key. Each asset entry shows the total balance, the free (available) portion, and any locked amount (reserved for pending orders).
All requests must include the X-BH-TOKEN header with a business token from GET /v2/token/generate.
When merchantId is 0, the API sums balances across all merchants bound to the same account. Use this to get a portfolio-level view without looping through individual merchant IDs.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"VelaFi","colors":{"primary":"#169f3f","light":"#040404","dark":"#88fa9b"},"logo":{"light":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f","dark":"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/dark.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=9770c7da4d30cb382b253680e64870ed"},"favicon":{"light":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=cf3c616ff2233c52dc591e9975563199","dark":"https://mintcdn.com/vela-fi/XH9g8nudshhASCqT/favicon-dark.svg?fit=max\u0026auto=format\u0026n=XH9g8nudshhASCqT\u0026q=85\u0026s=1371f9989873a608a201b7fbcfddb0c0"},"api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript","java"]},"mdx":{"auth":{"method":"key","name":"X-BH-TOKEN"},"server":"https://api-test.velafi.com"}},"navbar":{"primary":{"type":"button","label":"Sign Up","href":"https://www.velafi.com/signup"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"cn","href":"cn"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vela-fi","hasAudioNarration":false,"actualSubdomain":"vela-fi","customDomains":["docs.velafi.com"],"gitSource":{"type":"github","owner":"velafi-tech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","collectionId":"fadc3c54-2265-4b31-ac50-4c4ebdd534a1","liveDeploymentHistoryId":"6aeab1a18dbebd24c08c0aa1","schemaVersion":"v3"},"feedback":{"edits":true,"issues":true,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeab1a18dbebd24c08c0aa1","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"en","tag":"API Reference","count":70},{"language":"cn","tag":"API 参考","count":70},{"language":"es","tag":"Referencia de API","count":70},{"language":"en","tag":"Documentation","count":20},{"language":"cn","tag":"文档","count":20},{"language":"es","tag":"Documentación","count":20},{"language":"en","tag":"Merchants","count":19},{"language":"cn","tag":"商户","count":19},{"language":"es","tag":"Comercios","count":19},{"language":"en","tag":"Configuration","count":11},{"language":"en","tag":"Webhooks","count":11},{"language":"cn","tag":"配置","count":11},{"language":"cn","tag":"Webhooks","count":11},{"language":"es","tag":"Configuración","count":11},{"language":"es","tag":"Webhooks","count":11},{"language":"en","tag":"Beneficiaries","count":9},{"language":"en","tag":"Guides","count":9},{"language":"cn","tag":"收款人","count":9},{"language":"cn","tag":"指南","count":9},{"language":"es","tag":"Beneficiarios","count":9},{"language":"es","tag":"Guías","count":9},{"language":"en","tag":"Crypto Wallet","count":7},{"language":"en","tag":"Orders","count":7},{"language":"cn","tag":"加密钱包","count":7},{"language":"cn","tag":"订单","count":7},{"language":"es","tag":"Billetera cripto","count":7},{"language":"es","tag":"Órdenes","count":7},{"language":"en","tag":"Core Concepts","count":6},{"language":"cn","tag":"核心概念","count":6},{"language":"es","tag":"Conceptos clave","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/merchant/get-crypto-assets-balance","slug":"/api-reference/merchant/get-crypto-assets-balance","pageMetadata":{"title":"Get Crypto Balance","sidebarTitle":"Crypto Balance","description":"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.","api":"GET /v2/assets/account/assets","href":"/api-reference/merchant/get-crypto-assets-balance"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,ResponseField,Tab,Tabs}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint to check the crypto asset balances held in a merchant’s custody wallet. Pass a specific `,_jsx(_components.code,{children:`merchantId`}),` to scope results to a single merchant, or pass `,_jsx(_components.code,{children:`0`}),` to receive aggregated totals across all merchants linked to your API key. Each asset entry shows the total balance, the free (available) portion, and any locked amount (reserved for pending orders).`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`All requests must include the `,_jsx(_components.code,{children:`X-BH-TOKEN`}),` header with a business token from `,_jsx(_components.code,{children:`GET /v2/token/generate`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(_components.p,{children:_jsx(_components.code,{children:`GET https://api.velafi.com/v2/assets/account/assets`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`merchantId`,type:`integer`,required:true,id:`param-merchant-id`,children:_jsxs(_components.p,{children:[`The ID of the merchant to query. Pass `,_jsx(_components.code,{children:`0`}),` to aggregate balances across all merchants linked to this API key.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`code`,type:`number`,id:`param-code`,children:_jsxs(_components.p,{children:[`HTTP-style response code. `,_jsx(_components.code,{children:`200`}),` indicates success.`]})}),`\n`,_jsx(ResponseField,{name:`msg`,type:`string`,id:`param-msg`,children:_jsxs(_components.p,{children:[`Human-readable status message, e.g. `,_jsx(_components.code,{children:`SUCCESS`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`data fields`,children:[_jsx(ResponseField,{name:`canDeposit`,type:`boolean`,id:`param-can-deposit`,children:_jsx(_components.p,{children:`Whether the account is currently able to receive crypto deposits.`})}),_jsx(ResponseField,{name:`balances`,type:`array`,id:`param-balances`,children:_jsxs(Expandable,{title:`balance item fields`,children:[_jsx(ResponseField,{name:`asset`,type:`string`,id:`param-asset`,children:_jsxs(_components.p,{children:[`Asset symbol, e.g. `,_jsx(_components.code,{children:`USDT`}),`, `,_jsx(_components.code,{children:`BTC`}),`, `,_jsx(_components.code,{children:`USDC`}),`.`]})}),_jsx(ResponseField,{name:`assetId`,type:`string`,id:`param-asset-id`,children:_jsx(_components.p,{children:`Internal asset identifier.`})}),_jsx(ResponseField,{name:`assetName`,type:`string`,id:`param-asset-name`,children:_jsx(_components.p,{children:`Human-readable asset display name.`})}),_jsx(ResponseField,{name:`total`,type:`string`,id:`param-total`,children:_jsx(_components.p,{children:`Total balance held in this asset.`})}),_jsx(ResponseField,{name:`free`,type:`string`,id:`param-free`,children:_jsx(_components.p,{children:`Available balance not reserved for pending orders.`})}),_jsx(ResponseField,{name:`locked`,type:`string`,id:`param-locked`,children:_jsx(_components.p,{children:`Balance reserved for open or in-progress orders.`})})]})})]})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Specific Merchant`,id:`specific-merchant`,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.velafi.com/v2/assets/account/assets`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-BH-TOKEN: YOUR_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"merchantId=12345\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response`,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canDeposit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"balances\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"free\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"800\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"200\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"free\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.2\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Tab,{title:`Aggregated (All Merchants)`,id:`aggregated-all-merchants`,children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.velafi.com/v2/assets/account/assets`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-BH-TOKEN: YOUR_TOKEN\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"merchantId=0\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response`,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"msg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SUCCESS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"canDeposit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"balances\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"free\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"asset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"assetName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"free\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"locked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0.5\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`merchantId`}),` is `,_jsx(_components.code,{children:`0`}),`, the API sums balances across all merchants bound to the same account. Use this to get a portfolio-level view without looping through individual merchant IDs.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Crypto Balance","sidebarTitle":"Crypto Balance","description":"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.","api":"GET /v2/assets/account/assets","href":"/api-reference/merchant/get-crypto-assets-balance"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Get Crypto Balance","path":"/v2/assets/account/assets","servers":[{"url":"https://api-test.velafi.com"}],"method":"get","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-BH-TOKEN":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{"merchantId":{"schema":[{"type":"integer","description":"The ID of the merchant to query. Pass `0` to aggregate balances across all merchants linked to this API key.","required":true}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"number","description":"HTTP-style response code. `200` indicates success."}],"msg":[{"type":"string","description":"Human-readable status message, e.g. `SUCCESS` ."}],"data":[{"type":"object","properties":{"canDeposit":[{"type":"boolean","description":"Whether the account is currently able to receive crypto deposits."}],"balances":[{"type":"array","items":[{"type":"object","properties":{"asset":[{"type":"string","description":"Asset symbol, e.g. `USDT` , `BTC` , `USDC` ."}],"assetId":[{"type":"string","description":"Internal asset identifier."}],"assetName":[{"type":"string","description":"Human-readable asset display name."}],"total":[{"type":"string","description":"Total balance held in this asset."}],"free":[{"type":"string","description":"Available balance not reserved for pending orders."}],"locked":[{"type":"string","description":"Balance reserved for open or in-progress orders."}]}}]}]}}]}}],"examples":{"example":{"value":{"code":123,"msg":"\u003cstring>","data":{"canDeposit":true,"balances":[{"asset":"\u003cstring>","assetId":"\u003cstring>","assetName":"\u003cstring>","total":"\u003cstring>","free":"\u003cstring>","locked":"\u003cstring>"}]}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"vela-fi","siteName":"VelaFi","title":"Get Crypto Balance - VelaFi","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/merchant/get-crypto-assets-balance","matchLevel":0},"cn":{"href":"/cn/api-reference/merchant/get-crypto-assets-balance","matchLevel":1},"es":{"href":"/es/api-reference/merchant/get-crypto-assets-balance","matchLevel":1}}},"lastModified":"2026-11-04T03:05:11.518Z","originalFileLocation":"api-reference/merchant/get-crypto-assets-balance.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Crypto Balance - VelaFi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VelaFi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=Merchants\u0026amp;title=Get+Crypto+Balance\u0026amp;description=Retrieve+cryptocurrency+wallet+balances+for+a+specific+merchant+or+get+aggregated+totals+across+all+merchants+linked+to+your+API+key.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=686a09da66a8ea0be157959682dccf1ba3b47dde34cbf3eb97f04df2000d97d3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Crypto Balance - VelaFi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vela-fi.mintlify.site/_mintlify/api/og/v2?division=Merchants\u0026amp;title=Get+Crypto+Balance\u0026amp;description=Retrieve+cryptocurrency+wallet+balances+for+a+specific+merchant+or+get+aggregated+totals+across+all+merchants+linked+to+your+API+key.\u0026amp;theme=d88b59e71e5970c6ea7086ed\u0026amp;signature=686a09da66a8ea0be157959682dccf1ba3b47dde34cbf3eb97f04df2000d97d3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/vela-fi/FXnTM7SlGCRLFghR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VelaFi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#169f3f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/merchant/get-crypto-assets-balance.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.velafi.com/cn/api-reference/merchant/get-crypto-assets-balance\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.velafi.com/es/api-reference/merchant/get-crypto-assets-balance\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.velafi.com/#organization\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vela-fi/kEiS0W9mzAeRFvm2/logo/light.svg?fit=max\u0026auto=format\u0026n=kEiS0W9mzAeRFvm2\u0026q=85\u0026s=3369d850da98cb834dddcd64c977c11f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.velafi.com#website\",\"name\":\"VelaFi\",\"url\":\"https://docs.velafi.com\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance#webpage\",\"url\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\",\"name\":\"Get Crypto Balance\",\"description\":\"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\",\"dateModified\":\"2026-11-04T03:05:11.518Z\",\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Merchants\",\"item\":\"https://docs.velafi.com/api-reference/merchant/create-merchant\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Crypto Balance\",\"item\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance#apireference\",\"headline\":\"Get Crypto Balance\",\"name\":\"Get Crypto Balance\",\"description\":\"Retrieve cryptocurrency wallet balances for a specific merchant or get aggregated totals across all merchants linked to your API key.\",\"url\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance\",\"mainEntityOfPage\":{\"@id\":\"https://docs.velafi.com/api-reference/merchant/get-crypto-assets-balance#webpage\"},\"dateModified\":\"2026-11-04T03:05:11.518Z\",\"publisher\":{\"@id\":\"https://docs.velafi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.velafi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VelaFi\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VelaFi","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api-reference/authentication"},{"title":"Generate a Token","sidebarTitle":"Generate Token","api":"GET /v2/token/generate","playground":"none","href":"/api-reference/generate-token"}]},{"group":"Account","pages":[{"title":"Get Account Details","sidebarTitle":"Get Account Details","api":"GET /v2/user/account","href":"/api-reference/account/get-account-details"}]},{"group":"Configuration","pages":[{"title":"Base URLs","sidebarTitle":"API Endpoint","href":"/api-reference/basic-configuration/api-endpoint"},{"title":"List Countries","sidebarTitle":"List Countries","api":"GET /v2/base/countrys","href":"/api-reference/basic-configuration/get-list-of-countries"},{"title":"List Fiat Currencies","sidebarTitle":"List Fiat Currencies","api":"GET /v2/base/fiats","href":"/api-reference/basic-configuration/get-list-of-fiat-currencies"},{"title":"List Cryptocurrencies","sidebarTitle":"List Crypto Currencies","api":"GET /v2/base/cryptos","href":"/api-reference/basic-configuration/get-list-of-crypto-currencies"},{"title":"List Fiat→Crypto Pairs","sidebarTitle":"Fiat/Crypto Pairs","api":"GET /v2/base/buy/symbols","href":"/api-reference/basic-configuration/get-fiat-crypto-pairs"},{"title":"List Crypto→Fiat Pairs","sidebarTitle":"Crypto/Fiat Pairs","api":"GET /v2/base/sell/symbols","href":"/api-reference/basic-configuration/get-crypto-fiat-pairs"},{"title":"List Fiat→Fiat Pairs","sidebarTitle":"Fiat/Fiat Pairs","api":"GET /v2/base/fiat/symbols","href":"/api-reference/basic-configuration/get-fiat-fiat-pairs"},{"title":"List Fiat→Crypto Payment Methods","sidebarTitle":"Fiat→Crypto Methods","api":"GET /v2/base/buy/payments","href":"/api-reference/basic-configuration/get-fiat-crypto-payment-methods"},{"title":"List Crypto→Fiat Payment Methods","sidebarTitle":"Crypto→Fiat Methods","api":"GET /v2/base/sell/payments","href":"/api-reference/basic-configuration/get-crypto-fiat-payment-methods"},{"title":"List Fiat→Fiat Payment Methods","sidebarTitle":"Fiat/Fiat Methods","api":"GET /v2/base/fiat/payments","href":"/api-reference/basic-configuration/get-fiat-fiat-payment-methods"},{"title":"Upload a File","sidebarTitle":"Upload File","api":"POST /v2/base/file/upload","href":"/api-reference/basic-configuration/upload-file"}]},{"group":"Merchants","pages":[{"title":"Create a Merchant","sidebarTitle":"Create Merchant","api":"POST /v2/merchants","href":"/api-reference/merchant/create-merchant"},{"title":"List Merchants","sidebarTitle":"List Merchants","api":"GET /v2/merchants","href":"/api-reference/merchant/get-a-list-of-merchants"},{"title":"Activate an Individual Merchant Account","sidebarTitle":"Activate Individual","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-individual"},{"title":"Activate a Business Merchant Account","sidebarTitle":"Activate Business","api":"POST /v2/merchant/accounts","href":"/api-reference/merchant/activate-merchant-account-for-business"},{"title":"Create Virtual Accounts","sidebarTitle":"Create Virtual Accounts","api":"POST /v2/merchant/virtual/accounts","href":"/api-reference/merchant/create-multiple-virtual-account"},{"title":"List Merchant Accounts","sidebarTitle":"Merchant Accounts","api":"GET /v2/merchant/accounts","href":"/api-reference/merchant/get-a-list-of-merchant-accounts"},{"title":"Request a Limit Upgrade","sidebarTitle":"Upgrade Limit","api":"POST /v2/upgrade/limits","href":"/api-reference/merchant/upgrade-merchant-limit"},{"title":"Get Pending Fund Account","sidebarTitle":"Pending Fund Account","api":"GET /v2/merchant/addfunds","href":"/api-reference/merchant/get-pending-fund-account"},{"title":"List Virtual Accounts","sidebarTitle":"List Virtual Accounts","api":"GET /v2/merchant/virtual/addfunds","href":"/api-reference/merchant/get-multiple-virtual-account"},{"title":"Claim Pending Funds","sidebarTitle":"Claim Pending Fund","api":"POST /v2/merchant/claimfunds","href":"/api-reference/merchant/claim-pending-fund"},{"title":"Get Transfer Fee","sidebarTitle":"Transfer Fee","api":"GET /v2/merchant/transfer_fee","href":"/api-reference/merchant/get-transfer-pending-funds-fee"},{"title":"Transfer Pending Funds","sidebarTitle":"Transfer Funds","api":"POST /v2/merchant/transfer","href":"/api-reference/merchant/transfer-pending-funds"},{"title":"List Funding Records","sidebarTitle":"Funding Records","api":"GET /v2/merchant/funding/records","href":"/api-reference/merchant/retrieve-funding-records"},{"title":"List Fiat Flows","sidebarTitle":"Fiat Flow","description":"Retrieve a double-entry ledger view of all fiat balance movements for a merchant, including trade lines, fee entries, and rollback events.","api":"GET /v2/merchant/fiat/flows","href":"/api-reference/merchant/get-a-list-merchant-fiat-flow"},{"title":"Get Crypto Balance","sidebarTitle":"Crypto Balance","api":"GET /v2/assets/account/assets","href":"/api-reference/merchant/get-crypto-assets-balance"},{"title":"Get Crypto Deposit Address","sidebarTitle":"Deposit Address","description":"Retrieve the on-chain deposit address for a specific token and blockchain network for a merchant wallet, including confirmation requirements.","api":"GET /v2/assets/depositAddress","href":"/api-reference/merchant/get-crypto-deposit-address"},{"title":"Create a Crypto Transfer","sidebarTitle":"Crypto Transfer","api":"POST /v2/assets/internalTransfer","href":"/api-reference/merchant/crypto-transfer"},{"title":"List Crypto Transfers","sidebarTitle":"Crypto Transfer History","api":"GET /v2/assets/internalTransferOrders","href":"/api-reference/merchant/query-crypto-transfers"},{"title":"Get Woovi Liveness URL","sidebarTitle":"Woovi Liveness","api":"POST /v2/merchant/woovi/liveness","href":"/api-reference/merchant/get-woovi-liveness-url"}]},{"group":"Crypto Wallet","pages":[{"api":"GET /v2/assets/withdrawQuota","title":"Get Withdrawal Quota","sidebarTitle":"Withdrawal Quota","href":"/api-reference/crypto-wallet/get-withdrawal-quota"},{"api":"POST /v2/assets/withdraw","title":"Create a Crypto Withdrawal","sidebarTitle":"Create Crypto Withdrawal","href":"/api-reference/crypto-wallet/create-crypto-withdrawal"},{"api":"GET /v2/assets/depositOrders","title":"List Crypto Deposits","sidebarTitle":"Crypto Deposit History","href":"/api-reference/crypto-wallet/get-crypto-deposit-history"},{"api":"GET /v2/assets/withdrawalOrders","title":"List Crypto Withdrawals","sidebarTitle":"Crypto Withdrawal History","href":"/api-reference/crypto-wallet/get-crypto-withdrawal-history"},{"api":"POST /v2/user/whitelistAddress","title":"Add a Whitelist Address","sidebarTitle":"Add Whitelist Address","href":"/api-reference/crypto-wallet/add-whitelist-address"},{"api":"GET /v2/user/whitelistAddress","title":"List Whitelist Addresses","sidebarTitle":"List Whitelist Addresses","href":"/api-reference/crypto-wallet/get-whitelist-addresses"},{"api":"DELETE /v2/user/whitelistAddress/{addressId}","title":"Delete a Whitelist Address","sidebarTitle":"Delete Whitelist Address","href":"/api-reference/crypto-wallet/delete-whitelist-address"}]},{"group":"Beneficiaries","pages":[{"api":"GET /v2/payments/support/templates","title":"List Supported Payment Methods","sidebarTitle":"Supported Payment Methods","href":"/api-reference/beneficiary/get-supported-payment-methods"},{"title":"Get Payment Templates","sidebarTitle":"Payment Templates","api":"GET /v2/payments/templates","href":"/api-reference/beneficiary/get-payment-templates"},{"title":"Get Template Metadata","sidebarTitle":"Template Metadata","api":"GET /v2/payments/templates/metamessage","href":"/api-reference/beneficiary/get-payment-templates-metamessage"},{"title":"Add a Beneficiary","sidebarTitle":"Add Beneficiary","api":"POST /v2/payments","href":"/api-reference/beneficiary/add-beneficiary"},{"title":"List Beneficiaries","sidebarTitle":"Get Beneficiaries","api":"GET /v2/payments","href":"/api-reference/beneficiary/get-beneficiary"},{"title":"Delete a Beneficiary","sidebarTitle":"Delete Beneficiary","href":"/api-reference/beneficiary/delete-beneficiary"},{"title":"Set the Refund Account","sidebarTitle":"Set Refund Account","api":"POST /v2/payments/refund_account","href":"/api-reference/beneficiary/set-refund-account"},{"api":"GET /v2/merchant/check/alias","title":"Check an Alias (ARS)","sidebarTitle":"Check Alias (ARS)","href":"/api-reference/beneficiary/check-alias"},{"api":"GET /v2/merchant/check/cvu","title":"Check a CVU/CBU (ARS)","sidebarTitle":"Check CVU (ARS)","href":"/api-reference/beneficiary/check-cvu"}]},{"group":"Quotes","pages":[{"title":"Get a Crypto/Fiat Quote","sidebarTitle":"Crypto/Fiat Quote","api":"GET /v2/user/crypto-quote","href":"/api-reference/quote/get-user-quote-for-crypto-fiat"},{"title":"Get a Fiat/Fiat Quote","sidebarTitle":"Fiat/Fiat Quote","api":"GET /v2/user/fiat-quote","href":"/api-reference/quote/get-user-quote-for-fiat-fiat"}]},{"group":"Orders","pages":[{"title":"Create an On-Ramp Order","sidebarTitle":"Fiat→Crypto Order","api":"POST /v2/order/fiat_to_crypto","href":"/api-reference/order/create-a-fiat-to-crypto-order"},{"title":"Create an Off-Ramp Order","sidebarTitle":"Crypto→Fiat Order","api":"POST /v2/order/crypto_to_fiat","href":"/api-reference/order/create-a-crypto-to-fiat-order"},{"title":"Create a Global Payment Order","sidebarTitle":"Fiat→Fiat Order","api":"POST /v2/order/fiat_to_fiat","href":"/api-reference/order/create-a-fiat-to-fiat-order"},{"title":"Confirm an Order","sidebarTitle":"Confirm Order","api":"POST /v2/order/confirm","href":"/api-reference/order/confirm-a-specific-order"},{"title":"Get an Order","sidebarTitle":"Get Order","api":"GET /v2/order/detail","href":"/api-reference/order/retrieve-a-specific-order"},{"title":"List Orders","sidebarTitle":"List Orders","api":"GET /v2/orders","href":"/api-reference/order/retrieve-a-list-of-orders"},{"title":"Upload Order Documents","sidebarTitle":"Upload Documents","api":"POST /v2/order/invoice","href":"/api-reference/order/upload-invoice-documents-for-a-specific-order"}]},{"group":"Webhooks","pages":[{"title":"Webhook Setup","sidebarTitle":"Webhook Setup","href":"/api-reference/webhooks/webhook-setup"},{"title":"Create a Webhook","sidebarTitle":"Create Webhook","api":"POST /v2/webhook","href":"/api-reference/webhooks/create-webhook-endpoints"},{"title":"List Webhooks","sidebarTitle":"Get Webhooks","api":"GET /v2/webhooks","href":"/api-reference/webhooks/get-webhook-endpoints"},{"title":"Update a Webhook","sidebarTitle":"Update Webhook","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a Webhook","sidebarTitle":"Delete Webhook","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Order Event","sidebarTitle":"Order Event","href":"/api-reference/webhooks/fiat-crypto-order-message-push"},{"title":"Global Payment Event","sidebarTitle":"Global Payment Event","href":"/api-reference/webhooks/fiat-fiat-order-message-push"},{"title":"Funding Event","sidebarTitle":"Funding Event","href":"/api-reference/webhooks/funding-records-message-push"},{"title":"Stablecoin Payment Event","sidebarTitle":"Stablecoin Payment Event","href":"/api-reference/webhooks/stablecoin-payment-order-message-push"},{"title":"On-Ramp Withdrawal Event","sidebarTitle":"On-Ramp Withdrawal Event","href":"/api-reference/webhooks/on-ramp-withdraw-message-push"},{"title":"Crypto Withdrawal Event","sidebarTitle":"Crypto Withdrawal Event","href":"/api-reference/webhooks/crypto-withdraw-message-push"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog"}]}]},{"language":"cn","pages":[{"title":"cn","href":"/cn/api-reference/merchant/get-crypto-assets-balance"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/merchant/get-crypto-assets-balance"}]}]},"basePath":"","title":"Get Crypto Balance - VelaFi","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CxAy5y67.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js"]}