An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet.
There are two types of onramp:
Quote-based onramp: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the Accept an onramp quote endpoint to initiate the onramp.
Additionally, you can also refresh the onramp quote using the Refresh an onramp quote endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click here.
Non-quote-based onramp: This type of onramp will be initiated immediately upon creating an onramp.
{"docsConfig":{"theme":"almond","$schema":"https://hifi.com/docs.json","name":"HIFI Docs","description":"Developer Documentation for HIFI","colors":{"primary":"#222222","light":"#F2FF66","dark":"#222222"},"logo":{"light":"https://mintcdn.com/hifi/VzHynFYCLt9TATAK/logo/light.svg?fit=max\u0026auto=format\u0026n=VzHynFYCLt9TATAK\u0026q=85\u0026s=3b0ca085dfd9860bd27ab9c039b6c2cc","dark":"https://mintcdn.com/hifi/VzHynFYCLt9TATAK/logo/dark.svg?fit=max\u0026auto=format\u0026n=VzHynFYCLt9TATAK\u0026q=85\u0026s=446f537c67643be9fcdc464104047053"},"favicon":"https://mintcdn.com/hifi/VzHynFYCLt9TATAK/favicon.svg?fit=max\u0026auto=format\u0026n=VzHynFYCLt9TATAK\u0026q=85\u0026s=864a854c55ec15e3f66405d20572a370","navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://app.hifi.com"}},"footer":{"socials":{"x":"https://x.com/hifiHQ","github":"https://github.com/Hifi-Bridge","linkedin":"https://www.linkedin.com/company/hifibridge"}},"seo":{"metatags":{"title":"HIFI Docs","description":"Build modern payment workflows and automate money movement.","keywords":"HIFI, payments API, programmable money, payment orchestration, payment workflows, automated flows, composable payments, workflow builder, payment automation, orchestration layer, flow composition, fintech API, stablecoins, USDC, USDT, bank transfers, ACH, SWIFT, RTP, KYC, KYB, compliance, virtual accounts, payouts, webhooks, developer documentation","author":"HIFI","robots":"index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1","og:title":"HIFI Docs","og:type":"website","og:url":"https://docs.hifi.com/","og:description":"Build modern payment workflows and automate money movement.","og:site_name":"HIFI Docs","og:locale":"en_US","twitter:card":"summary","twitter:site":"@hifiHQ","twitter:title":"HIFI Docs","twitter:description":"Build modern payment workflows and automate money movement.","theme-color":"#33171E","application-name":"HIFI Docs","apple-mobile-web-app-title":"HIFI Docs"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"hifi","hasAudioNarration":false,"actualSubdomain":"hifi","customDomains":["docs.hifi.com"],"gitSource":{"type":"github","owner":"hifi-bridge","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5df8bb736e9e018578bf2","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":235},{"language":"default","tag":"Endpoints","count":231},{"language":"default","tag":"Docs","count":132},{"language":"default","tag":"Core concepts","count":60},{"language":"default","tag":"Guides","count":40},{"language":"default","tag":"Compliance","count":34},{"language":"default","tag":"References","count":29},{"language":"default","tag":"Wallets","count":22},{"language":"default","tag":"Migration Guide","count":22},{"language":"default","tag":"Migrate from v2","count":22}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"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":"editor-metadata","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:\"Space Mono\";src:url(\"http://app.hifi.com/fonts/rhithmic/SpaceMono-Regular.woff2\")\n format(\"woff2\");font-weight:normal;font-style:normal;font-display:swap}*{box-sizing:border-box}body,html{font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif}h1,h2,h3,h4,h5,h6{font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;font-weight:400!important}code,pre,.code,.code-block,.highlight,.language-*{font-family:\"Space Mono\", \"SF Mono\", \"Monaco\", \"Inconsolata\", \"Roboto Mono\",\n \"Source Code Pro\", monospace;font-weight:400}.dark table th{color:white!important}"}],"page":{"pagePath":"api-reference/onramp/create-an-onramp","slug":"/api-reference/onramp/create-an-onramp","pageMetadata":{"title":"Create an onramp","description":"\nAn onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet.\n\nThere are two types of onramp:\n\n* **Quote-based onramp**: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the [Accept an onramp quote](https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote) endpoint to initiate the onramp. \n Additionally, you can also refresh the onramp quote using the [Refresh an onramp quote](https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote) endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click [here](https://docs.hifi.com/guides/transfers/onramps/usd-usdc).\n\n* **Non-quote-based onramp**: This type of onramp will be initiated immediately upon creating an onramp.\n","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps","href":"/api-reference/onramp/create-an-onramp","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n br: \"br\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"There are two types of onramp:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Quote-based onramp\"\n }), \": This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the \", _jsx(_components.a, {\n href: \"https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote\",\n children: \"Accept an onramp quote\"\n }), \" endpoint to initiate the onramp.\", _jsx(_components.br, {}), \"\\n\", \"Additionally, you can also refresh the onramp quote using the \", _jsx(_components.a, {\n href: \"https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote\",\n children: \"Refresh an onramp quote\"\n }), \" endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click \", _jsx(_components.a, {\n href: \"https://docs.hifi.com/guides/transfers/onramps/usd-usdc\",\n children: \"here\"\n }), \".\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Non-quote-based onramp\"\n }), \": This type of onramp will be initiated immediately upon creating an onramp.\"]\n }), \"\\n\"]\n }), \"\\n\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an onramp","description":"\nAn onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet.\n\nThere are two types of onramp:\n\n* **Quote-based onramp**: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the [Accept an onramp quote](https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote) endpoint to initiate the onramp. \n Additionally, you can also refresh the onramp quote using the [Refresh an onramp quote](https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote) endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click [here](https://docs.hifi.com/guides/transfers/onramps/usd-usdc).\n\n* **Non-quote-based onramp**: This type of onramp will be initiated immediately upon creating an onramp.\n","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps","href":"/api-reference/onramp/create-an-onramp","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/hifi/5e51763843a3bb92/homepage.js"],"openApiReferenceData":{"operation":{"summary":"Create an onramp","description":"\nAn onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet.\n\nThere are two types of onramp:\n\n* **Quote-based onramp**: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the [Accept an onramp quote](https://docs.hifi.com/api-reference/onramp/accept-an-onramp-quote) endpoint to initiate the onramp. \n Additionally, you can also refresh the onramp quote using the [Refresh an onramp quote](https://docs.hifi.com/api-reference/onramp/refresh-an-onramp-quote) endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click [here](https://docs.hifi.com/guides/transfers/onramps/usd-usdc).\n\n* **Non-quote-based onramp**: This type of onramp will be initiated immediately upon creating an onramp.\n","tags":["Onramp"],"requestBody":"65a096f8-84d9-4fdc-9fb8-da795d65da56","responses":{"200":"c2d71779-4918-48b9-93d1-4f1ce6727e7b","401":"6ab41fc6-6a49-49bc-97f9-bad28ac48d2d","404":"262e0b2c-0c37-4945-8f5b-0800d0ccc822","500":"749d2b05-8aba-4446-ae41-21b7055887c3"},"method":"post","type":"path","servers":["6f432d32-e3fd-4608-b3f0-1c4898c1934a","b6cc863e-a862-4848-872f-9c5ae26de871"],"security":["6053876a-a234-4b58-84c8-e0a0938eafaf"],"path":"/v2/onramps","baseUrlOptions":["https://production.hifibridge.com","https://sandbox.hifibridge.com"],"title":"Create an onramp","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Onramp","required":["requestId","source","destination"],"properties":{"requestId":{"type":"string","description":"unique identifier for the request (recommend using uuid v4)","isRequired":true,"uniqueKey":"oneOf.0.requestId","typeLabel":"string"},"source":{"type":"object","properties":{"currency":{"type":"string","enum":["usd","ngn","mwk","bwp","xaf","ghs","kes","rwf","zar","tzs","ugx","xof","zmw","brl","mxn","eur"],"description":"fiat currency","isRequired":true,"uniqueKey":"oneOf.0.source.currency","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is sending the fiat","isRequired":true,"uniqueKey":"oneOf.0.source.userId","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","format":"float","minimum":0,"description":"amount of fiat currency to send","uniqueKey":"oneOf.0.source.amount","typeLabel":"number\u003cfloat>"},"transferType":{"type":"string","enum":["ach","wire"],"description":"payment network type\n\n* this field is used when onramping from usd, default is `ach`\n","uniqueKey":"oneOf.0.source.transferType","typeLabel":"enum\u003cstring>"},"accountId":{"type":"string","format":"uuid","description":"account the fiat comes from. eg. usd Plaid account\n\n* this field is optional when onramping from `currency`: `usd`\n* this field is not required when onramping from `currency`: `brl`, `mxn`\n* this field is required when onramping from the rest of the currencies\n","uniqueKey":"oneOf.0.source.accountId","typeLabel":"string\u003cuuid>"}},"required":["currency","userId"],"description":"onramp source","isRequired":true,"uniqueKey":"oneOf.0.source","typeLabel":"object"},"destination":{"type":"object","properties":{"amount":{"type":"number","format":"float","minimum":0,"description":"amount of crypto currency to receive","uniqueKey":"oneOf.0.destination.amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","enum":["usdc","usdt","usdHifi"],"description":"crypto currency (note: `usdHifi` is only available in sandbox to simulate token movement)\n","uniqueKey":"oneOf.0.destination.currency","typeLabel":"enum\u003cstring>"},"chain":{"type":"string","enum":["POLYGON","ETHEREUM","SOLANA","BASE","TRON"],"description":"chain of the crypto currency","uniqueKey":"oneOf.0.destination.chain","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is receiving the crypto, required if `externalWalletId` is not provided","uniqueKey":"oneOf.0.destination.userId","typeLabel":"string\u003cuuid>"},"externalWalletId":{"type":"string","format":"uuid","description":"external wallet id who is receiving the crypto, required if `userId` is not provided","uniqueKey":"oneOf.0.destination.externalWalletId","typeLabel":"string\u003cuuid>"}},"description":"onramp destination","isRequired":true,"uniqueKey":"oneOf.0.destination","typeLabel":"object"},"purposeOfPayment":{"type":"string","enum":["gift","bills","groceries","travel","health","entertainment","housing","school-fees","other"],"uniqueKey":"oneOf.0.purposeOfPayment","typeLabel":"enum\u003cstring>"},"isInstant":{"type":"boolean","default":false,"description":"instant onramp. coming soon ...\n","uniqueKey":"oneOf.0.isInstant","typeLabel":"boolean"},"fee":{"oneOf":[{"type":"object","description":"custom onramp fee, omit if no fee is charged","required":["type","value"],"properties":{"type":{"type":"string","enum":["FIX","PERCENT"],"isRequired":true,"uniqueKey":"oneOf.0.fee.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","format":"float","minimum":0,"description":"custom transaction fee (`0.01` represents `1%` when `type` is set to `PERCENT`, checkout https://docs.hifi.com/v2/docs/fee-collection for more information)\n","isRequired":true,"uniqueKey":"oneOf.0.fee.oneOf.0.value","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.0.fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.0.fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.fee","typeLabel":"object | null"}},"uniqueKey":"oneOf.0","typeLabel":"Onramp · object"},{"type":"object","title":"Onramp (USD)","required":["requestId","source","destination"],"properties":{"requestId":{"type":"string","description":"unique identifier for the request (recommend using uuid v4)","isRequired":true,"uniqueKey":"oneOf.1.requestId","typeLabel":"string"},"source":{"type":"object","properties":{"currency":{"type":"string","enum":["usd"],"description":"fiat currency","isRequired":true,"uniqueKey":"oneOf.1.source.currency","typeLabel":"enum\u003cstring>"},"transferType":{"type":"string","enum":["ach","wire"],"description":"payment network type\n","isRequired":true,"uniqueKey":"oneOf.1.source.transferType","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is funding the fiat.","isRequired":true,"uniqueKey":"oneOf.1.source.userId","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","format":"float","minimum":0,"description":"amount of fiat currency to send","uniqueKey":"oneOf.1.source.amount","typeLabel":"number\u003cfloat>"},"accountId":{"type":"string","format":"uuid","description":"bank account to ACH pull from.\n","uniqueKey":"oneOf.1.source.accountId","typeLabel":"string\u003cuuid>"}},"required":["transferType","currency","userId"],"description":"onramp source","isRequired":true,"uniqueKey":"oneOf.1.source","typeLabel":"object"},"destination":{"type":"object","properties":{"amount":{"type":"number","format":"float","minimum":0,"description":"amount of crypto currency to receive","uniqueKey":"oneOf.1.destination.amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","enum":["usdc","usdt","usdHifi"],"description":"crypto currency (note: `usdHifi` is only available in sandbox to simulate token movement)\n","uniqueKey":"oneOf.1.destination.currency","typeLabel":"enum\u003cstring>"},"chain":{"type":"string","enum":["POLYGON","ETHEREUM","SOLANA","BASE","TRON"],"description":"chain of the crypto currency","uniqueKey":"oneOf.1.destination.chain","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is receiving the crypto, required if `externalWalletId` is not provided","uniqueKey":"oneOf.1.destination.userId","typeLabel":"string\u003cuuid>"},"externalWalletId":{"type":"string","format":"uuid","description":"external wallet id who is receiving the crypto, required if `userId` is not provided","uniqueKey":"oneOf.1.destination.externalWalletId","typeLabel":"string\u003cuuid>"}},"description":"onramp destination","isRequired":true,"uniqueKey":"oneOf.1.destination","typeLabel":"object"},"fee":{"type":"object","description":"custom onramp fee, omit if no fee is charged","required":["type","value"],"properties":{"type":{"type":"string","enum":["FIX","PERCENT"],"isRequired":true,"uniqueKey":"oneOf.1.fee.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","format":"float","minimum":0,"description":"custom transaction fee (`0.01` represents `1%` when `type` is set to `PERCENT`, checkout https://docs.hifi.com/v2/docs/fee-collection for more information)\n","isRequired":true,"uniqueKey":"oneOf.1.fee.value","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.1.fee","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"Onramp (USD) · object"},{"type":"object","title":"Onramp (BRL)","required":["requestId","source","destination"],"properties":{"requestId":{"type":"string","description":"unique identifier for the request (recommend using uuid v4)","isRequired":true,"uniqueKey":"oneOf.2.requestId","typeLabel":"string"},"source":{"type":"object","properties":{"currency":{"type":"string","enum":["brl"],"description":"fiat currency","isRequired":true,"uniqueKey":"oneOf.2.source.currency","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is sending the fiat","isRequired":true,"uniqueKey":"oneOf.2.source.userId","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","format":"float","minimum":0,"description":"amount of fiat currency to send","uniqueKey":"oneOf.2.source.amount","typeLabel":"number\u003cfloat>"}},"required":["currency","userId"],"description":"onramp source","isRequired":true,"uniqueKey":"oneOf.2.source","typeLabel":"object"},"destination":{"type":"object","properties":{"amount":{"type":"number","format":"float","minimum":0,"description":"amount of crypto currency to receive","uniqueKey":"oneOf.2.destination.amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","enum":["usdc","usdt","usdHifi"],"description":"crypto currency (note: `usdHifi` is only available in sandbox to simulate token movement)\n","uniqueKey":"oneOf.2.destination.currency","typeLabel":"enum\u003cstring>"},"chain":{"type":"string","enum":["POLYGON","ETHEREUM","SOLANA","BASE","TRON"],"description":"chain of the crypto currency","uniqueKey":"oneOf.2.destination.chain","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is receiving the crypto, required if `externalWalletId` is not provided","uniqueKey":"oneOf.2.destination.userId","typeLabel":"string\u003cuuid>"},"externalWalletId":{"type":"string","format":"uuid","description":"external wallet id who is receiving the crypto, required if `userId` is not provided","uniqueKey":"oneOf.2.destination.externalWalletId","typeLabel":"string\u003cuuid>"}},"description":"onramp destination","isRequired":true,"uniqueKey":"oneOf.2.destination","typeLabel":"object"},"purposeOfPayment":{"type":"string","enum":["gift","bills","groceries","travel","health","entertainment","housing","school-fees","other"],"uniqueKey":"oneOf.2.purposeOfPayment","typeLabel":"enum\u003cstring>"},"isInstant":{"type":"boolean","default":false,"description":"instant onramp. coming soon ...\n","uniqueKey":"oneOf.2.isInstant","typeLabel":"boolean"},"fee":{"oneOf":[{"type":"object","description":"custom onramp fee, omit if no fee is charged","required":["type","value"],"properties":{"type":{"type":"string","enum":["FIX","PERCENT"],"isRequired":true,"uniqueKey":"oneOf.2.fee.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","format":"float","minimum":0,"description":"custom transaction fee (`0.01` represents `1%` when `type` is set to `PERCENT`, checkout https://docs.hifi.com/v2/docs/fee-collection for more information)\n","isRequired":true,"uniqueKey":"oneOf.2.fee.oneOf.0.value","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.2.fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.2.fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.2.fee","typeLabel":"object | null"}},"uniqueKey":"oneOf.2","typeLabel":"Onramp (BRL) · object"},{"type":"object","title":"Onramp (MXN)","required":["requestId","source","destination"],"properties":{"requestId":{"type":"string","description":"unique identifier for the request (recommend using uuid v4)","isRequired":true,"uniqueKey":"oneOf.3.requestId","typeLabel":"string"},"source":{"type":"object","properties":{"currency":{"type":"string","enum":["mxn"],"description":"fiat currency","isRequired":true,"uniqueKey":"oneOf.3.source.currency","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is sending the fiat","isRequired":true,"uniqueKey":"oneOf.3.source.userId","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","format":"float","minimum":0,"description":"amount of fiat currency to send","uniqueKey":"oneOf.3.source.amount","typeLabel":"number\u003cfloat>"}},"required":["currency","userId"],"description":"onramp source","isRequired":true,"uniqueKey":"oneOf.3.source","typeLabel":"object"},"destination":{"type":"object","properties":{"amount":{"type":"number","format":"float","minimum":0,"description":"amount of crypto currency to receive","uniqueKey":"oneOf.3.destination.amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","enum":["usdc","usdt","usdHifi"],"description":"crypto currency (note: `usdHifi` is only available in sandbox to simulate token movement)\n","uniqueKey":"oneOf.3.destination.currency","typeLabel":"enum\u003cstring>"},"chain":{"type":"string","enum":["POLYGON","ETHEREUM","SOLANA","BASE","TRON"],"description":"chain of the crypto currency","uniqueKey":"oneOf.3.destination.chain","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is receiving the crypto, required if `externalWalletId` is not provided","uniqueKey":"oneOf.3.destination.userId","typeLabel":"string\u003cuuid>"},"externalWalletId":{"type":"string","format":"uuid","description":"external wallet id who is receiving the crypto, required if `userId` is not provided","uniqueKey":"oneOf.3.destination.externalWalletId","typeLabel":"string\u003cuuid>"}},"description":"onramp destination","isRequired":true,"uniqueKey":"oneOf.3.destination","typeLabel":"object"},"purposeOfPayment":{"type":"string","enum":["gift","bills","groceries","travel","health","entertainment","housing","school-fees","other"],"uniqueKey":"oneOf.3.purposeOfPayment","typeLabel":"enum\u003cstring>"},"isInstant":{"type":"boolean","default":false,"description":"instant onramp. coming soon ...\n","uniqueKey":"oneOf.3.isInstant","typeLabel":"boolean"},"fee":{"oneOf":[{"type":"object","description":"custom onramp fee, omit if no fee is charged","required":["type","value"],"properties":{"type":{"type":"string","enum":["FIX","PERCENT"],"isRequired":true,"uniqueKey":"oneOf.3.fee.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","format":"float","minimum":0,"description":"custom transaction fee (`0.01` represents `1%` when `type` is set to `PERCENT`, checkout https://docs.hifi.com/v2/docs/fee-collection for more information)\n","isRequired":true,"uniqueKey":"oneOf.3.fee.oneOf.0.value","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.3.fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.3.fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.3.fee","typeLabel":"object | null"}},"uniqueKey":"oneOf.3","typeLabel":"Onramp (MXN) · object"},{"type":"object","title":"Onramp (Africa)","required":["requestId","source","destination","purposeOfPayment"],"properties":{"requestId":{"type":"string","description":"unique identifier for the request (recommend using uuid v4)","isRequired":true,"uniqueKey":"oneOf.4.requestId","typeLabel":"string"},"purposeOfPayment":{"type":"string","enum":["gift","bills","groceries","travel","health","entertainment","housing","school-fees","other"],"isRequired":true,"uniqueKey":"oneOf.4.purposeOfPayment","typeLabel":"enum\u003cstring>"},"source":{"type":"object","properties":{"currency":{"type":"string","description":"fiat currency.\nLook at the list of supported `currency` [here](https://docs.google.com/spreadsheets/d/1QxAWGoZMznB6_Ts4mzFcFD49ZOMUZNdNiR6wlr8NDL0/edit?gid=293141391#gid=293141391).\nMake sure the `currency` enum is supported for the provided `accountId`.\n","isRequired":true,"uniqueKey":"oneOf.4.source.currency","typeLabel":"string"},"accountId":{"type":"string","format":"uuid","description":"account the fiat comes from. eg. usd Plaid account\n\n* this field is optional when onramping from `currency`: `usd`\n* this field is not required when onramping from `currency`: `brl`\n* this field is required when onramping from the rest of the currencies\n","isRequired":true,"uniqueKey":"oneOf.4.source.accountId","typeLabel":"string\u003cuuid>"},"userId":{"type":"string","format":"uuid","description":"user who is sending the fiat","isRequired":true,"uniqueKey":"oneOf.4.source.userId","typeLabel":"string\u003cuuid>"},"amount":{"type":"number","format":"float","minimum":0,"description":"amount of fiat currency to send","uniqueKey":"oneOf.4.source.amount","typeLabel":"number\u003cfloat>"}},"required":["currency","userId","accountId"],"description":"onramp source","isRequired":true,"uniqueKey":"oneOf.4.source","typeLabel":"object"},"destination":{"type":"object","properties":{"amount":{"type":"number","format":"float","minimum":0,"description":"amount of crypto currency to receive","uniqueKey":"oneOf.4.destination.amount","typeLabel":"number\u003cfloat>"},"currency":{"type":"string","enum":["usdc","usdt","usdHifi"],"description":"crypto currency (note: `usdHifi` is only available in sandbox to simulate token movement)\n","uniqueKey":"oneOf.4.destination.currency","typeLabel":"enum\u003cstring>"},"chain":{"type":"string","enum":["POLYGON","ETHEREUM","SOLANA","BASE","TRON"],"description":"chain of the crypto currency","uniqueKey":"oneOf.4.destination.chain","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","format":"uuid","description":"user who is receiving the crypto, required if `externalWalletId` is not provided","uniqueKey":"oneOf.4.destination.userId","typeLabel":"string\u003cuuid>"},"externalWalletId":{"type":"string","format":"uuid","description":"external wallet id who is receiving the crypto, required if `userId` is not provided","uniqueKey":"oneOf.4.destination.externalWalletId","typeLabel":"string\u003cuuid>"}},"description":"onramp destination","isRequired":true,"uniqueKey":"oneOf.4.destination","typeLabel":"object"},"isInstant":{"type":"boolean","default":false,"description":"instant onramp. coming soon ...\n","uniqueKey":"oneOf.4.isInstant","typeLabel":"boolean"},"fee":{"oneOf":[{"type":"object","description":"custom onramp fee, omit if no fee is charged","required":["type","value"],"properties":{"type":{"type":"string","enum":["FIX","PERCENT"],"isRequired":true,"uniqueKey":"oneOf.4.fee.oneOf.0.type","typeLabel":"enum\u003cstring>"},"value":{"type":"number","format":"float","minimum":0,"description":"custom transaction fee (`0.01` represents `1%` when `type` is set to `PERCENT`, checkout https://docs.hifi.com/v2/docs/fee-collection for more information)\n","isRequired":true,"uniqueKey":"oneOf.4.fee.oneOf.0.value","typeLabel":"number\u003cfloat>"}},"uniqueKey":"oneOf.4.fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.4.fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.4.fee","typeLabel":"object | null"}},"uniqueKey":"oneOf.4","typeLabel":"Onramp (Africa) · object"}],"uniqueKey":"","typeLabel":"Onramp · object | Onramp (USD) · object | Onramp (BRL) · object | Onramp (MXN) · object | Onramp (Africa) · object"},"examples":{"Example":{"title":"Example","value":{"requestId":"\u003cstring>","source":{"userId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","amount":1,"accountId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"destination":{"amount":1,"userId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","externalWalletId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"},"isInstant":false,"fee":{"value":1}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c2d71779-4918-48b9-93d1-4f1ce6727e7b":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"transferType":{"type":"string","uniqueKey":"transferType","typeLabel":"string"},"transferDetails":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"transferDetails.id","typeLabel":"string\u003cuuid>"},"requestId":{"type":"string","format":"uuid","uniqueKey":"transferDetails.requestId","typeLabel":"string\u003cuuid>"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"transferDetails.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"transferDetails.updatedAt","typeLabel":"string\u003cdate-time>"},"status":{"type":"string","enum":["NOT_INITIATED","CREATED","OPEN_QUOTE","IN_REVIEW","FIAT_INITIATED","AWAITING_FUNDS","FIAT_PENDING","FIAT_PROCESSED","CRYPTO_INITIATED","CRYPTO_PENDING","COMPLETED","FIAT_FAILED","FIAT_RETURNED","CRYPTO_FAILED","QUOTE_FAILED","EXPIRED","CANCELLED","UNKNOWN"],"description":"Refer to [here](https://docs.hifi.com/docs/transfers/onramps#transaction-status) for more details on each onramp status.\n","uniqueKey":"transferDetails.status","typeLabel":"enum\u003cstring>"},"failedReason":{"oneOf":[{"type":"string","description":"Legacy failure label. `null` unless the transaction failed, and `null` on most failures in favour of `error` / `errorDetails`.","uniqueKey":"transferDetails.failedReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Legacy failure label. `null` unless the transaction failed, and `null` on most failures in favour of `error` / `errorDetails`.","uniqueKey":"transferDetails.failedReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.failedReason","typeLabel":"string | null"},"error":{"type":"string","description":"Error code when the onramp transaction has failed (e.g. `INTERNAL_ERROR`, `EXPIRED`, `AMOUNT_TOO_LOW`, `TRANSACTION_REJECTED`).\nPresent when status is a failed state such as `FIAT_FAILED`, `CRYPTO_FAILED`, or `QUOTE_FAILED`.\n","uniqueKey":"transferDetails.error","typeLabel":"string"},"errorDetails":{"type":"string","description":"Human-readable error details when the onramp transaction has failed.\nPresent when status is a failed state.\n","uniqueKey":"transferDetails.errorDetails","typeLabel":"string"},"source":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","uniqueKey":"transferDetails.source.userId","typeLabel":"string\u003cuuid>"},"currency":{"type":"string","uniqueKey":"transferDetails.source.currency","typeLabel":"string"},"amount":{"type":"number","format":"float","uniqueKey":"transferDetails.source.amount","typeLabel":"number\u003cfloat>"},"accountId":{"oneOf":[{"type":"string","description":"Source account the fiat was pulled from. `null` for deposits into a virtual account or into onramp deposit instructions, where no source account is on file.","uniqueKey":"transferDetails.source.accountId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Source account the fiat was pulled from. `null` for deposits into a virtual account or into onramp deposit instructions, where no source account is on file.","uniqueKey":"transferDetails.source.accountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.accountId","typeLabel":"string | null"},"user":{"type":"object","properties":{"email":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.user.email.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.user.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.user.email","typeLabel":"string | null"},"lastName":{"oneOf":[{"type":"string","description":"`null` for business users, which carry `businessName` instead.","uniqueKey":"transferDetails.source.user.lastName.oneOf.0","typeLabel":"string"},{"type":"null","description":"`null` for business users, which carry `businessName` instead.","uniqueKey":"transferDetails.source.user.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.user.lastName","typeLabel":"string | null"},"firstName":{"oneOf":[{"type":"string","description":"`null` for business users, which carry `businessName` instead.","uniqueKey":"transferDetails.source.user.firstName.oneOf.0","typeLabel":"string"},{"type":"null","description":"`null` for business users, which carry `businessName` instead.","uniqueKey":"transferDetails.source.user.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.user.firstName","typeLabel":"string | null"},"businessName":{"oneOf":[{"type":"string","description":"`null` for individual users, which carry `firstName` / `lastName` instead.","uniqueKey":"transferDetails.source.user.businessName.oneOf.0","typeLabel":"string"},{"type":"null","description":"`null` for individual users, which carry `firstName` / `lastName` instead.","uniqueKey":"transferDetails.source.user.businessName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.user.businessName","typeLabel":"string | null"}},"uniqueKey":"transferDetails.source.user","typeLabel":"object"},"bankInfo":{"oneOf":[{"type":"object","properties":{"bankName":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankName","typeLabel":"string | null"},"senderName":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.senderName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.senderName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.senderName","typeLabel":"string | null"},"routingNumber":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.routingNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.routingNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.routingNumber","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountNumber","typeLabel":"string | null"},"accountType":{"oneOf":[{"type":"string","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountType.oneOf.0","typeLabel":"string"},{"type":"null","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountType.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.accountType","typeLabel":"string | null"},"fedBatchId":{"oneOf":[{"type":"string","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.fedBatchId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.fedBatchId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.fedBatchId","typeLabel":"string | null"},"imad":{"oneOf":[{"type":"string","description":"Fedwire input message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.imad.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fedwire input message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.imad.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.imad","typeLabel":"string | null"},"omad":{"oneOf":[{"type":"string","description":"Fedwire output message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.omad.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fedwire output message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.omad.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.omad","typeLabel":"string | null"},"traceNumber":{"oneOf":[{"type":"string","description":"Trace number for the inbound payment. `null` when the payment did not carry one.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.traceNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Trace number for the inbound payment. `null` when the payment did not carry one.","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.traceNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.traceNumber","typeLabel":"string | null"},"bankAddress":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankAddress.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankAddress.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.bankAddress","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.description","typeLabel":"string | null"},"references":{"oneOf":[{"type":"object","description":"Remittance and reference information supplied by the sender. `null` when the payment carried none.","properties":{"senderReference":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.senderReference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.senderReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.senderReference","typeLabel":"string | null"},"beneficiaryReference":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.beneficiaryReference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.beneficiaryReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.beneficiaryReference","typeLabel":"string | null"},"remittance":{"type":"array","items":{"type":"string","uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.remittance.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0.remittance","typeLabel":"string[]"}},"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.0","typeLabel":"object"},{"type":"null","description":"Remittance and reference information supplied by the sender. `null` when the payment carried none.","properties":{"senderReference":{"oneOf":[{"type":"string"},{"type":"null"}]},"beneficiaryReference":{"oneOf":[{"type":"string"},{"type":"null"}]},"remittance":{"type":"array","items":{"type":"string"}}},"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.references","typeLabel":"object | null"},"paymentRail":{"oneOf":[{"type":"string","enum":["ach","wire","rtp"],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.paymentRail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["ach","wire","rtp"],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.paymentRail.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo.oneOf.0.paymentRail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"transferDetails.source.bankInfo.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transferDetails.source.bankInfo.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.source.bankInfo","typeLabel":"object | null"}},"uniqueKey":"transferDetails.source","typeLabel":"object"},"destination":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","uniqueKey":"transferDetails.destination.userId","typeLabel":"string\u003cuuid>"},"currency":{"type":"string","uniqueKey":"transferDetails.destination.currency","typeLabel":"string"},"chain":{"type":"string","uniqueKey":"transferDetails.destination.chain","typeLabel":"string"},"walletAddress":{"type":"string","uniqueKey":"transferDetails.destination.walletAddress","typeLabel":"string"},"externalWalletId":{"type":"string","uniqueKey":"transferDetails.destination.externalWalletId","typeLabel":"string"},"amount":{"type":"number","format":"float","uniqueKey":"transferDetails.destination.amount","typeLabel":"number\u003cfloat>"},"user":{"type":"object","properties":{"email":{"type":"string","uniqueKey":"transferDetails.destination.user.email","typeLabel":"string"},"lastName":{"type":"string","uniqueKey":"transferDetails.destination.user.lastName","typeLabel":"string"},"firstName":{"type":"string","uniqueKey":"transferDetails.destination.user.firstName","typeLabel":"string"},"businessName":{"type":"string","uniqueKey":"transferDetails.destination.user.businessName","typeLabel":"string"}},"uniqueKey":"transferDetails.destination.user","typeLabel":"object"}},"uniqueKey":"transferDetails.destination","typeLabel":"object"},"receipt":{"type":"object","properties":{"transactionHash":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.receipt.transactionHash.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.receipt.transactionHash.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.receipt.transactionHash","typeLabel":"string | null"},"returnReasonCode":{"oneOf":[{"type":"string","description":"Reason code for the returned inbound payment. Only populated when `status` is `FIAT_RETURNED`.","uniqueKey":"transferDetails.receipt.returnReasonCode.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason code for the returned inbound payment. Only populated when `status` is `FIAT_RETURNED`.","uniqueKey":"transferDetails.receipt.returnReasonCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.receipt.returnReasonCode","typeLabel":"string | null"}},"uniqueKey":"transferDetails.receipt","typeLabel":"object"},"virtualAccountId":{"oneOf":[{"type":"string","format":"uuid","description":"Virtual account the funds were deposited into. `null` when the onramp was not driven by a virtual account.","uniqueKey":"transferDetails.virtualAccountId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Virtual account the funds were deposited into. `null` when the onramp was not driven by a virtual account.","uniqueKey":"transferDetails.virtualAccountId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.virtualAccountId","typeLabel":"string\u003cuuid> | null"},"microDeposits":{"type":"object","description":"Micro deposits received into the onramp deposit account while it is awaiting funds.","properties":{"count":{"type":"integer","uniqueKey":"transferDetails.microDeposits.count","typeLabel":"integer"},"data":{"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"currency":{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].currency","typeLabel":"string"},"amount":{"type":"string","description":"Amount received, in dollars as a decimal string (for example `\"0.71\"`). Not cents.","example":"0.71","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].amount","typeLabel":"string"},"sourceBankInfo":{"type":"object","properties":{"bankName":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankName","typeLabel":"string | null"},"senderName":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.senderName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.senderName.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.senderName","typeLabel":"string | null"},"routingNumber":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.routingNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.routingNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.routingNumber","typeLabel":"string | null"},"accountNumber":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountNumber.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountNumber","typeLabel":"string | null"},"accountType":{"oneOf":[{"type":"string","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountType.oneOf.0","typeLabel":"string"},{"type":"null","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountType.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.accountType","typeLabel":"string | null"},"fedBatchId":{"oneOf":[{"type":"string","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.fedBatchId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ACH field. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.fedBatchId.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.fedBatchId","typeLabel":"string | null"},"imad":{"oneOf":[{"type":"string","description":"Fedwire input message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.imad.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fedwire input message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.imad.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.imad","typeLabel":"string | null"},"omad":{"oneOf":[{"type":"string","description":"Fedwire output message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.omad.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fedwire output message identifier. `null` when the inbound payment did not carry it.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.omad.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.omad","typeLabel":"string | null"},"traceNumber":{"oneOf":[{"type":"string","description":"Trace number for the inbound payment. `null` when the payment did not carry one.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.traceNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"Trace number for the inbound payment. `null` when the payment did not carry one.","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.traceNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.traceNumber","typeLabel":"string | null"},"bankAddress":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankAddress.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankAddress.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.bankAddress","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.description","typeLabel":"string | null"},"references":{"oneOf":[{"type":"object","description":"Remittance and reference information supplied by the sender. `null` when the payment carried none.","properties":{"senderReference":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.senderReference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.senderReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.senderReference","typeLabel":"string | null"},"beneficiaryReference":{"oneOf":[{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.beneficiaryReference.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.beneficiaryReference.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.beneficiaryReference","typeLabel":"string | null"},"remittance":{"type":"array","items":{"type":"string","uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.remittance.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0.remittance","typeLabel":"string[]"}},"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.0","typeLabel":"object"},{"type":"null","description":"Remittance and reference information supplied by the sender. `null` when the payment carried none.","properties":{"senderReference":{"oneOf":[{"type":"string"},{"type":"null"}]},"beneficiaryReference":{"oneOf":[{"type":"string"},{"type":"null"}]},"remittance":{"type":"array","items":{"type":"string"}}},"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.references","typeLabel":"object | null"},"paymentRail":{"oneOf":[{"type":"string","enum":["ach","wire","rtp"],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.paymentRail.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["ach","wire","rtp"],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.paymentRail.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo.paymentRail","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX].sourceBankInfo","typeLabel":"object"}},"uniqueKey":"transferDetails.microDeposits.data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transferDetails.microDeposits.data","typeLabel":"object[]"}},"uniqueKey":"transferDetails.microDeposits","typeLabel":"object"},"quoteInformation":{"oneOf":[{"type":"object","properties":{"sendGross":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendGross.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendGross.currency","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendGross","typeLabel":"object"},"sendNet":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendNet.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendNet.currency","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.sendNet","typeLabel":"object"},"railFee":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.railFee.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.railFee.currency","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.railFee","typeLabel":"object"},"receiveGross":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveGross.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveGross.currency","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveGross","typeLabel":"object"},"receiveNet":{"type":"object","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveNet.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveNet.currency","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.receiveNet","typeLabel":"object"},"rate":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.rate","typeLabel":"string"},"conversionFee":{"type":"object","description":"Conversion fee applied on the quote. Present on usd onramps, where it is always zero.","properties":{"amount":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.conversionFee.amount","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.conversionFee.currency","typeLabel":"string"},"description":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.conversionFee.description","typeLabel":"string"},"timing":{"type":"string","uniqueKey":"transferDetails.quoteInformation.oneOf.0.conversionFee.timing","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0.conversionFee","typeLabel":"object"},"expiresAt":{"type":"string","description":"Expiry of the quote as an ISO 8601 timestamp. Returns the literal string `\"N/A\"` for\nstatic quotes (usd onramps), which do not expire.\n","uniqueKey":"transferDetails.quoteInformation.oneOf.0.expiresAt","typeLabel":"string"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"sendGross":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"sendNet":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"railFee":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"receiveGross":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"receiveNet":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"rate":{"type":"string"},"conversionFee":{"type":"object","description":"Conversion fee applied on the quote. Present on usd onramps, where it is always zero.","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"description":{"type":"string"},"timing":{"type":"string"}}},"expiresAt":{"type":"string","description":"Expiry of the quote as an ISO 8601 timestamp. Returns the literal string `\"N/A\"` for\nstatic quotes (usd onramps), which do not expire.\n"}},"uniqueKey":"transferDetails.quoteInformation.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.quoteInformation","typeLabel":"object | null"},"depositInfo":{"oneOf":[{"type":"object","properties":{"bankName":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.bankName","typeLabel":"string"},"bankAddress":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.bankAddress","typeLabel":"string"},"swiftCode":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.swiftCode","typeLabel":"string"},"beneficiary":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.beneficiary.name","typeLabel":"string"},"address":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.beneficiary.address","typeLabel":"string"}},"uniqueKey":"transferDetails.depositInfo.oneOf.0.beneficiary","typeLabel":"object"},"ach":{"type":"object","properties":{"routingNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.ach.routingNumber","typeLabel":"string"},"accountNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.ach.accountNumber","typeLabel":"string"}},"uniqueKey":"transferDetails.depositInfo.oneOf.0.ach","typeLabel":"object"},"wire":{"type":"object","properties":{"routingNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.wire.routingNumber","typeLabel":"string"},"accountNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.wire.accountNumber","typeLabel":"string"}},"uniqueKey":"transferDetails.depositInfo.oneOf.0.wire","typeLabel":"object"},"rtp":{"type":"object","properties":{"routingNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.rtp.routingNumber","typeLabel":"string"},"accountNumber":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.rtp.accountNumber","typeLabel":"string"}},"uniqueKey":"transferDetails.depositInfo.oneOf.0.rtp","typeLabel":"object"},"reference":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.reference","typeLabel":"string"},"depositBy":{"type":"string","format":"date-time","uniqueKey":"transferDetails.depositInfo.oneOf.0.depositBy","typeLabel":"string\u003cdate-time>"},"instruction":{"type":"string","uniqueKey":"transferDetails.depositInfo.oneOf.0.instruction","typeLabel":"string"}},"uniqueKey":"transferDetails.depositInfo.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"transferDetails.depositInfo.oneOf.1","typeLabel":"null"}],"uniqueKey":"transferDetails.depositInfo","typeLabel":"object | null"}},"uniqueKey":"transferDetails","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"OnrampObjectUsdOpenQuoteExample":{"title":"OnrampObjectUsdOpenQuoteExample","value":{"transferType":"ONRAMP","transferDetails":{"id":"b26927e6-2771-423c-af44-a3c7a3e815c5","requestId":"e1047def-6942-4fd7-be04-e62eb41813b6","createdAt":"2025-02-03T17:15:31.927121+00:00","updatedAt":"2025-02-03T17:15:35.882+00:00","status":"OPEN_QUOTE","failedReason":null,"source":{"userId":"c15c0adf-3e45-4a62-b334-73aeec127649","currency":"usd","amount":10,"accountId":null,"user":{"email":"example@hifibridge.com","lastName":"Wu","firstName":"Henry","businessName":null},"bankInfo":null},"destination":{"userId":"c15c0adf-3e45-4a62-b334-73aeec127649","currency":"usdc","chain":"POLYGON","walletAddress":"0x848732f6c834E05b17C56fa01E83EE095f72C3c3","externalWalletId":null,"amount":null,"user":{"email":"example@hifibridge.com","lastName":"Wu","firstName":"Henry","businessName":null}},"receipt":{"transactionHash":null},"developerFee":null,"virtualAccountId":null,"quoteInformation":{"sendGross":{"amount":"10.00","currency":"usd"},"sendNet":{"amount":"10.00","currency":"usd"},"railFee":{"amount":"0.00","currency":"usdc"},"receiveGross":{"amount":"10.00","currency":"usdc"},"receiveNet":{"amount":"10.00","currency":"usdc"},"rate":"1.00","expiresAt":"N/A"},"depositInfo":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"6ab41fc6-6a49-49bc-97f9-bad28ac48d2d":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Error code","uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","description":"Error type","uniqueKey":"error","typeLabel":"string"},"errorDetails":{"type":"string","description":"Detailed error message","uniqueKey":"errorDetails","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"error":"\u003cstring>","errorDetails":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"262e0b2c-0c37-4945-8f5b-0800d0ccc822":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"error","error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"749d2b05-8aba-4446-ae41-21b7055887c3":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","description":"Error code","uniqueKey":"code","typeLabel":"integer"},"error":{"type":"string","description":"Error type","uniqueKey":"error","typeLabel":"string"},"errorDetails":{"type":"string","description":"Detailed error message","uniqueKey":"errorDetails","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"error":"\u003cstring>","errorDetails":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6053876a-a234-4b58-84c8-e0a0938eafaf":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"6f432d32-e3fd-4608-b3f0-1c4898c1934a":{"url":"https://production.hifibridge.com","description":"Production server"},"b6cc863e-a862-4848-872f-9c5ae26de871":{"url":"https://sandbox.hifibridge.com","description":"Sandbox server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://production.hifi.com/api/v2/openapi.json"},"subdomain":"hifi","siteName":"HIFI Docs","title":"HIFI Docs","navMaps":{"firstHrefInVersion":{"v3":{"href":"/v3/api-reference/onramp/create-an-onramp","matchLevel":1},"v2":{"href":"/api-reference/onramp/create-an-onramp","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T17:55:07.226Z","originalFileLocation":"api-reference/onramp/create-an-onramp.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=\"An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet. There are two types of onramp: Quote-based onramp: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the Accept an onramp quote endpoint to initiate the onramp. Additionally, you can also refresh the onramp quote using the Refresh an onramp quote endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click here. Non-quote-based onramp: This type of onramp will be initiated immediately upon creating an onramp.\">\u003cmeta data-mint-head name=\"keywords\" content=\"HIFI, payments API, programmable money, payment orchestration, payment workflows, automated flows, composable payments, workflow builder, payment automation, orchestration layer, flow composition, fintech API, stablecoins, USDC, USDT, bank transfers, ACH, SWIFT, RTP, KYC, KYB, compliance, virtual accounts, payouts, webhooks, developer documentation\">\u003cmeta data-mint-head name=\"application-name\" content=\"HIFI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index,follow,max-snippet:-1,max-image-preview:large,max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_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/hifi/4JvTHTX5k6s_9z5n/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"HIFI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build modern payment workflows and automate money movement.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"HIFI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.hifi.com/api-reference/onramp/create-an-onramp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://hifi.mintlify.site/_mintlify/api/og/v2?division=Onramps\u0026amp;title=Create+an+onramp\u0026amp;description=%0AAn+onramp+facilitates+the+conversion+of+fiat+to+crypto.+Once+the+fiat+payment+is+received%2C+HIFI+will+deliver+the+converted+crypto+to+the+receiving+user%E2%80%99s+walle\u0026amp;theme=445d8ece64587b97bc363e93\u0026amp;signature=8fcffbeac814a85e6f4df80a79dfdcff6be6923289b405e9cda35e4c879352c0\">\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=\"HIFI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build modern payment workflows and automate money movement.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://hifi.mintlify.site/_mintlify/api/og/v2?division=Onramps\u0026amp;title=Create+an+onramp\u0026amp;description=%0AAn+onramp+facilitates+the+conversion+of+fiat+to+crypto.+Once+the+fiat+payment+is+received%2C+HIFI+will+deliver+the+converted+crypto+to+the+receiving+user%E2%80%99s+walle\u0026amp;theme=445d8ece64587b97bc363e93\u0026amp;signature=8fcffbeac814a85e6f4df80a79dfdcff6be6923289b405e9cda35e4c879352c0\">\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/hifi/4JvTHTX5k6s_9z5n/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"HIFI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#222222\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"HIFI\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#33171E\">\u003cmeta data-mint-head name=\"application-name\" content=\"HIFI Docs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.hifi.com/api-reference/onramp/create-an-onramp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/onramp/create-an-onramp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.hifi.com/#organization\",\"name\":\"HIFI Docs\",\"url\":\"https://docs.hifi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/hifi/VzHynFYCLt9TATAK/logo/light.svg?fit=max\u0026auto=format\u0026n=VzHynFYCLt9TATAK\u0026q=85\u0026s=3b0ca085dfd9860bd27ab9c039b6c2cc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.hifi.com#website\",\"name\":\"HIFI Docs\",\"url\":\"https://docs.hifi.com\",\"publisher\":{\"@id\":\"https://docs.hifi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp#webpage\",\"url\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp\",\"name\":\"Create an onramp\",\"description\":\"An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet. There are two types of onramp: Quote-based onramp: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the Accept an onramp quote endpoint to initiate the onramp. Additionally, you can also refresh the onramp quote using the Refresh an onramp quote endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click here. Non-quote-based onramp: This type of onramp will be initiated immediately upon creating an onramp.\",\"dateModified\":\"2026-10-27T17:55:07.226Z\",\"isPartOf\":{\"@id\":\"https://docs.hifi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.hifi.com/api-reference/common/ping\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Onramps\",\"item\":\"https://docs.hifi.com/api-reference/onramp/list-all-onramps\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create an onramp\",\"item\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp#apireference\",\"headline\":\"Create an onramp\",\"name\":\"Create an onramp\",\"description\":\"An onramp facilitates the conversion of fiat to crypto. Once the fiat payment is received, HIFI will deliver the converted crypto to the receiving user’s wallet. There are two types of onramp: Quote-based onramp: This type of onramp first returns the conversion rate quote based on the best market rate, which you can accept through the Accept an onramp quote endpoint to initiate the onramp. Additionally, you can also refresh the onramp quote using the Refresh an onramp quote endpoint to refresh the conversion rate associated with the onramp. To learn more about quote-based onramps, click here. Non-quote-based onramp: This type of onramp will be initiated immediately upon creating an onramp.\",\"url\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp\",\"mainEntityOfPage\":{\"@id\":\"https://docs.hifi.com/api-reference/onramp/create-an-onramp#webpage\"},\"dateModified\":\"2026-10-27T17:55:07.226Z\",\"publisher\":{\"@id\":\"https://docs.hifi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.hifi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"HIFI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"HIFI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/onramp/create-an-onramp.md","siteName":"HIFI Docs","nav":{"global":null,"versions":[{"version":"v3","tag":"Beta","pages":[{"title":"v3","href":"/v3/api-reference/onramp/create-an-onramp"}]},{"version":"v2","default":true,"tag":"Stable","tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/quickstart"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API Reference","pages":[{"group":"Overview","pages":[{"title":"Authentication","href":"/api/authentication"},{"title":"Error Codes","href":"/api/errors"}]},{"group":"Endpoints","pages":[{"group":"Common","pages":[{"title":"Ping","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /ping","href":"/api-reference/common/ping"}]},{"group":"Users","pages":[{"title":"List all users","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users","href":"/api-reference/user/list-all-users"},{"title":"Retrieve a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}","href":"/api-reference/user/retrieve-a-user"},{"title":"Create a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users","href":"/api-reference/user/create-a-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}","href":"/api-reference/user/update-a-user"},{"title":"Retrieve a terms of service link","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/tos-link/{signedAgreementId}","href":"/api-reference/user/retrieve-a-terms-of-service-link"},{"title":"Generate a terms of service link","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/tos-link","href":"/api-reference/user/generate-a-terms-of-service-link"}]},{"group":"KYC","pages":[{"title":"List all KYC statuses","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/kyc/status","href":"/api-reference/kyc/list-all-kyc-statuses"},{"title":"Retrieve KYC information","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc","href":"/api-reference/kyc/retrieve-kyc-information"},{"title":"Retrieve KYC status","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/status","href":"/api-reference/kyc/retrieve-kyc-status"},{"title":"Retrieve KYC requirements","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/requirements","href":"/api-reference/kyc/retrieve-kyc-requirements"},{"title":"List all documents","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/documents","href":"/api-reference/kyc/list-all-documents"},{"title":"Retrieve a document","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/documents/{documentId}","href":"/api-reference/kyc/retrieve-a-document"},{"title":"List all UBOs","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/ubos","href":"/api-reference/kyc/list-all-ubos"},{"title":"Retrieve a UBO","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/kyc/ubos/{uboId}","href":"/api-reference/kyc/retrieve-a-ubo"},{"title":"Generate a KYC link","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/kyc-link","href":"/api-reference/kyc/generate-a-kyc-link"},{"title":"Update KYC information","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc","href":"/api-reference/kyc/update-kyc-information"},{"title":"Submit KYC","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/submissions","href":"/api-reference/kyc/submit-kyc"},{"title":"Add documents","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/documents","href":"/api-reference/kyc/add-documents"},{"title":"Update a document","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/documents/{documentId}","href":"/api-reference/kyc/update-a-document"},{"title":"Add a UBO","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/ubos","href":"/api-reference/kyc/add-a-ubo"},{"title":"Update a UBO","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/kyc/ubos/{uboId}","href":"/api-reference/kyc/update-a-ubo"}]},{"group":"RFI","pages":[{"title":"List RFIs","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/rfis","href":"/api-reference/rfi/list-rfis"},{"title":"Submit an RFI response","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/rfis/{rfiId}/submissions","href":"/api-reference/rfi/submit-an-rfi-response"}]},{"group":"File","pages":[{"title":"Upload a file","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/files","href":"/api-reference/file/upload-a-file"}]},{"group":"Wallets","pages":[{"title":"Retrieve wallet balance","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/balance","href":"/api-reference/wallet/retrieve-wallet-balance"},{"title":"Get external wallets for a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/external","href":"/api-reference/wallet/get-external-wallets-for-a-user"},{"title":"Get an external wallet","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/external/{externalWalletId}","href":"/api-reference/wallet/get-an-external-wallet"},{"title":"Get inbound deposits","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/deposits","href":"/api-reference/wallet/get-inbound-deposits"},{"title":"Get an inbound deposit","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/wallets/deposits/{depositId}","href":"/api-reference/wallet/get-an-inbound-deposit"},{"title":"Add wallets to a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/wallets/add","href":"/api-reference/wallet/add-wallets-to-a-user"},{"title":"Add external wallets to a user","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/wallets/external","href":"/api-reference/wallet/add-external-wallets-to-a-user"}]},{"group":"Accounts","pages":[{"title":"List all accounts","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/accounts","href":"/api-reference/account/list-all-accounts"},{"title":"Retrieve an account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/accounts/{accountId}","href":"/api-reference/account/retrieve-an-account"},{"title":"Create an account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/accounts","href":"/api-reference/account/create-an-account"},{"title":"Delete an account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json delete /v2/users/{userId}/accounts/{accountId}","href":"/api-reference/account/delete-an-account"}]},{"group":"Virtual Accounts","pages":[{"title":"List all virtual accounts","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/virtual-accounts","href":"/api-reference/virtual-account/list-all-virtual-accounts"},{"title":"Retrieve a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/virtual-accounts/{accountId}","href":"/api-reference/virtual-account/retrieve-a-virtual-account"},{"title":"Create a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts","href":"/api-reference/virtual-account/create-a-virtual-account"},{"title":"Update a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/update","href":"/api-reference/virtual-account/update-a-virtual-account"},{"title":"Deactivate a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/deactivate","href":"/api-reference/virtual-account/deactivate-a-virtual-account"},{"title":"Reactivate a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/reactivate","href":"/api-reference/virtual-account/reactivate-a-virtual-account"},{"title":"Simulate a deposit to a virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/simulate-deposit","href":"/api-reference/virtual-account/simulate-a-deposit-to-a-virtual-account"}]},{"group":"Orchestration Addresses","pages":[{"title":"List orchestration addresses","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses","href":"/api-reference/orchestration-address/list-orchestration-addresses"},{"title":"Retrieve an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}","href":"/api-reference/orchestration-address/retrieve-an-orchestration-address"},{"title":"Create an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses","href":"/api-reference/orchestration-address/create-an-orchestration-address"},{"title":"Update an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/update","href":"/api-reference/orchestration-address/update-an-orchestration-address"},{"title":"Deactivate an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deactivate","href":"/api-reference/orchestration-address/deactivate-an-orchestration-address"},{"title":"List deposits for an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deposits","href":"/api-reference/orchestration-address/list-deposits-for-an-orchestration-address"},{"title":"Retrieve a deposit","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/deposits/{depositId}","href":"/api-reference/orchestration-address/retrieve-a-deposit"},{"title":"List batches for an orchestration address","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/batches","href":"/api-reference/orchestration-address/list-batches-for-an-orchestration-address"},{"title":"Retrieve a batch","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/batches/{batchId}","href":"/api-reference/orchestration-address/retrieve-a-batch"},{"title":"Manually trigger an orchestration","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/orchestration-addresses/{orchestrationAddressId}/orchestrate","href":"/api-reference/orchestration-address/manually-trigger-an-orchestration"}]},{"group":"Onramps","pages":[{"title":"List all onramps","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/onramps","href":"/api-reference/onramp/list-all-onramps"},{"title":"Retrieve an onramp","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/onramps/{transferId}","href":"/api-reference/onramp/retrieve-an-onramp"},{"title":"Retrieve an onramp rate","description":"Onramp rates are estimated rates for onramp conversions from different fiat currencies into different cryptocurrencies.\n","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/onramps/rates","href":"/api-reference/onramp/retrieve-an-onramp-rate"},{"title":"Create an onramp","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps","href":"/api-reference/onramp/create-an-onramp"},{"title":"Cancel an onramp","description":"Cancel an onramp that is in review. Only onramps with status `IN_REVIEW` can be cancelled.\n","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/cancel","href":"/api-reference/onramp/cancel-an-onramp"},{"title":"Refresh an onramp quote","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/quote/refresh","href":"/api-reference/onramp/refresh-an-onramp-quote"},{"title":"Accept an onramp quote","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/onramps/{transferId}/quote/accept","href":"/api-reference/onramp/accept-an-onramp-quote"}]},{"group":"Offramps","pages":[{"title":"List all offramps","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/offramps","href":"/api-reference/offramp/list-all-offramps"},{"title":"Retrieve an offramp","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/offramps/{transferId}","href":"/api-reference/offramp/retrieve-an-offramp"},{"title":"Retrieve an offramp rate","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/offramps/rates","href":"/api-reference/offramp/retrieve-an-offramp-rate"},{"title":"Create an offramp","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/offramps","href":"/api-reference/offramp/create-an-offramp"},{"title":"Cancel an offramp","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/offramps/{transferId}/cancel","href":"/api-reference/offramp/cancel-an-offramp"},{"title":"Accept an offramp quote","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/offramps/{transferId}/quote/accept","href":"/api-reference/offramp/accept-an-offramp-quote"}]},{"group":"Wallet Transfers","pages":[{"title":"List all crypto transfers","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers","href":"/api-reference/crypto-transfer/list-all-crypto-transfers"},{"title":"Retrieve a crypto transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/{transferId}","href":"/api-reference/crypto-transfer/retrieve-a-crypto-transfer"},{"title":"List all batch crypto transfers","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/batches","href":"/api-reference/crypto-transfer/list-all-batch-crypto-transfers"},{"title":"Retrieve a batch crypto transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/transfers/batches/{transferId}","href":"/api-reference/crypto-transfer/retrieve-a-batch-crypto-transfer"},{"title":"Create a crypto transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/transfers","href":"/api-reference/crypto-transfer/create-a-crypto-transfer"},{"title":"Create a batch crypto transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/transfers/batches","href":"/api-reference/crypto-transfer/create-a-batch-crypto-transfer"}]},{"group":"Wallet Offers","pages":[{"title":"List all offers for a wallet","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/{walletId}/offers","href":"/api-reference/canton-offers/list-all-offers-for-a-wallet"},{"title":"Retrieve a Canton offer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/{walletId}/offers/{offerId}","href":"/api-reference/canton-offers/retrieve-a-canton-offer"},{"title":"Accept a Canton offer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/{walletId}/offers/{offerId}/accept","href":"/api-reference/canton-offers/accept-a-canton-offer"},{"title":"Reject a Canton offer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/{walletId}/offers/{offerId}/reject","href":"/api-reference/canton-offers/reject-a-canton-offer"}]},{"group":"Wallet Bridges","pages":[{"title":"List all bridging requests","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/bridges","href":"/api-reference/cross-chain-bridge/list-all-bridging-requests"},{"title":"Retrieve a bridging request","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/bridges/{transferId}","href":"/api-reference/cross-chain-bridge/retrieve-a-bridging-request"},{"title":"Create a bridging request","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/bridges","href":"/api-reference/cross-chain-bridge/create-a-bridging-request"},{"title":"Accept a bridging request","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/bridges/{transferId}/accept","href":"/api-reference/cross-chain-bridge/accept-a-bridging-request"}]},{"group":"Wallet Swaps","pages":[{"title":"List all swaps","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps","href":"/api-reference/token-swap/list-all-swaps"},{"title":"Retrieve a swap","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps/{swapId}","href":"/api-reference/token-swap/retrieve-a-swap"},{"title":"Create a swap","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps","href":"/api-reference/token-swap/create-a-swap"},{"title":"Accept a swap","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps/{swapId}/accept","href":"/api-reference/token-swap/accept-a-swap"},{"title":"Request swap cancellation","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/wallets/swaps/{swapId}/cancel","href":"/api-reference/token-swap/request-swap-cancellation"},{"title":"Retrieve a swap rate","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/wallets/swaps/rate","href":"/api-reference/token-swap/retrieve-a-swap-rate"}]},{"group":"Transfer Approvals","pages":[{"title":"List all pending transfer approvals","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/transfer-approvals","href":"/api-reference/transfer-approvals/list-all-pending-transfer-approvals"},{"title":"Get a transfer approval","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/transfer-approvals/{approvalId}","href":"/api-reference/transfer-approvals/get-a-transfer-approval"},{"title":"Approve a transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/transfer-approvals/{approvalId}/approve","href":"/api-reference/transfer-approvals/approve-a-transfer"},{"title":"Reject a transfer","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/transfer-approvals/{approvalId}/reject","href":"/api-reference/transfer-approvals/reject-a-transfer"}]},{"group":"Settlement Rules","pages":[{"title":"List all settlement rules","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/virtual-accounts/settlement-rules","href":"/api-reference/settlement-rules/list-all-settlement-rules"},{"title":"Retrieve a settlement rule","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/virtual-accounts/settlement-rules/{ruleId}","href":"/api-reference/settlement-rules/retrieve-a-settlement-rule"},{"title":"Create a settlement rule","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/virtual-accounts/settlement-rules","href":"/api-reference/settlement-rules/create-a-settlement-rule"},{"title":"Update a settlement rule","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/virtual-accounts/settlement-rules/{ruleId}/update","href":"/api-reference/settlement-rules/update-a-settlement-rule"},{"title":"Apply settlement rule to virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules/{ruleId}","href":"/api-reference/settlement-rules/apply-settlement-rule-to-virtual-account"},{"title":"Delete a settlement rule","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json delete /v2/virtual-accounts/settlement-rules/{ruleId}","href":"/api-reference/settlement-rules/delete-a-settlement-rule"},{"title":"Remove settlement rule from virtual account","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json delete /v2/users/{userId}/virtual-accounts/{accountId}/settlement-rules","href":"/api-reference/settlement-rules/remove-settlement-rule-from-virtual-account"}]},{"group":"Reporting","pages":[{"title":"Get Available Metric Templates","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/templates","href":"/api-reference/reporting/get-available-metric-templates"},{"title":"Get Template Details","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/templates/{name}","href":"/api-reference/reporting/get-template-details"},{"title":"Get Parameter Options","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/params/{name}/options","href":"/api-reference/reporting/get-parameter-options"},{"title":"Create Saved Metric","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics","href":"/api-reference/reporting/create-saved-metric"},{"title":"List Saved Metrics","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics","href":"/api-reference/reporting/list-saved-metrics"},{"title":"Get Metric Details","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics/{id}","href":"/api-reference/reporting/get-metric-details"},{"title":"Update Saved Metric","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics/{id}","href":"/api-reference/reporting/update-saved-metric"},{"title":"Delete Saved Metric","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json delete /v2/reporting/metrics/{id}","href":"/api-reference/reporting/delete-saved-metric"},{"title":"Preview Metric Results","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json post /v2/reporting/metrics/preview","href":"/api-reference/reporting/preview-metric-results"},{"title":"Execute Saved Metric","deprecated":null,"version":null,"openapi":"https://production.hifi.com/api/v2/openapi.json get /v2/reporting/metrics/{id}/results","href":"/api-reference/reporting/execute-saved-metric"}]}]}]}]}]},"basePath":"","title":"HIFI Docs","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-1CZdsdAn.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}