Custody holds user funds. Deposits arrive on your own addresses on Polygon and Base.
Balances are kept per (venue, asset), with USDC held separately. Withdrawals
settle asynchronously.
Endpoints
Endpoint
Purpose
POST /custody/create-deposit-address
Issue a deposit address on a chain
GET /custody/get-deposit-addresses
List the user’s deposit addresses
GET /custody/get-balance
Balance for a single (venue, asset)
GET /custody/get-balances
Non-zero outcome-token balances, paginated
GET /custody/get-usdc-balance
USDC balance
POST /custody/withdraw
Queue a withdrawal to an external address
GET /custody/get-withdrawals
Withdrawal history with statuses and tx hashes
POST /custody/split
Split USDC into a market’s two outcome tokens
POST /custody/merge
Merge a market’s two outcome tokens into USDC
GET /custody/get-ledger
The journal of every credit and debit
Issuing a deposit address, splitting and merging need the trade scope, and
withdrawing needs withdraw. Without it, the request returns 403.
A split turns 1 USDC into one of each outcome token of a market, and a merge turns
one of each back into 1 USDC. Balances move as soon as the request returns. Only
Polymarket markets can be split or merged, 1 USDC or 1 token of each at the least.Deposits are credited once an address has received 10 USDC, or 10 of one outcome
token, on a chain; smaller deposits stay pending until then. USDC withdrawals must
be at least 10 USDC. See Timing and limits for
withdrawal statuses, and wire formats for amounts.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Symbiosis","colors":{"primary":"#16A34A","light":"#4ADE80","dark":"#15803D"},"favicon":"https://mintcdn.com/symbiosis-1225be87/CgjbUOL4PWRJgaDb/favicon.svg?fit=max\u0026auto=format\u0026n=CgjbUOL4PWRJgaDb\u0026q=85\u0026s=b2dbfdc424d9c651a5e4699a25a2dbc7","api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript"]}},"footer":{"socials":{"website":"https://symbiosis.markets"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"symbiosis-1225be87","hasAudioNarration":false,"actualSubdomain":"symbiosis-1225be87","customDomains":["docs.dev.symbiosis.markets"],"gitSource":{"type":"github","owner":"symbiosis-markets","repo":"backend","deployBranch":"dev","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10fc029ffae5051c41bdd9"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b11a247e71f374a14ba0723","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":46},{"language":"default","tag":"Auth","count":23},{"language":"default","tag":"RFQ","count":12},{"language":"default","tag":"Custody","count":11},{"language":"default","tag":"Documentation","count":7},{"language":"default","tag":"Integration guide","count":4},{"language":"default","tag":"Getting started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/custody","slug":"/api-reference/custody","pageMetadata":{"title":"Custody","description":"Deposit addresses, balances, and withdrawals","href":"/api-reference/custody"},"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: \"Deposit addresses, balances, and withdrawals\"\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={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,Note,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Custody holds user funds. Deposits arrive on your own addresses on Polygon and Base.\nBalances are kept per `,_jsx(_components.code,{children:`(venue, asset)`}),`, with USDC held separately. Withdrawals\nsettle asynchronously.`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Purpose`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /custody/create-deposit-address`})}),_jsx(_components.td,{children:`Issue a deposit address on a chain`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-deposit-addresses`})}),_jsx(_components.td,{children:`List the user’s deposit addresses`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-balance`})}),_jsxs(_components.td,{children:[`Balance for a single `,_jsx(_components.code,{children:`(venue, asset)`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-balances`})}),_jsx(_components.td,{children:`Non-zero outcome-token balances, paginated`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-usdc-balance`})}),_jsx(_components.td,{children:`USDC balance`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /custody/withdraw`})}),_jsx(_components.td,{children:`Queue a withdrawal to an external address`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-withdrawals`})}),_jsx(_components.td,{children:`Withdrawal history with statuses and tx hashes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /custody/split`})}),_jsx(_components.td,{children:`Split USDC into a market’s two outcome tokens`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /custody/merge`})}),_jsx(_components.td,{children:`Merge a market’s two outcome tokens into USDC`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /custody/get-ledger`})}),_jsx(_components.td,{children:`The journal of every credit and debit`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Issuing a deposit address, splitting and merging need the `,_jsx(_components.code,{children:`trade`}),` scope, and\nwithdrawing needs `,_jsx(_components.code,{children:`withdraw`}),`. Without it, the request returns `,_jsx(_components.code,{children:`403`}),`.`]})}),`\n`,_jsx(_components.p,{children:`A split turns 1 USDC into one of each outcome token of a market, and a merge turns\none of each back into 1 USDC. Balances move as soon as the request returns. Only\nPolymarket markets can be split or merged, 1 USDC or 1 token of each at the least.`}),`\n`,_jsxs(_components.p,{children:[`Deposits are credited once an address has received 10 USDC, or 10 of one outcome\ntoken, on a chain; smaller deposits stay pending until then. USDC withdrawals must\nbe at least 10 USDC. See `,_jsx(_components.a,{href:`/timing`,children:`Timing and limits`}),` for\nwithdrawal statuses, and `,_jsx(_components.a,{href:`/introduction#wire-formats`,children:`wire formats`}),` for amounts.`]})]})}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":"Custody","description":"Deposit addresses, balances, and withdrawals","href":"/api-reference/custody"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoints","slug":"endpoints","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"symbiosis-1225be87","siteName":"Symbiosis","title":"Custody - Symbiosis","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T17:38:57.322Z","originalFileLocation":"api-reference/custody.mdx"},"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=\"Deposit addresses, balances, and withdrawals\">\u003cmeta data-mint-head name=\"application-name\" content=\"Symbiosis\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Custody - Symbiosis\">\u003cmeta data-mint-head property=\"og:description\" content=\"Deposit addresses, balances, and withdrawals\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Symbiosis\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dev.symbiosis.markets/api-reference/custody\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://symbiosis-1225be87.mintlify.site/_mintlify/api/og/v2?division=Custody\u0026amp;title=Custody\u0026amp;description=Deposit+addresses%2C+balances%2C+and+withdrawals\u0026amp;theme=a3dd3926235ae5fa6e742672\u0026amp;signature=dc4689f204aed78d932458c39bcf4126b444584da53723002a801598b9af9c3f\">\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=\"Custody - Symbiosis\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Deposit addresses, balances, and withdrawals\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://symbiosis-1225be87.mintlify.site/_mintlify/api/og/v2?division=Custody\u0026amp;title=Custody\u0026amp;description=Deposit+addresses%2C+balances%2C+and+withdrawals\u0026amp;theme=a3dd3926235ae5fa6e742672\u0026amp;signature=dc4689f204aed78d932458c39bcf4126b444584da53723002a801598b9af9c3f\">\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/symbiosis-1225be87/BIkTcEnZ91wJS3SH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Symbiosis\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dev.symbiosis.markets/api-reference/custody\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/custody.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dev.symbiosis.markets/#organization\",\"name\":\"Symbiosis\",\"url\":\"https://docs.dev.symbiosis.markets\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dev.symbiosis.markets#website\",\"name\":\"Symbiosis\",\"url\":\"https://docs.dev.symbiosis.markets\",\"publisher\":{\"@id\":\"https://docs.dev.symbiosis.markets/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dev.symbiosis.markets/api-reference/custody#webpage\",\"url\":\"https://docs.dev.symbiosis.markets/api-reference/custody\",\"name\":\"Custody\",\"description\":\"Deposit addresses, balances, and withdrawals\",\"dateModified\":\"2026-12-01T17:38:57.322Z\",\"isPartOf\":{\"@id\":\"https://docs.dev.symbiosis.markets#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dev.symbiosis.markets/api-reference/custody#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dev.symbiosis.markets/api-reference/custody#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Symbiosis\",\"item\":\"https://docs.dev.symbiosis.markets\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custody\",\"item\":\"https://docs.dev.symbiosis.markets/api-reference/custody\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dev.symbiosis.markets/api-reference/custody#article\",\"headline\":\"Custody\",\"name\":\"Custody\",\"description\":\"Deposit addresses, balances, and withdrawals\",\"url\":\"https://docs.dev.symbiosis.markets/api-reference/custody\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dev.symbiosis.markets/api-reference/custody#webpage\"},\"dateModified\":\"2026-12-01T17:38:57.322Z\",\"publisher\":{\"@id\":\"https://docs.dev.symbiosis.markets/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dev.symbiosis.markets#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Symbiosis\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Symbiosis\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/custody.md","siteName":"Symbiosis","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Auth","pages":[{"title":"Auth","href":"/api-reference/auth"},{"title":"Create an account from an email and password.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/signup","href":"/api-reference/auth/create-an-account-from-an-email-and-password"},{"title":"Consume an emailed verification token.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/verify","href":"/api-reference/auth/consume-an-emailed-verification-token"},{"title":"Re-send the verification email.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/verify/resend","href":"/api-reference/auth/re-send-the-verification-email"},{"title":"Exchange an email and password for a session token.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/login","href":"/api-reference/auth/exchange-an-email-and-password-for-a-session-token"},{"title":"Exchange a login challenge and a TOTP or recovery code for a session token.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/login/totp","href":"/api-reference/auth/exchange-a-login-challenge-and-a-totp-or-recovery-code-for-a-session-token"},{"title":"The session user's id, email, and account flags.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/me","href":"/api-reference/auth/the-session-users-id-email-and-account-flags"},{"title":"The account and scopes behind the calling credential.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/whoami","href":"/api-reference/auth/the-account-and-scopes-behind-the-calling-credential"},{"title":"List the session user's API keys.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/api-keys","href":"/api-reference/auth/list-the-session-users-api-keys"},{"title":"Mint an API key for the session user.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/api-keys","href":"/api-reference/auth/mint-an-api-key-for-the-session-user"},{"title":"Revoke one of the session user's API keys.","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /auth/api-keys/{api_key_id}","href":"/api-reference/auth/revoke-one-of-the-session-users-api-keys"},{"title":"Mint a read-only websocket ticket.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/ws-ticket","href":"/api-reference/auth/mint-a-read-only-websocket-ticket"},{"title":"Mint a websocket ticket carrying the API key's scopes.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/ws-ticket/signed","href":"/api-reference/auth/mint-a-websocket-ticket-carrying-the-api-keys-scopes"},{"title":"List the session user's audit log events.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/audit-log","href":"/api-reference/auth/list-the-session-users-audit-log-events"},{"title":"Change the session user's password.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/change-password","href":"/api-reference/auth/change-the-session-users-password"},{"title":"Email a single-use password reset link.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/password/forgot","href":"/api-reference/auth/email-a-single-use-password-reset-link"},{"title":"Consume an emailed reset token and set a new password.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/password/reset","href":"/api-reference/auth/consume-an-emailed-reset-token-and-set-a-new-password"},{"title":"Whether TOTP is enabled for the session user.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /auth/totp","href":"/api-reference/auth/whether-totp-is-enabled-for-the-session-user"},{"title":"Begin TOTP enrollment for the session user.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/totp/setup","href":"/api-reference/auth/begin-totp-enrollment-for-the-session-user"},{"title":"Confirm enrollment with a current code.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/totp/enable","href":"/api-reference/auth/confirm-enrollment-with-a-current-code"},{"title":"Disable TOTP; requires the password and a TOTP or recovery code.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/totp/disable","href":"/api-reference/auth/disable-totp;-requires-the-password-and-a-totp-or-recovery-code"},{"title":"Revoke the caller's session.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /auth/logout","href":"/api-reference/auth/revoke-the-callers-session"},{"title":"Revoke every session belonging to the session user, the caller's included.","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml delete /auth/sessions","href":"/api-reference/auth/revoke-every-session-belonging-to-the-session-user-the-callers-included"}]},{"group":"Custody","pages":[{"title":"Custody","href":"/api-reference/custody"},{"title":"Issue a deposit address on a chain.","description":"Deposits are not always credited on arrival. They accumulate per address, chain and asset until the uncredited total reaches the minimum, then the full total is credited: 10 USDC, or 10 tokens (10000000) of a supported outcome token. A smaller deposit stays pending and does not appear in balances until later deposits of the same asset to the same address make up the difference.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /custody/create-deposit-address","href":"/api-reference/custody/issue-a-deposit-address-on-a-chain"},{"title":"List the user's deposit addresses.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-deposit-addresses","href":"/api-reference/custody/list-the-users-deposit-addresses"},{"title":"Get the user's balance for a single asset.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-balance","href":"/api-reference/custody/get-the-users-balance-for-a-single-asset"},{"title":"List the user's balances.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-balances","href":"/api-reference/custody/list-the-users-balances"},{"title":"Get the user's USDC balance.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-usdc-balance","href":"/api-reference/custody/get-the-users-usdc-balance"},{"title":"Queue a withdrawal to an external address.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /custody/withdraw","href":"/api-reference/custody/queue-a-withdrawal-to-an-external-address"},{"title":"List the user's withdrawals, newest first.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-withdrawals","href":"/api-reference/custody/list-the-users-withdrawals-newest-first"},{"title":"Split USDC into a market's two outcome tokens.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /custody/split","href":"/api-reference/custody/split-usdc-into-a-markets-two-outcome-tokens"},{"title":"Merge a market's two outcome tokens into USDC.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /custody/merge","href":"/api-reference/custody/merge-a-markets-two-outcome-tokens-into-usdc"},{"title":"List the user's balance journal, newest first.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /custody/get-ledger","href":"/api-reference/custody/list-the-users-balance-journal-newest-first"}]},{"group":"RFQ","pages":[{"title":"RFQ","href":"/api-reference/rfq"},{"title":"Create a quote request.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /rfq/request","href":"/api-reference/rfq/create-a-quote-request"},{"title":"Get the open requests for a venue and asset.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rfq/request","href":"/api-reference/rfq/get-the-open-requests-for-a-venue-and-asset"},{"title":"Cancel one of the user's open requests.","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /rfq/request","href":"/api-reference/rfq/cancel-one-of-the-users-open-requests"},{"title":"Quote an open request.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /rfq/quote","href":"/api-reference/rfq/quote-an-open-request"},{"title":"Get the open quotes for one of the user's requests.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rfq/quote","href":"/api-reference/rfq/get-the-open-quotes-for-one-of-the-users-requests"},{"title":"Cancel one of the user's open quotes.","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /rfq/quote","href":"/api-reference/rfq/cancel-one-of-the-users-open-quotes"},{"title":"Atomically cancel one of the user's open quotes and quote its request anew.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /rfq/replace","href":"/api-reference/rfq/atomically-cancel-one-of-the-users-open-quotes-and-quote-its-request-anew"},{"title":"Accept a quote, matching the request.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /rfq/accept","href":"/api-reference/rfq/accept-a-quote-matching-the-request"},{"title":"Get the user's requests in any status, newest first.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rfq/get-requests","href":"/api-reference/rfq/get-the-users-requests-in-any-status-newest-first"},{"title":"Get the quotes the user has made, across requests.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rfq/get-quotes","href":"/api-reference/rfq/get-the-quotes-the-user-has-made-across-requests"},{"title":"Get the user's matches, on either side of the trade.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rfq/matches","href":"/api-reference/rfq/get-the-users-matches-on-either-side-of-the-trade"}]}]}]},"basePath":"","title":"Custody - Symbiosis","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}