Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).
In base units of the token the provider takes: what the payout is priced on and the provider receives, exactly. From source.token itself, the ERC-20 transfer’s value; from any other source, order.payment.amount is quoted from it
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rhinestone","colors":{"primary":"#4f41ef","light":"#8479ff","dark":"#3428d1"},"logo":{"light":"https://mintcdn.com/rhinestone/IVpDy9zUkncYAe5u/logo/light.svg?fit=max\u0026auto=format\u0026n=IVpDy9zUkncYAe5u\u0026q=85\u0026s=6868a5854576ff60d371d5fdc0ae55c9","dark":"https://mintcdn.com/rhinestone/IVpDy9zUkncYAe5u/logo/dark.svg?fit=max\u0026auto=format\u0026n=IVpDy9zUkncYAe5u\u0026q=85\u0026s=2f9bff4fef6da993b8782b8e5d7357c5"},"favicon":"https://mintcdn.com/rhinestone/BVnq0VV8MigHINpS/favicon.svg?fit=max\u0026auto=format\u0026n=BVnq0VV8MigHINpS\u0026q=85\u0026s=25439e41b789b8369c52fa15ceae2644","appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#0C0C0C"}},"navbar":{"links":[{"href":"https://dashboard.rhinestone.dev","label":"Dashboard"},{"href":"https://github.com/rhinestonewtf","label":"GitHub"}]},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","claude","chatgpt"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Create API Key","icon":"key","href":"https://tally.so/r/wg22x4"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rhinestone","hasAudioNarration":false,"actualSubdomain":"rhinestone","customDomains":["docs.rhinestone.dev"],"gitSource":{"type":"github","owner":"rhinestonewtf","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af1de54430460697369b838","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Wallets","count":153},{"language":"default","tag":"Custom signer","count":107},{"language":"default","tag":"Deposits","count":88},{"language":"default","tag":"SDK reference","count":74},{"language":"default","tag":"API Reference","count":67},{"language":"default","tag":"Transactions","count":30},{"language":"default","tag":"Account","count":28},{"language":"default","tag":"Overview","count":25},{"language":"default","tag":"Actions","count":25},{"language":"default","tag":"Session keys","count":21}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--background: #0C0C0C}.vm-code-group{--vm-menu-bg: #fff;--vm-menu-border: rgb(0 0 0 / 10%);--vm-hover: rgb(0 0 0 / 5%);margin:1.5rem 0;border:1px solid #404045;border-radius:12px}.dark .vm-code-group{--vm-menu-bg: #171717;--vm-menu-border: rgb(255 255 255 / 10%);--vm-hover: rgb(255 255 255 / 7%)}.vm-code-group-header{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.375rem 0.75rem;border-bottom:1px solid #404045;font-size:0.8125rem}.vm-code-caption{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0.65}.vm-code-selector{position:relative;flex:none}.vm-code-trigger,.vm-code-option{display:flex;align-items:center;gap:0.5rem;min-height:32px;padding:0.375rem 0.5rem;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;line-height:1.25;cursor:pointer}.vm-code-trigger:hover,.vm-code-trigger[aria-expanded=\"true\"],.vm-code-option:hover,.vm-code-option:focus{background:var(--vm-hover)}.vm-code-trigger:focus-visible,.vm-code-option:focus-visible{outline:2px solid #8b7bf7;outline-offset:2px}.vm-code-group .vm-code-icon{display:block;flex:none;width:16px;height:16px;margin:0;border-radius:0}.vm-code-chevron{margin-left:0.125rem;opacity:0.55;transition:transform 150ms ease}.vm-code-trigger[aria-expanded=\"true\"] .vm-code-chevron{transform:rotate(180deg)}.vm-code-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:156px;padding:4px;border:1px solid var(--vm-menu-border);border-radius:10px;background:var(--vm-menu-bg);box-shadow:0 8px 24px rgb(0 0 0 / 18%)}.vm-code-option{width:100%;text-align:left}.vm-code-check{margin-left:auto;opacity:0.65}@media (pointer: coarse){.vm-code-trigger,.vm-code-option{min-height:44px}}@media (prefers-reduced-motion: reduce){.vm-code-chevron{transition:none}}.vm-code-group-panel>*{margin:0!important;border:0!important;border-radius:0 0 12px 12px;box-shadow:none!important}.vm-code-group-panel[hidden]{display:none}.prose table{display:table}table{border-collapse:separate;border-spacing:0;border:1px solid #404045;border-radius:8px;width:fit-content!important}table th,table td{border-right:1px solid #404045;border-bottom:1px solid #404045;padding:12px 16px!important}table th:last-child,table td:last-child{border-right:none}table tr:last-child td{border-bottom:none}table th{background-color:#201E2C}table th:first-child{border-radius:8px 0 0 0}table th:last-child{border-radius:0 8px 0 0}[data-component-name=\"mermaid-controls-wrapper\"]{display:none!important}.mermaid svg .actor{fill:#17132E!important;stroke:#373352!important}.mermaid svg rect.actor{rx:6;ry:6}.mermaid svg text.actor>tspan{fill:#D3CFF7!important}.mermaid svg .actor-line{stroke:#464359!important;stroke-width:1!important}.mermaid svg .messageLine0,.mermaid svg .messageLine1{stroke:#464359!important;stroke-width:1.5!important}.mermaid svg #arrowhead path,.mermaid svg [id$=\"-arrowhead\"] path{fill:#464359!important;stroke:#464359!important}.mermaid svg #crosshead path,.mermaid svg [id$=\"-crosshead\"] path{stroke:#464359!important}.mermaid svg .messageText{fill:#C7C6CC!important}.mermaid svg .activation0,.mermaid svg .activation1,.mermaid svg .activation2{fill:#17132E!important;stroke:#373352!important}.mermaid svg .note{fill:#17132E!important;stroke:#373352!important}.mermaid svg .noteText,.mermaid svg .noteText>tspan{fill:#C7C6CC!important}.mermaid svg .loopText,.mermaid svg .loopText>tspan{fill:#C7C6CC!important}.mermaid svg .loopLine{stroke:#373352!important}.mermaid svg .labelBox{fill:#17132E!important;stroke:#373352!important}.mermaid svg .labelText,.mermaid svg .labelText>tspan{fill:#C7C6CC!important}.mermaid svg .sequenceNumber{fill:#D3CFF7!important}.mermaid svg .node rect,.mermaid svg .node circle,.mermaid svg .node ellipse,.mermaid svg .node polygon,.mermaid svg .node path{fill:#17132E!important;stroke:#373352!important}.mermaid svg .nodeLabel,.mermaid svg .node .label{color:#D3CFF7!important;fill:#D3CFF7!important}.mermaid svg .flowchart-link{stroke:#464359!important}.mermaid svg .edgeLabel,.mermaid svg .edge-label{color:#C7C6CC!important;fill:#C7C6CC!important}.mermaid .labelBkg,.mermaid .labelBkg *{background:transparent!important}.mermaid svg .marker{fill:#464359!important;stroke:#464359!important}.dark #sidebar [data-active=\"true\"]{background-color:#141414!important;border-radius:6px}.deposit-demo{container-type:inline-size}.deposit-demo-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0}.deposit-demo-stage:has(iframe[data-ready=\"true\"]) .deposit-demo-loading{visibility:hidden}@container (max-width: 411px){.deposit-demo-stage{--deposit-demo-height: 629px}}"}],"page":{"pagePath":"api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account","slug":"/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account","pageMetadata":{"title":"Start a withdrawal to a bank account","description":"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send `order.payment` exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (`SOURCE_NOT_SUPPORTED`, `NO_ROUTE` or `QUOTE_UNAVAILABLE` otherwise, holding nothing). Once the order exists, every error names it (`orderId`).","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /offramp/orders","href":"/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send \", _jsx(_components.code, {\n children: \"order.payment\"\n }), \" exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (\", _jsx(_components.code, {\n children: \"SOURCE_NOT_SUPPORTED\"\n }), \", \", _jsx(_components.code, {\n children: \"NO_ROUTE\"\n }), \" or \", _jsx(_components.code, {\n children: \"QUOTE_UNAVAILABLE\"\n }), \" otherwise, holding nothing). Once the order exists, every error names it (\", _jsx(_components.code, {\n children: \"orderId\"\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":"Start a withdrawal to a bank account","description":"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send `order.payment` exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (`SOURCE_NOT_SUPPORTED`, `NO_ROUTE` or `QUOTE_UNAVAILABLE` otherwise, holding nothing). Once the order exists, every error names it (`orderId`).","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /offramp/orders","href":"/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Offramp"],"summary":"Start a withdrawal to a bank account","description":"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send `order.payment` exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (`SOURCE_NOT_SUPPORTED`, `NO_ROUTE` or `QUOTE_UNAVAILABLE` otherwise, holding nothing). Once the order exists, every error names it (`orderId`).","parameters":["3a22f10a-b405-4880-93b4-40635339be78","6573038a-b9db-4745-820b-d1b2d598cdb3"],"requestBody":"65de6d0f-0b69-4c9b-a521-d743a75506d7","responses":{"201":"bd583366-cb7a-4f61-8561-6b4fe8f46659","400":"0e490275-aa4e-4c62-9da6-6f0ec20a43ab","401":"e486629d-14b8-4ab7-9e3f-e711d8fafea0","403":"e81e9c1e-2a9e-447f-acc5-04e0b5583bde","404":"197d960b-345c-49f6-bef9-b48215a6d06a","409":"b79fa971-8ced-4495-aaa3-7a7d3527ab6d","500":"c893d45b-463a-45a9-b00e-af0a663038c3","502":"146e3834-0318-4f7c-aa93-b522cd589f1a","503":"55351340-a425-41c8-a8a3-478d2d80bfe9"},"security":["44d9ae76-19fe-4124-b5e5-20e8b6cc973f"],"method":"post","type":"path","servers":["ba785e57-bd97-454d-8de8-c86fd63b0a43"],"path":"/offramp/orders","baseUrlOptions":["https://v1.orchestrator.rhinestone.dev/deposit-processor"],"title":"Start a withdrawal to a bank account","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3a22f10a-b405-4880-93b4-40635339be78":{"schema":{"type":"string","description":"Integrator API key: the project’s orders","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Integrator API key: the project’s orders","name":"x-api-key","in":"header"},"6573038a-b9db-4745-820b-d1b2d598cdb3":{"schema":{"type":"string","description":"Customer bearer from `POST /compliance/sessions`, or a project-scoped platform bearer where the route permits tenant access","example":"Bearer eyJhbGciOi...","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Customer bearer from `POST /compliance/sessions`, or a project-scoped platform bearer where the route permits tenant access","name":"authorization","in":"header"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"methodId":{"type":"string","format":"uuid","description":"From GET /offramp/options","isRequired":true,"uniqueKey":"methodId","typeLabel":"string\u003cuuid>"},"beneficiary":{"type":"object","properties":{"holder":{"oneOf":[{"type":"object","required":["type","firstName","lastName"],"properties":{"type":{"type":"string","enum":["individual"],"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.0.type","typeLabel":"enum\u003cstring>"},"firstName":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.0.firstName","typeLabel":"string"},"lastName":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.0.lastName","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","name"],"properties":{"type":{"type":"string","enum":["business"],"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.1.name","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"beneficiary.holder.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"beneficiary.holder","typeLabel":"object"},"account":{"oneOf":[{"type":"object","required":["type","routingNumber","accountNumber","accountType"],"properties":{"type":{"type":"string","enum":["us"],"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.0.type","typeLabel":"enum\u003cstring>"},"routingNumber":{"type":"string","pattern":"^\\d{9}$","isRequired":true,"uniqueKey":"beneficiary.account.oneOf.0.routingNumber","typeLabel":"string"},"accountNumber":{"type":"string","minLength":1,"maxLength":34,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.0.accountNumber","typeLabel":"string"},"accountType":{"type":"string","enum":["checking","savings"],"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.0.accountType","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.0","typeLabel":"object"},{"type":"object","required":["type","iban"],"properties":{"type":{"type":"string","enum":["iban"],"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.1.type","typeLabel":"enum\u003cstring>"},"iban":{"type":"string","minLength":1,"maxLength":34,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.1.iban","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","swiftCode","accountNumber","accountType"],"properties":{"type":{"type":"string","enum":["swift"],"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.2.type","typeLabel":"enum\u003cstring>"},"swiftCode":{"type":"string","pattern":"^[A-Z0-9]{8}([A-Z0-9]{3})?$","isRequired":true,"uniqueKey":"beneficiary.account.oneOf.2.swiftCode","typeLabel":"string"},"accountNumber":{"type":"string","minLength":1,"maxLength":34,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.2.accountNumber","typeLabel":"string"},"accountType":{"type":"string","enum":["checking","savings"],"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.2.accountType","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"beneficiary.account.oneOf.2","typeLabel":"object"}],"isRequired":true,"uniqueKey":"beneficiary.account","typeLabel":"object"},"address":{"type":"object","properties":{"line1":{"type":"string","minLength":1,"maxLength":200,"isRequired":true,"uniqueKey":"beneficiary.address.line1","typeLabel":"string"},"city":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"beneficiary.address.city","typeLabel":"string"},"state":{"type":"string","minLength":1,"maxLength":100,"isRequired":true,"uniqueKey":"beneficiary.address.state","typeLabel":"string"},"postalCode":{"type":"string","minLength":1,"maxLength":20,"isRequired":true,"uniqueKey":"beneficiary.address.postalCode","typeLabel":"string"},"country":{"type":"string","pattern":"^[A-Z]{2}$","isRequired":true,"uniqueKey":"beneficiary.address.country","typeLabel":"string"}},"required":["line1","city","state","postalCode","country"],"additionalProperties":false,"description":"Required by US and SWIFT accounts","uniqueKey":"beneficiary.address","typeLabel":"object"},"reference":{"type":"string","minLength":1,"maxLength":140,"description":"Shown on the bank statement; defaults to \"Withdrawal\"","uniqueKey":"beneficiary.reference","typeLabel":"string"}},"required":["holder","account"],"additionalProperties":false,"description":"The bank account to pay. Passed to the provider only: never stored or logged.","isRequired":true,"uniqueKey":"beneficiary","typeLabel":"object"},"amount":{"type":"string","pattern":"^\\d+$","description":"In base units of the token the provider takes: what the payout is priced on and the provider receives, exactly. From `source.token` itself, the ERC-20 transfer’s value; from any other source, `order.payment.amount` is quoted from it","example":"100000000","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"source":{"type":"object","properties":{"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Sends the transfer: an EOA, or the smart account executing it","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"source.address","typeLabel":"string"},"chain":{"type":"string","pattern":"^[a-z0-9]+:[a-zA-Z0-9]+$","description":"CAIP-2 chain identifier (e.g. \"eip155:8453\")","example":"eip155:8453","isRequired":true,"uniqueKey":"source.chain","typeLabel":"string"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Ethereum address (0x followed by 40 hex characters)","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"source.token","typeLabel":"string"}},"required":["address","chain","token"],"additionalProperties":false,"description":"Where the crypto comes from","isRequired":true,"uniqueKey":"source","typeLabel":"object"}},"required":["methodId","beneficiary","amount","source"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"methodId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","beneficiary":{"holder":{"type":"individual","firstName":"\u003cstring>","lastName":"\u003cstring>"},"account":{"type":"us","routingNumber":"\u003cstring>","accountNumber":"\u003cstring>"},"reference":"\u003cstring>"},"amount":"100000000","source":{"address":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","chain":"eip155:8453","token":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"bd583366-cb7a-4f61-8561-6b4fe8f46659":{"description":"The order, the payment to send, and the estimate","content":{"application/json":{"schema":{"type":"object","properties":{"order":{"type":"object","properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"order.id","typeLabel":"string\u003cuuid>"},"provider":{"type":"string","enum":["noah","swapped"],"isRequired":true,"uniqueKey":"order.provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","processing","completed","failed","refunded"],"isRequired":true,"uniqueKey":"order.status","typeLabel":"enum\u003cstring>"},"terminal":{"type":"boolean","description":"No stage will change again","isRequired":true,"uniqueKey":"order.terminal","typeLabel":"boolean"},"stages":{"type":"object","properties":{"receipt":{"oneOf":[{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["not_started"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.0","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["pending"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.1.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.1","typeLabel":"object"},{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["on_hold"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.2.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["kyc_required","rfi_open","review"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.2.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.2","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["processing"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.3.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.3","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["completed"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.4.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.4","typeLabel":"object"},{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["failed"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.5.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["cancelled","declined","expired","provider_error"],"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.5.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.receipt.oneOf.5","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.stages.receipt","typeLabel":"object"},"conversion":{"oneOf":[{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["not_started"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.0","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["processing"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.1.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.1","typeLabel":"object"},{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["on_hold"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.2.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["rfi_open","review"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.2.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.2","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["completed"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.3.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.3","typeLabel":"object"},{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string","enum":["failed"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.4.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["sub_fee","provider_error"],"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.4.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.conversion.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.stages.conversion","typeLabel":"object"},"delivery":{"oneOf":[{"type":"object","description":"The fiat payout to the bank","required":["status"],"properties":{"status":{"type":"string","enum":["not_started"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.0","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status"],"properties":{"status":{"type":"string","enum":["pending"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.1.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.1","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status","reason"],"properties":{"status":{"type":"string","enum":["on_hold"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.2.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["rfi_open","review"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.2.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.2","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status"],"properties":{"status":{"type":"string","enum":["processing"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.3.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.3","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status"],"properties":{"status":{"type":"string","enum":["submitted"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.4.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.4","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status"],"properties":{"status":{"type":"string","enum":["completed"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.5.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.5","typeLabel":"object"},{"type":"object","description":"The fiat payout to the bank","required":["status","reason"],"properties":{"status":{"type":"string","enum":["failed"],"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.6.status","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["sub_fee","provider_error"],"description":"`sub_fee`: the fees took the whole amount","isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.6.reason","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.delivery.oneOf.6","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.stages.delivery","typeLabel":"object"},"return":{"oneOf":[{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["none"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.return.oneOf.0","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["pending"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.1.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.return.oneOf.1","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["processing"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.2.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.return.oneOf.2","typeLabel":"object"},{"type":"object","required":["status","outcome"],"properties":{"status":{"type":"string","enum":["completed"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.3.status","typeLabel":"enum\u003cstring>"},"outcome":{"type":"string","enum":["full_refund","adjustment","unresolved"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.3.outcome","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.return.oneOf.3","typeLabel":"object"},{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["failed"],"isRequired":true,"uniqueKey":"order.stages.return.oneOf.4.status","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages.return.oneOf.4","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.stages.return","typeLabel":"object"}},"required":["receipt","conversion","delivery","return"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.stages","typeLabel":"object"},"rail":{"oneOf":[{"type":"object","description":"`provider_selected` / `unknown` when the provider did not say","required":["kind","method"],"properties":{"kind":{"type":"string","enum":["fiat"],"isRequired":true,"uniqueKey":"order.rail.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"method":{"type":"string","isRequired":true,"uniqueKey":"order.rail.oneOf.0.method","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.rail.oneOf.0","typeLabel":"object"},{"type":"object","description":"`provider_selected` / `unknown` when the provider did not say","required":["kind","connection"],"properties":{"kind":{"type":"string","enum":["exchange"],"isRequired":true,"uniqueKey":"order.rail.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"connection":{"type":"string","isRequired":true,"uniqueKey":"order.rail.oneOf.1.connection","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.rail.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"order.rail","typeLabel":"object"},"fiat":{"type":"object","properties":{"charged":{"oneOf":[{"type":"object","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.total.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.total","typeLabel":"string | null"},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.net.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.net.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.net","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0.currency","typeLabel":"string"}},"required":["total","net","currency"],"additionalProperties":false,"description":"The payout, in the currency the bank receives","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated"},{"type":"null","description":"The sale, fees included; null when not stated"}]},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees"},{"type":"null","description":"What the bank receives, after fees"}]},"currency":{"type":"string"}},"required":["total","net","currency"],"additionalProperties":false,"description":"The payout, in the currency the bank receives","isRequired":true,"uniqueKey":"order.fiat.charged.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.charged","typeLabel":"object | null"},"eur":{"oneOf":[{"type":"object","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.total.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.total","typeLabel":"string | null"},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.net.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.net.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0.net","typeLabel":"string | null"}},"required":["total","net"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated"},{"type":"null","description":"The sale, fees included; null when not stated"}]},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees"},{"type":"null","description":"What the bank receives, after fees"}]}},"required":["total","net"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.fiat.eur.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.eur","typeLabel":"object | null"},"usd":{"oneOf":[{"type":"object","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.total.oneOf.0","typeLabel":"string"},{"type":"null","description":"The sale, fees included; null when not stated","isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.total.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.total","typeLabel":"string | null"},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.net.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the bank receives, after fees","isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.net.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0.net","typeLabel":"string | null"}},"required":["total","net"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"total":{"oneOf":[{"type":"string","description":"The sale, fees included; null when not stated"},{"type":"null","description":"The sale, fees included; null when not stated"}]},"net":{"oneOf":[{"type":"string","description":"What the bank receives, after fees"},{"type":"null","description":"What the bank receives, after fees"}]}},"required":["total","net"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.fiat.usd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.fiat.usd","typeLabel":"object | null"}},"required":["charged","eur","usd"],"additionalProperties":false,"description":"What the bank receives, after fees; null until the provider states it","isRequired":true,"uniqueKey":"order.fiat","typeLabel":"object"},"crypto":{"oneOf":[{"type":"object","properties":{"asset":{"type":"string","isRequired":true,"uniqueKey":"order.crypto.oneOf.0.asset","typeLabel":"string"},"network":{"type":"string","isRequired":true,"uniqueKey":"order.crypto.oneOf.0.network","typeLabel":"string"},"amount":{"type":"string","isRequired":true,"uniqueKey":"order.crypto.oneOf.0.amount","typeLabel":"string"}},"required":["asset","network","amount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.crypto.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"asset":{"type":"string"},"network":{"type":"string"},"amount":{"type":"string"}},"required":["asset","network","amount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order.crypto.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.crypto","typeLabel":"object | null"},"providerStatus":{"type":"string","description":"The provider’s own status of its latest leg, else ours (`reserved`, `opened`, `refused`, `unknown`, `expired`); informational","isRequired":true,"uniqueKey":"order.providerStatus","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","description":"When the provider says the order began","isRequired":true,"uniqueKey":"order.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"order.updatedAt","typeLabel":"string\u003cdate-time>"},"sender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The address the provider takes the crypto from: `source.address`, or the withdrawal account it pays into","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.sender","typeLabel":"string"},"payment":{"oneOf":[{"type":"object","description":"Null until the provider’s rule exists: while it is being created, or when the rule was refused or its outcome is unknown; through a withdrawal account, also until its funding is configured. A `direct` payment is still served after `expiresAt`, until the order expires 30 minutes later and reads `failed` (`expired`), not terminal: the provider may still match a late transfer. A `withdrawal_account` payment is null again once a transfer can no longer fund the order: one already did, the order moved past `pending`, or 30 minutes passed after `expiresAt`.","required":["kind","from","to","chain","token","amount"],"properties":{"kind":{"type":"string","enum":["direct"],"isRequired":true,"uniqueKey":"order.payment.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The sender: an EOA, or the smart account executing the transfer","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.0.from","typeLabel":"string"},"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Ethereum address (0x followed by 40 hex characters)","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.0.to","typeLabel":"string"},"chain":{"type":"string","description":"CAIP-2","isRequired":true,"uniqueKey":"order.payment.oneOf.0.chain","typeLabel":"string"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Ethereum address (0x followed by 40 hex characters)","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.0.token","typeLabel":"string"},"amount":{"type":"string","pattern":"^\\d+$","description":"Exact, in base units of `token`: the value of the ERC-20 transfer","example":"100000000","isRequired":true,"uniqueKey":"order.payment.oneOf.0.amount","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.payment.oneOf.0","typeLabel":"object"},{"type":"object","description":"Null until the provider’s rule exists: while it is being created, or when the rule was refused or its outcome is unknown; through a withdrawal account, also until its funding is configured. A `direct` payment is still served after `expiresAt`, until the order expires 30 minutes later and reads `failed` (`expired`), not terminal: the provider may still match a late transfer. A `withdrawal_account` payment is null again once a transfer can no longer fund the order: one already did, the order moved past `pending`, or 30 minutes passed after `expiresAt`.","required":["kind","from","to","chain","token","amount"],"properties":{"kind":{"type":"string","enum":["withdrawal_account"],"isRequired":true,"uniqueKey":"order.payment.oneOf.1.kind","typeLabel":"enum\u003cstring>"},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"`source.address`: an EOA, or the smart account executing the transfer","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.1.from","typeLabel":"string"},"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The customer’s withdrawal account","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.1.to","typeLabel":"string"},"chain":{"type":"string","description":"CAIP-2: `source.chain`","isRequired":true,"uniqueKey":"order.payment.oneOf.1.chain","typeLabel":"string"},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"`source.token`","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","isRequired":true,"uniqueKey":"order.payment.oneOf.1.token","typeLabel":"string"},"amount":{"type":"string","pattern":"^\\d+$","description":"Exact, in base units of `token`: the value of the transfer. Quoted to deliver the order’s amount of the provider’s token on the cheapest route, plus a margin for the fees the customer pays (or, for another asset, 1% for its price); may be a few base units higher when another open withdrawal from this source holds it","example":"100000000","isRequired":true,"uniqueKey":"order.payment.oneOf.1.amount","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"order.payment.oneOf.1","typeLabel":"object"},{"type":"null","description":"Null until the provider’s rule exists: while it is being created, or when the rule was refused or its outcome is unknown; through a withdrawal account, also until its funding is configured. A `direct` payment is still served after `expiresAt`, until the order expires 30 minutes later and reads `failed` (`expired`), not terminal: the provider may still match a late transfer. A `withdrawal_account` payment is null again once a transfer can no longer fund the order: one already did, the order moved past `pending`, or 30 minutes passed after `expiresAt`.","isRequired":true,"uniqueKey":"order.payment.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"order.payment","typeLabel":"object · object · null"},"expiresAt":{"type":"string","format":"date-time","description":"Send the payment before this","isRequired":true,"uniqueKey":"order.expiresAt","typeLabel":"string\u003cdate-time>"}},"required":["id","provider","status","terminal","stages","rail","fiat","crypto","providerStatus","createdAt","updatedAt","sender","payment","expiresAt"],"additionalProperties":false,"isRequired":true,"uniqueKey":"order","typeLabel":"object"},"estimate":{"type":"object","properties":{"fiatAmount":{"oneOf":[{"type":"string","description":"What the bank receives, after every fee","isRequired":true,"uniqueKey":"estimate.fiatAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"What the bank receives, after every fee","isRequired":true,"uniqueKey":"estimate.fiatAmount.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.fiatAmount","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"},"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"rate":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.rate.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.rate","typeLabel":"string | null"}},"required":["fiatAmount","currency","totalFee","rate"],"additionalProperties":false,"description":"Priced on the requested amount","isRequired":true,"uniqueKey":"estimate","typeLabel":"object"}},"required":["order","estimate"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"order":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","provider":"noah","status":"pending","terminal":true,"stages":{"receipt":{"status":"not_started"},"conversion":{"status":"not_started"},"delivery":{"status":"not_started"},"return":{"status":"none"}},"rail":{"kind":"fiat","method":"\u003cstring>"},"fiat":{"charged":{"total":"\u003cstring>","net":"\u003cstring>","currency":"\u003cstring>"},"eur":{"total":"\u003cstring>","net":"\u003cstring>"},"usd":{"total":"\u003cstring>","net":"\u003cstring>"}},"crypto":{"asset":"\u003cstring>","network":"\u003cstring>","amount":"\u003cstring>"},"providerStatus":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","sender":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","payment":{"kind":"direct","from":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","to":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","chain":"\u003cstring>","token":"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91","amount":"100000000"},"expiresAt":"2023-11-07T05:31:56Z"},"estimate":{"fiatAmount":"\u003cstring>","currency":"\u003cstring>","totalFee":"\u003cstring>","rate":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0e490275-aa4e-4c62-9da6-6f0ec20a43ab":{"description":"Invalid request; AMOUNT_TOO_SMALL; or INVALID_BENEFICIARY","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e486629d-14b8-4ab7-9e3f-e711d8fafea0":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION"],"description":"VERIFICATION_REQUIRED: the customer must resume hosted verification for this currency, then retry. PROVIDER_UNAVAILABLE (502): the provider did not answer; retry. PROVIDER_REJECTED (502): the provider refused the request; `providerError` says what, and retrying it unchanged fails again. PROVIDER_FORBIDDEN (403): the provider will not serve this customer. READ_ONLY_SESSION (403): the customer bearer came from a `resumeOnly` session, which can only read; mint a session without `resumeOnly` to make changes","uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"e81e9c1e-2a9e-447f-acc5-04e0b5583bde":{"description":"The bearer no longer matches its customer, an API key was sent (payout rails are per customer), READ_ONLY_SESSION: the bearer came from a `resumeOnly` session, or PROVIDER_FORBIDDEN: the provider refuses this customer","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"197d960b-345c-49f6-bef9-b48215a6d06a":{"description":"Payouts are not enabled for this project","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b79fa971-8ced-4495-aaa3-7a7d3527ab6d":{"description":"VERIFICATION_REQUIRED; UNKNOWN_METHOD: list the methods again; SOURCE_NOT_SUPPORTED; NO_ROUTE: nothing converts this source into the provider’s token for this amount; or TOO_MANY_OPEN_WITHDRAWALS from this address near this amount","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c893d45b-463a-45a9-b00e-af0a663038c3":{"description":"Internal failure serving the request; or FUNDING_NOT_CONFIGURED: the order (`orderId`) holds its amount but serves no payment. Send nothing for it; open another to retry.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"146e3834-0318-4f7c-aa93-b522cd589f1a":{"description":"PROVIDER_UNAVAILABLE: the provider did not answer; PROVIDER_REJECTED: it refused the request (`providerError`); or OUTCOME_UNKNOWN: it never confirmed the payout, so the order (`orderId`) keeps its amount and serves no payment. Send nothing for it; open another order to retry.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"55351340-a425-41c8-a8a3-478d2d80bfe9":{"description":"Offramp is unavailable: no payout provider is configured, QUOTE_UNAVAILABLE (the amount to send could not be quoted), the customer’s withdrawal account could not be set up (`Retry-After`), or the customer or the project’s fee configuration could not be read; retry","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","enum":["VERIFICATION_REQUIRED","PROVIDER_UNAVAILABLE","PROVIDER_REJECTED","PROVIDER_FORBIDDEN","READ_ONLY_SESSION","UNKNOWN_METHOD","AMOUNT_TOO_SMALL","INVALID_BENEFICIARY","SOURCE_NOT_SUPPORTED","NO_ROUTE","QUOTE_UNAVAILABLE","TOO_MANY_OPEN_WITHDRAWALS","OUTCOME_UNKNOWN","FUNDING_NOT_CONFIGURED"],"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"providerError":{"type":"object","properties":{"provider":{"type":"string","isRequired":true,"uniqueKey":"providerError.provider","typeLabel":"string"},"status":{"oneOf":[{"type":"integer","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The provider’s HTTP status; null when it answered outside its contract","isRequired":true,"uniqueKey":"providerError.status.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.status","typeLabel":"integer | null"},"type":{"oneOf":[{"type":"string","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s error category, e.g. `InvalidMessage`","isRequired":true,"uniqueKey":"providerError.type.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.type","typeLabel":"string | null"},"fields":{"type":"array","items":{"type":"object","properties":{"path":{"oneOf":[{"type":"string","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s request path, e.g. `Form.BankDetails.AccountNumber`; null when it names no field we send","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].path","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"e.g. `SchemaValidation`, `NotSupported`; null when unrecognised","isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.fields.items.[INDEX].reason","typeLabel":"string | null"}},"required":["path","reason"],"additionalProperties":false,"uniqueKey":"providerError.fields.items.[INDEX]","typeLabel":"object"},"description":"Request fields the provider refused","isRequired":true,"uniqueKey":"providerError.fields","typeLabel":"object[]"},"reference":{"oneOf":[{"type":"string","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider’s id for this failure: quote it to its support","isRequired":true,"uniqueKey":"providerError.reference.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"providerError.reference","typeLabel":"string | null"}},"required":["provider","status","type","fields","reference"],"additionalProperties":false,"description":"PROVIDER_REJECTED and PROVIDER_FORBIDDEN: what the provider refused","uniqueKey":"providerError","typeLabel":"object"},"orderId":{"type":"string","format":"uuid","description":"Set once the order exists, whatever failed after: read it at GET /offramp/orders/{id}","uniqueKey":"orderId","typeLabel":"string\u003cuuid>"},"fields":{"type":"array","items":{"type":"string","uniqueKey":"fields.items.[INDEX]","typeLabel":"string"},"description":"INVALID_BENEFICIARY: our beneficiary paths, e.g. `account.iban`","uniqueKey":"fields","typeLabel":"string[]"},"estimate":{"type":"object","properties":{"totalFee":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"estimate.totalFee.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.totalFee","typeLabel":"string | null"},"currency":{"type":"string","isRequired":true,"uniqueKey":"estimate.currency","typeLabel":"string"}},"required":["totalFee","currency"],"description":"AMOUNT_TOO_SMALL: the fees that exceed the amount","uniqueKey":"estimate","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"VERIFICATION_REQUIRED","providerError":{"provider":"\u003cstring>","status":123,"type":"\u003cstring>","fields":[{"path":"\u003cstring>","reason":"\u003cstring>"}],"reference":"\u003cstring>"},"orderId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","fields":["\u003cstring>"],"estimate":{"totalFee":"\u003cstring>","currency":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"44d9ae76-19fe-4124-b5e5-20e8b6cc973f":{"complianceSessionBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Required 15-minute customer-scoped browser session from POST /compliance/sessions. Application keys are not accepted.","scopes":[],"schemeName":"complianceSessionBearer"}}},"servers":{"ba785e57-bd97-454d-8de8-c86fd63b0a43":{"url":"https://v1.orchestrator.rhinestone.dev/deposit-processor"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Required 15-minute customer-scoped browser session from POST /compliance/sessions. Application keys are not accepted.","scopes":[],"schemeName":"complianceSessionBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Required 15-minute customer-scoped browser session from POST /compliance/sessions. Application keys are not accepted.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"complianceSessionBearer","name":"Authorization"}],"title":"complianceSessionBearer"}]},"originalFileLocation":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json"},"subdomain":"rhinestone","siteName":"Rhinestone","title":"Start a withdrawal to a bank account - Rhinestone","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T14:53:35.221Z","originalFileLocation":"api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}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=\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rhinestone\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_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/rhinestone/3aadr-awyf35tysK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start a withdrawal to a bank account - Rhinestone\">\u003cmeta data-mint-head property=\"og:description\" content=\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rhinestone\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rhinestone.mintlify.site/_mintlify/api/og/v2?division=Offramp\u0026amp;title=Start+a+withdrawal+to+a+bank+account\u0026amp;description=Prepares+the+payout+with+the+provider+and+opens+it+for+one+exact+amount%3A+the+requested+amount%2C+or+slightly+less+%28one+base+unit+at+a+time%29+when+another+open+with\u0026amp;theme=163b5f42b399c42fd24a9b7a\u0026amp;signature=0f81908c800c119cfd74b52856157e9b5ebf270fe6cb9cfba605f055a39326a3\">\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=\"Start a withdrawal to a bank account - Rhinestone\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rhinestone.mintlify.site/_mintlify/api/og/v2?division=Offramp\u0026amp;title=Start+a+withdrawal+to+a+bank+account\u0026amp;description=Prepares+the+payout+with+the+provider+and+opens+it+for+one+exact+amount%3A+the+requested+amount%2C+or+slightly+less+%28one+base+unit+at+a+time%29+when+another+open+with\u0026amp;theme=163b5f42b399c42fd24a9b7a\u0026amp;signature=0f81908c800c119cfd74b52856157e9b5ebf270fe6cb9cfba605f055a39326a3\">\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/rhinestone/3aadr-awyf35tysK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rhinestone\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f41ef\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rhinestone.dev/#organization\",\"name\":\"Rhinestone\",\"url\":\"https://docs.rhinestone.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rhinestone/IVpDy9zUkncYAe5u/logo/light.svg?fit=max\u0026auto=format\u0026n=IVpDy9zUkncYAe5u\u0026q=85\u0026s=6868a5854576ff60d371d5fdc0ae55c9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rhinestone.dev#website\",\"name\":\"Rhinestone\",\"url\":\"https://docs.rhinestone.dev\",\"publisher\":{\"@id\":\"https://docs.rhinestone.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account#webpage\",\"url\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account\",\"name\":\"Start a withdrawal to a bank account\",\"description\":\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).\",\"dateModified\":\"2026-11-09T14:53:35.221Z\",\"isPartOf\":{\"@id\":\"https://docs.rhinestone.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deposits\",\"item\":\"https://docs.rhinestone.dev/api-reference/deposit-service/analytics/record-analytics-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Offramp\",\"item\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/list-payout-methods\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Start a withdrawal to a bank account\",\"item\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account#apireference\",\"headline\":\"Start a withdrawal to a bank account\",\"name\":\"Start a withdrawal to a bank account\",\"description\":\"Prepares the payout with the provider and opens it for one exact amount: the requested amount, or slightly less (one base unit at a time) when another open withdrawal holds it. Then send order.payment exactly. A source holding the token the provider takes, on its chain, pays the provider directly; any other source on a chain that takes deposits pays into the customer’s withdrawal account an amount quoted to deliver it (SOURCE_NOT_SUPPORTED, NO_ROUTE or QUOTE_UNAVAILABLE otherwise, holding nothing). Once the order exists, every error names it (orderId).\",\"url\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rhinestone.dev/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account#webpage\"},\"dateModified\":\"2026-11-09T14:53:35.221Z\",\"publisher\":{\"@id\":\"https://docs.rhinestone.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rhinestone.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rhinestone\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rhinestone","nav":{"global":{"anchors":[{"anchor":"Create API Key","icon":"key","href":"https://tally.so/r/wg22x4"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home/introduction"}]},{"tab":"Wallets","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/wallets/overview"}]},{"item":"Embedded wallets","pages":[{"title":"Embedded wallets","href":"/wallets/embedded-wallets/overview"}]},{"item":"Session keys","pages":[{"title":"Session keys","href":"/wallets/session-keys/overview"}]},{"item":"Recovery","pages":[{"title":"Recovery","href":"/wallets/recovery/overview"}]},{"item":"Custom signer","pages":[{"title":"Custom signer","href":"/wallets/custom-signer/overview"}]}],"pages":[{"title":"Wallets","href":"/wallets/overview"}]},{"tab":"Transactions","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/transactions/overview"}]},{"item":"Relaying","pages":[{"title":"Relaying","href":"/transactions/relaying/overview"}]},{"item":"Multichain","pages":[{"title":"Multichain","href":"/transactions/multichain/overview"}]},{"item":"Trading","pages":[{"title":"Trading","href":"/transactions/trading/overview"}]},{"item":"Sponsorship \u0026 monetization","pages":[{"title":"Sponsorship \u0026 monetization","href":"/transactions/sponsorship/overview"}]}],"pages":[{"title":"Transactions","href":"/transactions/overview"}]},{"tab":"Deposits","menu":[{"item":"Overview","pages":[{"title":"Overview","href":"/deposits/overview/overview"}]},{"item":"Onramps","pages":[{"title":"Onramps","href":"/deposits/onramps/overview"}]},{"item":"Crypto","pages":[{"title":"Crypto","href":"/deposits/crypto/overview"}]},{"item":"Exchanges","pages":[{"title":"Exchanges","href":"/deposits/exchanges/overview"}]},{"item":"Headless","pages":[{"title":"Headless","href":"/deposits/headless/overview"}]}],"pages":[{"title":"Deposits","href":"/deposits/overview/overview"}]},{"tab":"Fiat integrations","pages":[{"title":"Fiat integrations","href":"/fiat/overview"}]},{"tab":"API Reference","groups":[{"group":"Get started","public":true,"pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Versioning","href":"/api-reference/api-versioning"}]},{"group":"Intents","public":true,"pages":[{"group":"Utilities","pages":[{"title":"Supported chains and tokens","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /chains","href":"/api-reference/orchestrator/utilities/supported-chains-and-tokens"},{"title":"Route liquidity limit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /liquidity","href":"/api-reference/orchestrator/utilities/route-liquidity-limit"},{"title":"Get Account Portfolio","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /accounts/{accountAddress}/portfolio","href":"/api-reference/orchestrator/utilities/get-account-portfolio"}]},{"group":"Intents","pages":[{"title":"Get Intent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /intents/{id}","href":"/api-reference/orchestrator/intents/get-intent"},{"title":"List Intents","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /intents","href":"/api-reference/orchestrator/intents/list-intents"},{"title":"Create Intent","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /intents","href":"/api-reference/orchestrator/intents/create-intent"},{"title":"Split Intent by Liquidity","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /intents/splits","href":"/api-reference/orchestrator/intents/split-intent-by-liquidity"}]},{"group":"Quotes","pages":[{"title":"Create Quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /quotes","href":"/api-reference/orchestrator/quotes/create-quote"},{"title":"Create Indicative Quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /quotes/estimate","href":"/api-reference/orchestrator/quotes/create-indicative-quote"}]},{"group":"App Fees","pages":[{"title":"Get App-Fee Balances","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /app-fees/balances","href":"/api-reference/orchestrator/app-fees/get-app-fee-balances"},{"title":"Get App-Fee Withdrawal Targets","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /app-fees/withdrawal-targets","href":"/api-reference/orchestrator/app-fees/get-app-fee-withdrawal-targets"},{"title":"List App-Fee Withdrawals","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /app-fees/withdrawals","href":"/api-reference/orchestrator/app-fees/list-app-fee-withdrawals"},{"title":"Create App-Fee Withdrawal","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json post /app-fees/withdrawals","href":"/api-reference/orchestrator/app-fees/create-app-fee-withdrawal"},{"title":"Get App-Fee Withdrawal","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/orchestrator/caucasus.json get /app-fees/withdrawals/{nonce}","href":"/api-reference/orchestrator/app-fees/get-app-fee-withdrawal"}]}]},{"group":"Deposits","public":true,"pages":[{"group":"Analytics","pages":[{"title":"Record analytics events","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /analytics/events","href":"/api-reference/deposit-service/analytics/record-analytics-events"},{"title":"Create an analytics token","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /analytics/ingest-token","href":"/api-reference/deposit-service/analytics/create-an-analytics-token"}]},{"group":"Utilities","pages":[{"title":"Get asset metadata","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /assets","href":"/api-reference/deposit-service/utilities/get-asset-metadata"},{"title":"List supported chains and tokens","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /chains","href":"/api-reference/deposit-service/utilities/list-supported-chains-and-tokens"},{"title":"List deposits","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits","href":"/api-reference/deposit-service/utilities/list-deposits"},{"title":"Get a deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits/{id}","href":"/api-reference/deposit-service/utilities/get-a-deposit"},{"title":"List deposit quotes","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits/{id}/quotes","href":"/api-reference/deposit-service/utilities/list-deposit-quotes"},{"title":"Get deposit statistics","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits/stats","href":"/api-reference/deposit-service/utilities/get-deposit-statistics"},{"title":"Get a wallet portfolio","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /portfolio/{address}","href":"/api-reference/deposit-service/utilities/get-a-wallet-portfolio"},{"title":"List withdrawable positions","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /positions/{address}","href":"/api-reference/deposit-service/utilities/list-withdrawable-positions"},{"title":"Prepare an Aave withdrawal","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /positions/{address}/unwind","href":"/api-reference/deposit-service/utilities/prepare-an-aave-withdrawal"},{"title":"Get a Solana wallet portfolio","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /portfolio/solana/{address}","href":"/api-reference/deposit-service/utilities/get-a-solana-wallet-portfolio"},{"title":"Check route liquidity","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /liquidity","href":"/api-reference/deposit-service/utilities/check-route-liquidity"},{"title":"Get token prices","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /prices","href":"/api-reference/deposit-service/utilities/get-token-prices"},{"title":"List suggested deposit tokens","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /qr/tokens","href":"/api-reference/deposit-service/utilities/list-suggested-deposit-tokens"}]},{"group":"Accounts","pages":[{"title":"Check account registration","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /check/{address}","href":"/api-reference/deposit-service/accounts/check-account-registration"},{"title":"Register an account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /register","href":"/api-reference/deposit-service/accounts/register-an-account"},{"title":"Provision deposit addresses","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /account/{address}/deposit-addresses","href":"/api-reference/deposit-service/accounts/provision-deposit-addresses"},{"title":"Add session details to account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /account/{address}/session","href":"/api-reference/deposit-service/accounts/add-session-details-to-account"},{"title":"Provision a Solana token account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /account/{address}/token-accounts","href":"/api-reference/deposit-service/accounts/provision-a-solana-token-account"},{"title":"Register a managed account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /register-managed","href":"/api-reference/deposit-service/accounts/register-a-managed-account"},{"title":"Prepare account registration","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /setup-account","href":"/api-reference/deposit-service/accounts/prepare-account-registration"}]},{"group":"Clients","pages":[{"title":"Get client settings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /setup","href":"/api-reference/deposit-service/clients/get-client-settings"},{"title":"Update client settings","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /setup","href":"/api-reference/deposit-service/clients/update-client-settings"}]},{"group":"Processing","pages":[{"title":"Retry a deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /deposits/{id}/retry","href":"/api-reference/deposit-service/processing/retry-a-deposit"},{"title":"Refund a deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /deposits/{id}/refund","href":"/api-reference/deposit-service/processing/refund-a-deposit"},{"title":"Recover a deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /deposits/recover","href":"/api-reference/deposit-service/processing/recover-a-deposit"},{"title":"Get a deposit quote","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /quotes/preview","href":"/api-reference/deposit-service/processing/get-a-deposit-quote"},{"title":"Prepare a gasless deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /deposits/permit/prepare","href":"/api-reference/deposit-service/processing/prepare-a-gasless-deposit"},{"title":"Submit a gasless deposit","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /deposits/permit","href":"/api-reference/deposit-service/processing/submit-a-gasless-deposit"},{"title":"Relay a Safe withdrawal","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /safe/withdraw","href":"/api-reference/deposit-service/processing/relay-a-safe-withdrawal"},{"title":"Relay a Polymarket withdrawal","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /polymarket/withdraw","href":"/api-reference/deposit-service/processing/relay-a-polymarket-withdrawal"}]},{"group":"Webhooks","pages":[{"title":"List webhook events","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /webhooks/events","href":"/api-reference/deposit-service/webhooks/list-webhook-events"},{"title":"Resend a webhook","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /webhooks/events/{id}/resend","href":"/api-reference/deposit-service/webhooks/resend-a-webhook"},{"title":"Send a test webhook","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /webhooks/test","href":"/api-reference/deposit-service/webhooks/send-a-test-webhook"}]},{"group":"Compliance","pages":[{"title":"Create or resume a compliance customer and mint a scoped session","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /compliance/sessions","href":"/api-reference/deposit-service/compliance/create-or-resume-a-compliance-customer-and-mint-a-scoped-session"},{"title":"Read the canonical verification state for the session customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /compliance/status","href":"/api-reference/deposit-service/compliance/read-the-canonical-verification-state-for-the-session-customer"},{"title":"Create or resume hosted verification for the session customer","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /compliance/verification","href":"/api-reference/deposit-service/compliance/create-or-resume-hosted-verification-for-the-session-customer"}]},{"group":"Onramp","pages":[{"title":"List onramp providers","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/providers","href":"/api-reference/deposit-service/onramp/list-onramp-providers"},{"title":"Get an onramp order","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/orders/{id}","href":"/api-reference/deposit-service/onramp/get-an-onramp-order"},{"title":"List onramp orders","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/orders","href":"/api-reference/deposit-service/onramp/list-onramp-orders"},{"title":"Start an onramp order","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /onramp/orders","href":"/api-reference/deposit-service/onramp/start-an-onramp-order"},{"title":"List onramp options","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/options","href":"/api-reference/deposit-service/onramp/list-onramp-options"},{"title":"List funding accounts","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/accounts","href":"/api-reference/deposit-service/onramp/list-funding-accounts"},{"title":"Set up a funding account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /onramp/accounts","href":"/api-reference/deposit-service/onramp/set-up-a-funding-account"},{"title":"Get a funding account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/accounts/{id}","href":"/api-reference/deposit-service/onramp/get-a-funding-account"},{"title":"Get bank details for a funding account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /onramp/accounts/{id}/details","href":"/api-reference/deposit-service/onramp/get-bank-details-for-a-funding-account"}]},{"group":"Offramp","pages":[{"title":"List payout methods","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /offramp/options","href":"/api-reference/deposit-service/offramp/list-payout-methods"},{"title":"List offramp orders","description":"Newest first by when each order was opened. A customer bearer lists that customer's orders; an API key with `deposits:read`, the project's.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /offramp/orders","href":"/api-reference/deposit-service/offramp/list-offramp-orders"},{"title":"Start a withdrawal to a bank account","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json post /offramp/orders","href":"/api-reference/deposit-service/offramp/start-a-withdrawal-to-a-bank-account"},{"title":"Get an offramp order","description":"By the order `id`. A customer bearer reads that customer's orders; an API key with `deposits:read`, the project's.","deprecated":null,"version":null,"openapi":"https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /offramp/orders/{id}","href":"/api-reference/deposit-service/offramp/get-an-offramp-order"}]}]}]}]},"basePath":"","title":"Start a withdrawal to a bank account - Rhinestone","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}