{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Fund API Documentation","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"fund-api-documentation","__idx":0},"children":["Fund API Documentation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fund endpoints let an organization withdraw funds, query withdrawal status and fees, and read its available USDT and USDC balances."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All Fund API prefix:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/funds"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"authentication-and-permissions","__idx":1},"children":["Authentication and Permissions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All endpoints use HMAC-SHA256 authentication with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Date"]}]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Digest"]}]}," when the request has a body, and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]}," with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["keyId"]}]},". For a GET request with query parameters, the signed request path must include the complete query string. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/en/4-authorization"},"children":["Chapter 4: Authorization and Security Mechanisms"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Permission"},"children":["Permission"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoints"},"children":["Endpoints"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v2/funds/withdraw"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v2/funds/withdraw/status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v2/funds/withdraw/fees"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v2/funds/balances"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IP whitelist:"]}," API keys that include ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}," must be configured with a non-empty IP whitelist when created or updated in the merchant dashboard."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"withdrawal-idempotency","__idx":2},"children":["Withdrawal Idempotency"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request_id"]}," is optional when creating a withdrawal:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When omitted, Infini generates the withdrawal request ID and preserves the existing withdrawal behavior. Separate caller retries without a shared ID are not idempotent."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When supplied, it must be a UUID and is used as the idempotency key."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When the same merchant retries with the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request_id"]},", the API returns the previously created withdrawal information with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_duplicate: true"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use one ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request_id"]}," for exactly one logical withdrawal. Do not reuse it for a different amount, chain, token, or destination address."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-envelope","__idx":3},"children":["Response Envelope"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After gateway authentication, application responses use the standard ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}," envelope. Business success is indicated by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code === 0"]},"; a non-zero ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," indicates an error and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}," carries the details. Some downstream business failures can be returned with HTTP 200, a non-zero ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data: null"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["HMAC or gateway validation failures can be rejected before the request reaches the application and may return a gateway response such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"message\":\"client request can't be validated\"}"]}," instead of the application envelope. Clients should check the HTTP status first, then check ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," whenever the envelope is present."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"withdraw-organization-funds","__idx":4},"children":["Withdraw Organization Funds"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["POST"]}," /v2/funds/withdraw"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Creates a withdrawal from the authenticated organization to an external wallet."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required permission:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-body","__idx":5},"children":["Request Body"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string (UUID)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Idempotency key. When omitted, Infini generates one"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["chain"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Public chain name, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ETHEREUM"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ARBITRUM"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["token_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Token type, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USDT"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USDC"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["amount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Positive decimal amount. Digits after the sixth decimal place are truncated without rounding; the resulting amount must be at least ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}," and greater than the withdrawal fee"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["wallet_address"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Destination address valid for the selected chain"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["note"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional withdrawal note"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v2/funds/withdraw/fees"]}]}," as the current source of truth for enabled chain/token pairs and their fees. Chain and token names in examples are uppercase."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-example","__idx":6},"children":["Request Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"request_id\": \"e94b4e88-36c2-4550-907e-839742cf5fae\",\n  \"chain\": \"ETHEREUM\",\n  \"token_type\": \"USDT\",\n  \"amount\": \"10.00\",\n  \"wallet_address\": \"0x5f716e5775b18409917e2a2f0762d29d6c385cb0\",\n  \"note\": \"Treasury withdrawal\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example","__idx":7},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"message\": \"\",\n  \"data\": {\n    \"request_id\": \"e94b4e88-36c2-4550-907e-839742cf5fae\",\n    \"status\": \"pending\",\n    \"is_duplicate\": false\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For an idempotent retry, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.is_duplicate"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.status"]}," is the existing withdrawal's current status."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"get-withdrawal-status","__idx":8},"children":["Get Withdrawal Status"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GET"]}," /v2/funds/withdraw/status?request_id={request_id}"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns the current state and amounts for a withdrawal owned by the authenticated organization."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required permission:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The HMAC signing path must include ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["?request_id={request_id}"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameters","__idx":9},"children":["Query Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string (UUID)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal request ID"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example-1","__idx":10},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"message\": \"\",\n  \"data\": {\n    \"request_id\": \"e94b4e88-36c2-4550-907e-839742cf5fae\",\n    \"status\": \"completed\",\n    \"amount\": \"11\",\n    \"fee\": \"0.1\",\n    \"actual_amount\": \"10.9\",\n    \"transaction_hash\": \"0xabc123\",\n    \"chain\": \"ETHEREUM\",\n    \"token_type\": \"USDT\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-fields","__idx":11},"children":["Response Fields"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal request ID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["status"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Current withdrawal status"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["amount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Original withdrawal amount"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["fee"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal fee denominated in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["token_type"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["actual_amount"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On-chain amount after the fee"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["transaction_hash"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On-chain transaction hash; empty before submission"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["chain"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Public chain name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["token_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Token type"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"status-values","__idx":12},"children":["Status Values"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pending"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal created and waiting for submission or review"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["processing"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Transaction submitted and waiting for confirmation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["completed"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal completed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failed"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Withdrawal failed"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"list-withdrawal-fees","__idx":13},"children":["List Withdrawal Fees"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GET"]}," /v2/funds/withdraw/fees"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns currently enabled public chain/token pairs and their fees. Fees are dynamic; clients should query this endpoint instead of hard-coding a fee table."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required permission:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example-2","__idx":14},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"message\": \"\",\n  \"data\": {\n    \"fees\": [\n      {\n        \"chain\": \"ARBITRUM\",\n        \"token_type\": \"USDC\",\n        \"withdraw_fee\": \"0.5\"\n      },\n      {\n        \"chain\": \"ETHEREUM\",\n        \"token_type\": \"USDT\",\n        \"withdraw_fee\": \"2\"\n      }\n    ]\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["withdraw_fee"]}," is denominated in the corresponding ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["token_type"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"get-available-balances","__idx":15},"children":["Get Available Balances"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GET"]}," /v2/funds/balances"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Returns only the authenticated organization's USDT and USDC ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AVAILABLE_BALANCE"]}," values."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required permission:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fund.withdraw"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response-example-3","__idx":16},"children":["Response Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"message\": \"\",\n  \"data\": {\n    \"available_balance_usdt\": \"120.50\",\n    \"available_balance_usdc\": \"75.25\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the organization has no balance entry for one of the tokens, its value is returned as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"0\""]},"."]}]},"headings":[{"value":"Fund API Documentation","id":"fund-api-documentation","depth":2},{"value":"Authentication and Permissions","id":"authentication-and-permissions","depth":3},{"value":"Withdrawal Idempotency","id":"withdrawal-idempotency","depth":3},{"value":"Response Envelope","id":"response-envelope","depth":3},{"value":"Withdraw Organization Funds","id":"withdraw-organization-funds","depth":3},{"value":"Request Body","id":"request-body","depth":4},{"value":"Request Example","id":"request-example","depth":4},{"value":"Response Example","id":"response-example","depth":4},{"value":"Get Withdrawal Status","id":"get-withdrawal-status","depth":3},{"value":"Query Parameters","id":"query-parameters","depth":4},{"value":"Response Example","id":"response-example-1","depth":4},{"value":"Response Fields","id":"response-fields","depth":4},{"value":"Status Values","id":"status-values","depth":4},{"value":"List Withdrawal Fees","id":"list-withdrawal-fees","depth":3},{"value":"Response Example","id":"response-example-2","depth":4},{"value":"Get Available Balances","id":"get-available-balances","depth":3},{"value":"Response Example","id":"response-example-3","depth":4}],"frontmatter":{"seo":{"title":"Fund API Documentation"}},"lastModified":"2026-07-23T04:03:06.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/en/fund-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}