{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CoinVoyage","description":"CoinVoyage enables seamless crypto payments into your app from any supported chain and coin.","colors":{"primary":"#d6296f","light":"#e688bd","dark":"#fc1777"},"logo":{"light":"https://mintcdn.com/coinvoyage-3c99945b/k1rKznLxzrSYSaFy/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=k1rKznLxzrSYSaFy\u0026q=85\u0026s=2b6b11284d0d65d96596f7018cd0b7a5","dark":"https://mintcdn.com/coinvoyage-3c99945b/k1rKznLxzrSYSaFy/assets/logo.svg?fit=max\u0026auto=format\u0026n=k1rKznLxzrSYSaFy\u0026q=85\u0026s=85255bd9be1e06b981fc529f59ec164a"},"favicon":"https://mintcdn.com/coinvoyage-3c99945b/k1rKznLxzrSYSaFy/assets/favicon.ico?fit=max\u0026auto=format\u0026n=k1rKznLxzrSYSaFy\u0026q=85\u0026s=6f48ac74892e40e9ff118ec7b80a3520","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"icon":"twitter","href":"https://x.com/Coin_Voyage","label":"X"},{"href":"https://github.com/coin-voyage/","label":"Github"}],"primary":{"type":"github","href":"https://github.com/coin-voyage"}},"footer":{"socials":{"x":"https://x.com/Coin_Voyage"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coinvoyage-3c99945b","hasAudioNarration":false,"actualSubdomain":"coinvoyage-3c99945b","customDomains":["docs.coinvoyage.io"],"gitSource":{"type":"github","owner":"coin-voyage","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"agentFeedback":true,"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aedd4bec42bb37e74084bcf","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API reference","count":50},{"language":"default","tag":"Documentation","count":45},{"language":"default","tag":"API integration","count":13},{"language":"default","tag":"ApiClient reference","count":10},{"language":"default","tag":"off-ramp","count":9},{"language":"default","tag":"Dashboard","count":7},{"language":"default","tag":"onramp","count":7},{"language":"default","tag":"orders","count":7},{"language":"default","tag":"invoices","count":6},{"language":"default","tag":"Core concepts","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"help@coinvoyage.io","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[],"page":{"pagePath":"api-reference/swap/execute-swap","slug":"/api-reference/swap/execute-swap","pageMetadata":{"title":"Execute Swap","description":"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /swap/execute","href":"/api-reference/swap/execute-swap","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\"\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":"Execute Swap","description":"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /swap/execute","href":"/api-reference/swap/execute-swap","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).","operationId":"v3SwapExecute","parameters":["0256051c-f6a1-409e-b17b-402ec83894c0"],"requestBody":"ffe3a65a-f6a7-4334-abb9-21494687dd5d","responses":{"200":"8f3c1721-0e3c-4d7b-938a-520f2bc57cfb","401":"674b2b79-5563-4206-9504-733115e48c45","403":"3cae1aa4-6474-4e4f-ab8c-6185559f32d4","422":"d24e6a6c-326a-4ca3-84d4-8e487c0d76b6","500":"d0ecc102-71ed-4e37-aea9-7dfa68e0d886"},"security":["9531d07f-024d-4220-8bc7-dcc92d03a245"],"summary":"Execute Swap","tags":["swap"],"method":"post","type":"path","servers":["4e67f032-2350-4280-8c18-c9d19d7b97f4"],"path":"/swap/execute","baseUrlOptions":["https://api.coinvoyage.io/v3"],"title":"Execute Swap","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0256051c-f6a1-409e-b17b-402ec83894c0":{"description":"API key for authentication","in":"header","name":"X-API-KEY","required":true,"schema":{"type":"string","isRequired":true,"description":"API key for authentication","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"example":{"amount":"100.0","destination":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"recipient":"0x1234...abcd"},"metadata":{"items":[{"currency":"USD","description":"High-quality widget with extra features","image":"https://example.com/images/widget.png","name":"Premium Widget","quantity":2,"unit_price":49.99}],"refund":{"additional_info":"Item was never shipped","currency":"USD","name":"Order Cancellation","reason":"Customer requested refund","refund_amount":99.98}},"source":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"sender_address":"0x1234...abcd","slippage_bps":50},"trade_type":"EXACT_OUTPUT","use_deposit_address":false},"properties":{"trade_type":{"description":"Whether the source or destination amount is fixed.","enum":["EXACT_INPUT","EXACT_OUTPUT"],"type":"string","example":"EXACT_OUTPUT","isRequired":true,"uniqueKey":"trade_type","typeLabel":"enum\u003cstring>"},"amount":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"source":{"example":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"sender_address":"0x1234...abcd","slippage_bps":50},"properties":{"currency":{"example":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"properties":{"chain_id":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":30000000000001,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"source.currency.chain_id","typeLabel":"enum\u003cinteger>"},"address":{"oneOf":[{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"string","uniqueKey":"source.currency.address.oneOf.0","typeLabel":"string"},{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"null","uniqueKey":"source.currency.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"source.currency.address","typeLabel":"string | null"}},"required":["chain_id"],"type":"object","isRequired":true,"uniqueKey":"source.currency","typeLabel":"object"},"sender_address":{"oneOf":[{"example":"0x1234...abcd","type":"string","uniqueKey":"source.sender_address.oneOf.0","typeLabel":"string"},{"example":"0x1234...abcd","type":"null","uniqueKey":"source.sender_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"source.sender_address","typeLabel":"string | null"},"slippage_bps":{"oneOf":[{"example":50,"type":"integer","uniqueKey":"source.slippage_bps.oneOf.0","typeLabel":"integer"},{"example":50,"type":"null","uniqueKey":"source.slippage_bps.oneOf.1","typeLabel":"null"}],"uniqueKey":"source.slippage_bps","typeLabel":"integer | null"}},"required":["currency"],"type":"object","isRequired":true,"uniqueKey":"source","typeLabel":"object"},"destination":{"example":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"recipient":"0x1234...abcd"},"properties":{"currency":{"example":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"properties":{"chain_id":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":30000000000001,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"destination.currency.chain_id","typeLabel":"enum\u003cinteger>"},"address":{"oneOf":[{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"string","uniqueKey":"destination.currency.address.oneOf.0","typeLabel":"string"},{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"null","uniqueKey":"destination.currency.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"destination.currency.address","typeLabel":"string | null"}},"required":["chain_id"],"type":"object","isRequired":true,"uniqueKey":"destination.currency","typeLabel":"object"},"recipient":{"oneOf":[{"example":"0x1234...abcd","type":"string","uniqueKey":"destination.recipient.oneOf.0","typeLabel":"string"},{"example":"0x1234...abcd","type":"null","uniqueKey":"destination.recipient.oneOf.1","typeLabel":"null"}],"uniqueKey":"destination.recipient","typeLabel":"string | null"}},"required":["currency"],"type":"object","isRequired":true,"uniqueKey":"destination","typeLabel":"object"},"metadata":{"oneOf":[{"type":"object","example":{"items":[{"currency":"USD","description":"High-quality widget with extra features","image":"https://example.com/images/widget.png","name":"Premium Widget","quantity":2,"unit_price":49.99}],"refund":{"additional_info":"Item was never shipped","currency":"USD","name":"Order Cancellation","reason":"Customer requested refund","refund_amount":99.98}},"properties":{"items":{"items":{"example":{"currency":"USD","description":"High-quality widget with extra features","image":"https://example.com/images/widget.png","name":"Premium Widget","quantity":2,"unit_price":49.99},"properties":{"name":{"oneOf":[{"example":"Premium Widget","type":"string","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"example":"Premium Widget","type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].name","typeLabel":"string | null"},"description":{"oneOf":[{"example":"High-quality widget with extra features","type":"string","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"example":"High-quality widget with extra features","type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].description","typeLabel":"string | null"},"image":{"oneOf":[{"example":"https://example.com/images/widget.png","type":"string","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].image.oneOf.0","typeLabel":"string"},{"example":"https://example.com/images/widget.png","type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].image","typeLabel":"string | null"},"quantity":{"oneOf":[{"example":2,"type":"integer","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].quantity.oneOf.0","typeLabel":"integer"},{"example":2,"type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].quantity.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].quantity","typeLabel":"integer | null"},"unit_price":{"oneOf":[{"example":49.99,"type":"number","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].unit_price.oneOf.0","typeLabel":"number"},{"example":49.99,"type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].unit_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].unit_price","typeLabel":"number | null"},"currency":{"oneOf":[{"example":"USD","type":"string","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].currency.oneOf.0","typeLabel":"string"},{"example":"USD","type":"null","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX].currency","typeLabel":"string | null"}},"type":"object","uniqueKey":"metadata.oneOf.0.\\items.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"metadata.oneOf.0.\\items","typeLabel":"object[]"},"refund":{"oneOf":[{"type":"object","example":{"additional_info":"Item was never shipped","currency":"USD","name":"Order Cancellation","reason":"Customer requested refund","refund_amount":99.98},"properties":{"name":{"oneOf":[{"example":"Order Cancellation","type":"string","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.name.oneOf.0","typeLabel":"string"},{"example":"Order Cancellation","type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund.oneOf.0.name","typeLabel":"string | null"},"reason":{"oneOf":[{"example":"Customer requested refund","type":"string","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"example":"Customer requested refund","type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund.oneOf.0.reason","typeLabel":"string | null"},"additional_info":{"oneOf":[{"example":"Item was never shipped","type":"string","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.additional_info.oneOf.0","typeLabel":"string"},{"example":"Item was never shipped","type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.additional_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund.oneOf.0.additional_info","typeLabel":"string | null"},"refund_amount":{"oneOf":[{"example":99.98,"type":"number","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.refund_amount.oneOf.0","typeLabel":"number"},{"example":99.98,"type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.refund_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund.oneOf.0.refund_amount","typeLabel":"number | null"},"currency":{"oneOf":[{"example":"USD","type":"string","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.currency.oneOf.0","typeLabel":"string"},{"example":"USD","type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.0.currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund.oneOf.0.currency","typeLabel":"string | null"}},"uniqueKey":"metadata.oneOf.0.refund.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"metadata.oneOf.0.refund.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.refund","typeLabel":"object | null"}},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"use_deposit_address":{"description":"When true, steps[] always carries a deposit instruction; when omitted steps can be of various types depending on the swap route.","example":false,"type":"boolean","uniqueKey":"use_deposit_address","typeLabel":"boolean"}},"required":["trade_type","amount","source","destination"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"amount":"100.0","destination":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"recipient":"0x1234...abcd"},"metadata":{"items":[{"currency":"USD","description":"High-quality widget with extra features","image":"https://example.com/images/widget.png","name":"Premium Widget","quantity":2,"unit_price":49.99}],"refund":{"additional_info":"Item was never shipped","currency":"USD","name":"Order Cancellation","reason":"Customer requested refund","refund_amount":99.98}},"source":{"currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"sender_address":"0x1234...abcd","slippage_bps":50},"trade_type":"EXACT_OUTPUT","use_deposit_address":false}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"8f3c1721-0e3c-4d7b-938a-520f2bc57cfb":{"content":{"application/json":{"schema":{"example":{"data":{"destination_tx_hash":"0x5678...efgh","estimated_duration_seconds":120,"expires_at":"2023-01-01T00:00:00Z","fee_tx_hash":"0xfee1...fee2","funding":{"received_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"remaining_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"required_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"transactions":[{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"tx_hash":"0x1234...abcd"}]},"input":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"balance":{"raw":"100000000","ui":"100.0","value_usd":100},"breakdown":{"base":{"raw":"100000000","ui":"100.0","value_usd":100},"fees":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"gas":{"raw":"100000000","ui":"100.0","value_usd":100},"total":{"raw":"100000000","ui":"100.0","value_usd":100}},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"output":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"amount_out_minimum":{"raw":"100000000","ui":"100.0","value_usd":100},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"payment_rail":"CRYPTO","recipient":"0x1234...abcd","refund":{"address":"0x1234...abcd","reason":"execution failed: provider error","tx_hash":"0x9abc...ijkl"},"source_tx_hash":"0x1234...abcd","steps":[{"action":"swap","kind":"deposit","rail":"CRYPTO"}]}},"properties":{"order_id":{"type":"string","isRequired":true,"uniqueKey":"order_id","typeLabel":"string"},"status":{"enum":["PENDING","EXPIRED","FAILED","AWAITING_PAYMENT","OPTIMISTIC_CONFIRMED","AWAITING_CONFIRMATION","EXECUTING_ORDER","COMPLETED","REFUNDED","PARTIAL_PAYMENT"],"type":"string","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"data":{"example":{"destination_tx_hash":"0x5678...efgh","estimated_duration_seconds":120,"expires_at":"2023-01-01T00:00:00Z","fee_tx_hash":"0xfee1...fee2","funding":{"received_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"remaining_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"required_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"transactions":[{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"tx_hash":"0x1234...abcd"}]},"input":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"balance":{"raw":"100000000","ui":"100.0","value_usd":100},"breakdown":{"base":{"raw":"100000000","ui":"100.0","value_usd":100},"fees":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"gas":{"raw":"100000000","ui":"100.0","value_usd":100},"total":{"raw":"100000000","ui":"100.0","value_usd":100}},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"output":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"amount_out_minimum":{"raw":"100000000","ui":"100.0","value_usd":100},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"payment_rail":"CRYPTO","recipient":"0x1234...abcd","refund":{"address":"0x1234...abcd","reason":"execution failed: provider error","tx_hash":"0x9abc...ijkl"},"source_tx_hash":"0x1234...abcd","steps":[{"action":"swap","kind":"deposit","rail":"CRYPTO"}]},"properties":{"payment_rail":{"enum":["CRYPTO","FIAT"],"type":"string","example":"CRYPTO","isRequired":true,"uniqueKey":"data.payment_rail","typeLabel":"enum\u003cstring>"},"input":{"example":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"balance":{"raw":"100000000","ui":"100.0","value_usd":100},"breakdown":{"base":{"raw":"100000000","ui":"100.0","value_usd":100},"fees":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"gas":{"raw":"100000000","ui":"100.0","value_usd":100},"total":{"raw":"100000000","ui":"100.0","value_usd":100}},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"properties":{"currency":{"example":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"},"properties":{"id":{"example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","type":"string","isRequired":true,"uniqueKey":"data.input.currency.id","typeLabel":"string"},"chain_id":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":1,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.input.currency.chain_id","typeLabel":"enum\u003cinteger>"},"symbol":{"example":"USDC","type":"string","isRequired":true,"uniqueKey":"data.input.currency.symbol","typeLabel":"string"},"decimals":{"example":6,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.input.currency.decimals","typeLabel":"integer\u003cint64>"},"address":{"oneOf":[{"example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string","uniqueKey":"data.input.currency.address.oneOf.0","typeLabel":"string"},{"example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"null","uniqueKey":"data.input.currency.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.currency.address","typeLabel":"string | null"},"name":{"example":"USD Coin","type":"string","uniqueKey":"data.input.currency.name","typeLabel":"string"},"image_uri":{"oneOf":[{"type":"string","uniqueKey":"data.input.currency.image_uri.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.input.currency.image_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.currency.image_uri","typeLabel":"string | null"},"chain_image_uri":{"oneOf":[{"type":"string","uniqueKey":"data.input.currency.chain_image_uri.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.input.currency.chain_image_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.currency.chain_image_uri","typeLabel":"string | null"},"price_usd":{"oneOf":[{"example":1,"type":"number","uniqueKey":"data.input.currency.price_usd.oneOf.0","typeLabel":"number"},{"example":1,"type":"null","uniqueKey":"data.input.currency.price_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.currency.price_usd","typeLabel":"number | null"}},"required":["id","chain_id","symbol","decimals"],"type":"object","isRequired":true,"uniqueKey":"data.input.currency","typeLabel":"object"},"amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.input.amount","typeLabel":"object"},"balance":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.balance.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.balance.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.balance.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.balance.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.balance.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.input.balance.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.balance.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.balance","typeLabel":"object | null"},"breakdown":{"oneOf":[{"type":"object","required":["total","base"],"example":{"base":{"raw":"100000000","ui":"100.0","value_usd":100},"fees":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"gas":{"raw":"100000000","ui":"100.0","value_usd":100},"total":{"raw":"100000000","ui":"100.0","value_usd":100}},"properties":{"total":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.total.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.total.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.total.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.total.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.total.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.total","typeLabel":"object"},"base":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.base.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.base.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.base.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.base.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.base.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.base","typeLabel":"object"},"fees":{"oneOf":[{"type":"object","required":["total_fee"],"example":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"properties":{"total_fee":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.total_fee","typeLabel":"object"},"protocol_fee":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.protocol_fee","typeLabel":"object | null"},"custom_fee":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.custom_fee","typeLabel":"object | null"},"relayer_fee":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0.relayer_fee","typeLabel":"object | null"}},"uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.fees.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.fees","typeLabel":"object | null"},"gas":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.0.gas.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown.oneOf.0.gas","typeLabel":"object | null"}},"uniqueKey":"data.input.breakdown.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.input.breakdown.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.input.breakdown","typeLabel":"object | null"}},"required":["currency","amount"],"type":"object","isRequired":true,"uniqueKey":"data.input","typeLabel":"object"},"output":{"example":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"amount_out_minimum":{"raw":"100000000","ui":"100.0","value_usd":100},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"properties":{"currency":{"example":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"},"properties":{"id":{"example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","type":"string","isRequired":true,"uniqueKey":"data.output.currency.id","typeLabel":"string"},"chain_id":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":1,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.output.currency.chain_id","typeLabel":"enum\u003cinteger>"},"symbol":{"example":"USDC","type":"string","isRequired":true,"uniqueKey":"data.output.currency.symbol","typeLabel":"string"},"decimals":{"example":6,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.output.currency.decimals","typeLabel":"integer\u003cint64>"},"address":{"oneOf":[{"example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"string","uniqueKey":"data.output.currency.address.oneOf.0","typeLabel":"string"},{"example":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","type":"null","uniqueKey":"data.output.currency.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.currency.address","typeLabel":"string | null"},"name":{"example":"USD Coin","type":"string","uniqueKey":"data.output.currency.name","typeLabel":"string"},"image_uri":{"oneOf":[{"type":"string","uniqueKey":"data.output.currency.image_uri.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.output.currency.image_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.currency.image_uri","typeLabel":"string | null"},"chain_image_uri":{"oneOf":[{"type":"string","uniqueKey":"data.output.currency.chain_image_uri.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.output.currency.chain_image_uri.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.currency.chain_image_uri","typeLabel":"string | null"},"price_usd":{"oneOf":[{"example":1,"type":"number","uniqueKey":"data.output.currency.price_usd.oneOf.0","typeLabel":"number"},{"example":1,"type":"null","uniqueKey":"data.output.currency.price_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.currency.price_usd","typeLabel":"number | null"}},"required":["id","chain_id","symbol","decimals"],"type":"object","isRequired":true,"uniqueKey":"data.output.currency","typeLabel":"object"},"amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.output.amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.output.amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.output.amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.output.amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.output.amount","typeLabel":"object"},"amount_out_minimum":{"oneOf":[{"type":"object","required":["ui","raw"],"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.output.amount_out_minimum.oneOf.0.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.output.amount_out_minimum.oneOf.0.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.output.amount_out_minimum.oneOf.0.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.output.amount_out_minimum.oneOf.0.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.amount_out_minimum.oneOf.0.value_usd","typeLabel":"number | null"}},"uniqueKey":"data.output.amount_out_minimum.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.output.amount_out_minimum.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.output.amount_out_minimum","typeLabel":"object | null"}},"required":["currency","amount"],"type":"object","isRequired":true,"uniqueKey":"data.output","typeLabel":"object"},"recipient":{"example":"0x1234...abcd","type":"string","isRequired":true,"uniqueKey":"data.recipient","typeLabel":"string"},"steps":{"items":{"example":{"action":"swap","kind":"deposit","rail":"CRYPTO"},"properties":{"rail":{"enum":["CRYPTO","FIAT"],"type":"string","example":"CRYPTO","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].rail","typeLabel":"enum\u003cstring>"},"kind":{"enum":["deposit","transaction","stripe_onramp"],"type":"string","example":"deposit","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"data.steps.items.[INDEX].id","typeLabel":"string"},"purpose":{"type":"string","uniqueKey":"data.steps.items.[INDEX].purpose","typeLabel":"string"},"status":{"type":"string","uniqueKey":"data.steps.items.[INDEX].status","typeLabel":"string"},"expires_at":{"oneOf":[{"type":"string","uniqueKey":"data.steps.items.[INDEX].expires_at.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.steps.items.[INDEX].expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.steps.items.[INDEX].expires_at","typeLabel":"string | null"},"action":{"example":"swap","type":"string","uniqueKey":"data.steps.items.[INDEX].action","typeLabel":"string"},"description":{"type":"string","uniqueKey":"data.steps.items.[INDEX].description","typeLabel":"string"},"data":{"oneOf":[{"type":"object","required":["deposit_address","currency","amount"],"example":{"amount":"100000000","currency":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"deposit_address":"5xVt9ovu6g6E4gvz9K9eV4kxY7yQZ8h3kZ2vY8xZ5xVt"},"properties":{"deposit_address":{"example":"5xVt9ovu6g6E4gvz9K9eV4kxY7yQZ8h3kZ2vY8xZ5xVt","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.deposit_address","typeLabel":"string"},"currency":{"example":{"address":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","chain_id":30000000000001},"properties":{"chain_id":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":30000000000001,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.currency.chain_id","typeLabel":"enum\u003cinteger>"},"address":{"oneOf":[{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"string","uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.currency.address.oneOf.0","typeLabel":"string"},{"example":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","type":"null","uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.currency.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.currency.address","typeLabel":"string | null"}},"required":["chain_id"],"type":"object","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.currency","typeLabel":"object"},"amount":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0.amount","typeLabel":"string"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.0","typeLabel":"object"},{"type":"object","required":["from","to","data","value","chainId"],"example":{"chainId":1,"data":"0xa9059cbb...","from":"0x322e128453EFd91a4c131761d9d535fF6E0CCd90","maxFeePerGas":"432320998","maxPriorityFeePerGas":"290572642","to":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","value":"0"},"properties":{"from":{"example":"0x322e128453EFd91a4c131761d9d535fF6E0CCd90","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.from","typeLabel":"string"},"to":{"example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.to","typeLabel":"string"},"data":{"example":"0xa9059cbb...","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.data","typeLabel":"string"},"value":{"example":"0","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.value","typeLabel":"string"},"chainId":{"enum":[1,10,56,137,4663,8453,42161,20000000000001,20000000000002,30000000000001,30000000000002],"example":1,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.chainId","typeLabel":"enum\u003cinteger>"},"maxFeePerGas":{"example":"432320998","type":"string","uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.maxFeePerGas","typeLabel":"string"},"maxPriorityFeePerGas":{"example":"290572642","type":"string","uniqueKey":"data.steps.items.[INDEX].data.oneOf.1.maxPriorityFeePerGas","typeLabel":"string"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.1","typeLabel":"object"},{"type":"object","required":["transaction"],"example":{"transaction":"cHNidP8BA..."},"properties":{"transaction":{"description":"Base64-encoded Bitcoin PSBT.","example":"cHNidP8BA...","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.2.transaction","typeLabel":"string"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.2","typeLabel":"object"},{"type":"object","required":["transaction"],"properties":{"transaction":{"description":"Serialized Solana transaction.","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.3.transaction","typeLabel":"string"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.3","typeLabel":"object"},{"type":"object","required":["transaction"],"properties":{"transaction":{"description":"Base64 BCS transaction kind.","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.4.transaction","typeLabel":"string"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.4","typeLabel":"object"},{"type":"object","required":["stripe_publishable_key","status","destination_currency","destination_network","destination_amount","wallet_address"],"example":{"destination_amount":"100","destination_currency":"usdc","destination_network":"ethereum","session_id":"cos_test_123","source_currency":"usd","status":"initialized","stripe_publishable_key":"pk_test_123","wallet_address":"0x1234...abcd"},"properties":{"stripe_publishable_key":{"example":"pk_test_123","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.stripe_publishable_key","typeLabel":"string"},"status":{"example":"initialized","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.status","typeLabel":"string"},"destination_currency":{"enum":["usdc","usdb","usdsui","usdt","phantom_cash"],"type":"string","example":"usdc","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.destination_currency","typeLabel":"enum\u003cstring>"},"destination_network":{"enum":["arbitrum","base","bitcoin","ethereum","polygon","solana","sui","tempo","worldchain"],"type":"string","example":"ethereum","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.destination_network","typeLabel":"enum\u003cstring>"},"destination_amount":{"example":"100","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.destination_amount","typeLabel":"string"},"wallet_address":{"example":"0x1234...abcd","type":"string","isRequired":true,"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.wallet_address","typeLabel":"string"},"session_id":{"example":"cos_test_123","type":"string","uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.session_id","typeLabel":"string"},"source_currency":{"oneOf":[{"type":"string","description":"Fiat source currency for Stripe embedded onramp intents","enum":["usd","eur"],"example":"usd","uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.source_currency.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","example":"usd","uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.source_currency.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5.source_currency","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.steps.items.[INDEX].data.oneOf.5","typeLabel":"object"}],"uniqueKey":"data.steps.items.[INDEX].data","typeLabel":"object"}},"required":["rail","kind"],"type":"object","uniqueKey":"data.steps.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"data.steps","typeLabel":"object[]"},"expires_at":{"example":"2023-01-01T00:00:00Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"data.expires_at","typeLabel":"string\u003cdate-time>"},"funding":{"oneOf":[{"type":"object","required":["required_amount","received_amount","remaining_amount","transactions"],"example":{"received_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"remaining_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"required_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"transactions":[{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"tx_hash":"0x1234...abcd"}]},"properties":{"required_amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.required_amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.required_amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.funding.oneOf.0.required_amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.funding.oneOf.0.required_amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.funding.oneOf.0.required_amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.funding.oneOf.0.required_amount","typeLabel":"object"},"received_amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.received_amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.received_amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.funding.oneOf.0.received_amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.funding.oneOf.0.received_amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.funding.oneOf.0.received_amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.funding.oneOf.0.received_amount","typeLabel":"object"},"remaining_amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.remaining_amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.remaining_amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.funding.oneOf.0.remaining_amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.funding.oneOf.0.remaining_amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.funding.oneOf.0.remaining_amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.funding.oneOf.0.remaining_amount","typeLabel":"object"},"transactions":{"items":{"example":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"tx_hash":"0x1234...abcd"},"properties":{"tx_hash":{"example":"0x1234...abcd","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].tx_hash","typeLabel":"string"},"amount":{"example":{"raw":"100000000","ui":"100.0","value_usd":100},"properties":{"ui":{"example":"100.0","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount.ui","typeLabel":"string"},"raw":{"description":"A big integer represented as a string to preserve precision","example":"100000000","type":"string","isRequired":true,"uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount.raw","typeLabel":"string"},"value_usd":{"oneOf":[{"example":100,"type":"number","uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount.value_usd.oneOf.0","typeLabel":"number"},{"example":100,"type":"null","uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount.value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount.value_usd","typeLabel":"number | null"}},"required":["ui","raw"],"type":"object","isRequired":true,"uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX].amount","typeLabel":"object"}},"required":["tx_hash","amount"],"type":"object","uniqueKey":"data.funding.oneOf.0.transactions.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"data.funding.oneOf.0.transactions","typeLabel":"object[]"}},"uniqueKey":"data.funding.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.funding.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.funding","typeLabel":"object | null"},"estimated_duration_seconds":{"oneOf":[{"example":120,"type":"number","uniqueKey":"data.estimated_duration_seconds.oneOf.0","typeLabel":"number"},{"example":120,"type":"null","uniqueKey":"data.estimated_duration_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.estimated_duration_seconds","typeLabel":"number | null"},"source_tx_hash":{"oneOf":[{"example":"0x1234...abcd","type":"string","uniqueKey":"data.source_tx_hash.oneOf.0","typeLabel":"string"},{"example":"0x1234...abcd","type":"null","uniqueKey":"data.source_tx_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.source_tx_hash","typeLabel":"string | null"},"destination_tx_hash":{"oneOf":[{"example":"0x5678...efgh","type":"string","uniqueKey":"data.destination_tx_hash.oneOf.0","typeLabel":"string"},{"example":"0x5678...efgh","type":"null","uniqueKey":"data.destination_tx_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.destination_tx_hash","typeLabel":"string | null"},"fee_tx_hash":{"oneOf":[{"example":"0xfee1...fee2","type":"string","uniqueKey":"data.fee_tx_hash.oneOf.0","typeLabel":"string"},{"example":"0xfee1...fee2","type":"null","uniqueKey":"data.fee_tx_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.fee_tx_hash","typeLabel":"string | null"},"refund":{"oneOf":[{"type":"object","example":{"address":"0x1234...abcd","reason":"execution failed: provider error","tx_hash":"0x9abc...ijkl"},"properties":{"address":{"oneOf":[{"example":"0x1234...abcd","type":"string","uniqueKey":"data.refund.oneOf.0.address.oneOf.0","typeLabel":"string"},{"example":"0x1234...abcd","type":"null","uniqueKey":"data.refund.oneOf.0.address.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.refund.oneOf.0.address","typeLabel":"string | null"},"tx_hash":{"oneOf":[{"example":"0x9abc...ijkl","type":"string","uniqueKey":"data.refund.oneOf.0.tx_hash.oneOf.0","typeLabel":"string"},{"example":"0x9abc...ijkl","type":"null","uniqueKey":"data.refund.oneOf.0.tx_hash.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.refund.oneOf.0.tx_hash","typeLabel":"string | null"},"reason":{"oneOf":[{"example":"execution failed: provider error","type":"string","uniqueKey":"data.refund.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"example":"execution failed: provider error","type":"null","uniqueKey":"data.refund.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.refund.oneOf.0.reason","typeLabel":"string | null"}},"uniqueKey":"data.refund.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.refund.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.refund","typeLabel":"object | null"}},"required":["payment_rail","input","output","recipient","steps","expires_at"],"type":"object","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["order_id","status","data"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"destination_tx_hash":"0x5678...efgh","estimated_duration_seconds":120,"expires_at":"2023-01-01T00:00:00Z","fee_tx_hash":"0xfee1...fee2","funding":{"received_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"remaining_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"required_amount":{"raw":"100000000","ui":"100.0","value_usd":100},"transactions":[{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"tx_hash":"0x1234...abcd"}]},"input":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"balance":{"raw":"100000000","ui":"100.0","value_usd":100},"breakdown":{"base":{"raw":"100000000","ui":"100.0","value_usd":100},"fees":{"custom_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"protocol_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"relayer_fee":{"raw":"100000000","ui":"100.0","value_usd":100},"total_fee":{"raw":"100000000","ui":"100.0","value_usd":100}},"gas":{"raw":"100000000","ui":"100.0","value_usd":100},"total":{"raw":"100000000","ui":"100.0","value_usd":100}},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"output":{"amount":{"raw":"100000000","ui":"100.0","value_usd":100},"amount_out_minimum":{"raw":"100000000","ui":"100.0","value_usd":100},"currency":{"address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","chain_id":1,"decimals":6,"id":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48-1","name":"USD Coin","price_usd":1,"symbol":"USDC"}},"payment_rail":"CRYPTO","recipient":"0x1234...abcd","refund":{"address":"0x1234...abcd","reason":"execution failed: provider error","tx_hash":"0x9abc...ijkl"},"source_tx_hash":"0x1234...abcd","steps":[{"action":"swap","kind":"deposit","rail":"CRYPTO"}]}}}},"exampleType":"generated"}},"description":"Swap order created; fund the deposit","exampleType":"generated"},"674b2b79-5563-4206-9504-733115e48c45":{"content":{"application/json":{"schema":{"example":{"code":400,"error":"Bad Request","message":"Invalid request parameters"},"properties":{"error":{"example":"Bad Request","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"example":"Invalid request parameters","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"example":400,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint64>"},"details":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.oneOf.1","typeLabel":"number"},{"type":"object","uniqueKey":"details.oneOf.2","typeLabel":"object"}],"uniqueKey":"details","typeLabel":"string | number | object"}},"required":["error","message","code"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"error":"Bad Request","message":"Invalid request parameters"}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"3cae1aa4-6474-4e4f-ab8c-6185559f32d4":{"content":{"application/json":{"schema":{"example":{"code":400,"error":"Bad Request","message":"Invalid request parameters"},"properties":{"error":{"example":"Bad Request","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"example":"Invalid request parameters","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"example":400,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint64>"},"details":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.oneOf.1","typeLabel":"number"},{"type":"object","uniqueKey":"details.oneOf.2","typeLabel":"object"}],"uniqueKey":"details","typeLabel":"string | number | object"}},"required":["error","message","code"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"error":"Bad Request","message":"Invalid request parameters"}}},"exampleType":"generated"}},"description":"Recipient or sender address is sanctioned","exampleType":"generated"},"d24e6a6c-326a-4ca3-84d4-8e487c0d76b6":{"content":{"application/json":{"schema":{"example":{"code":400,"error":"Bad Request","message":"Invalid request parameters"},"properties":{"error":{"example":"Bad Request","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"example":"Invalid request parameters","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"example":400,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint64>"},"details":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.oneOf.1","typeLabel":"number"},{"type":"object","uniqueKey":"details.oneOf.2","typeLabel":"object"}],"uniqueKey":"details","typeLabel":"string | number | object"}},"required":["error","message","code"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"error":"Bad Request","message":"Invalid request parameters"}}},"exampleType":"generated"}},"description":"Invalid request body","exampleType":"generated"},"d0ecc102-71ed-4e37-aea9-7dfa68e0d886":{"content":{"application/json":{"schema":{"example":{"code":400,"error":"Bad Request","message":"Invalid request parameters"},"properties":{"error":{"example":"Bad Request","type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"example":"Invalid request parameters","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"example":400,"format":"int64","type":"integer","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint64>"},"details":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"details.oneOf.1","typeLabel":"number"},{"type":"object","uniqueKey":"details.oneOf.2","typeLabel":"object"}],"uniqueKey":"details","typeLabel":"string | number | object"}},"required":["error","message","code"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":400,"error":"Bad Request","message":"Invalid request parameters"}}},"exampleType":"generated"}},"description":"Internal Server Error","exampleType":"generated"}},"security":{"9531d07f-024d-4220-8bc7-dcc92d03a245":{"APIKeyHeader":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"4e67f032-2350-4280-8c18-c9d19d7b97f4":{"url":"https://api.coinvoyage.io/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"in":"header","name":"X-API-KEY","type":"apiKey","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-KEY"}],"title":"APIKeyHeader"}]},"originalFileLocation":"https://api.coinvoyage.io/v3/openapi.json"},"subdomain":"coinvoyage-3c99945b","siteName":"CoinVoyage","title":"Execute Swap - CoinVoyage","navMaps":{"firstHrefInVersion":{"v3":{"href":"/api-reference/swap/execute-swap","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T13:23:15.368Z","originalFileLocation":"api-reference/swap/execute-swap.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoinVoyage\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Execute Swap - CoinVoyage\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CoinVoyage\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coinvoyage.io/api-reference/swap/execute-swap\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coinvoyage-3c99945b.mintlify.site/_mintlify/api/og/v2?division=swap\u0026amp;title=Execute+Swap\u0026amp;description=Create+the+payment+details+for+a+SWAP-mode+order+%E2%80%94+returns+the+deposit+instruction+%28payment+block+with+steps+to+fund%29.\u0026amp;theme=920d85fa39b2b6813c85b02a\u0026amp;signature=b12cbd5bc5ed447318c754f362dcbdc913ae3b66cad3d552978b5724b2e3fabb\">\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=\"Execute Swap - CoinVoyage\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coinvoyage-3c99945b.mintlify.site/_mintlify/api/og/v2?division=swap\u0026amp;title=Execute+Swap\u0026amp;description=Create+the+payment+details+for+a+SWAP-mode+order+%E2%80%94+returns+the+deposit+instruction+%28payment+block+with+steps+to+fund%29.\u0026amp;theme=920d85fa39b2b6813c85b02a\u0026amp;signature=b12cbd5bc5ed447318c754f362dcbdc913ae3b66cad3d552978b5724b2e3fabb\">\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/coinvoyage-3c99945b/mD1PGld3WSyNJF_d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CoinVoyage\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d6296f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coinvoyage.io/api-reference/swap/execute-swap\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/swap/execute-swap.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coinvoyage.io/#organization\",\"name\":\"CoinVoyage\",\"url\":\"https://docs.coinvoyage.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coinvoyage-3c99945b/k1rKznLxzrSYSaFy/assets/logo-light.svg?fit=max\u0026auto=format\u0026n=k1rKznLxzrSYSaFy\u0026q=85\u0026s=2b6b11284d0d65d96596f7018cd0b7a5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coinvoyage.io#website\",\"name\":\"CoinVoyage\",\"url\":\"https://docs.coinvoyage.io\",\"publisher\":{\"@id\":\"https://docs.coinvoyage.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap#webpage\",\"url\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap\",\"name\":\"Execute Swap\",\"description\":\"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\",\"dateModified\":\"2026-11-06T13:23:15.368Z\",\"isPartOf\":{\"@id\":\"https://docs.coinvoyage.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CoinVoyage\",\"item\":\"https://docs.coinvoyage.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Execute Swap\",\"item\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap#apireference\",\"headline\":\"Execute Swap\",\"name\":\"Execute Swap\",\"description\":\"Create the payment details for a SWAP-mode order — returns the deposit instruction (payment block with steps to fund).\",\"url\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coinvoyage.io/api-reference/swap/execute-swap#webpage\"},\"dateModified\":\"2026-11-06T13:23:15.368Z\",\"publisher\":{\"@id\":\"https://docs.coinvoyage.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coinvoyage.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CoinVoyage\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CoinVoyage","nav":{"global":null,"versions":[{"version":"v3","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"api-keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /api-keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Revoke API Key","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json delete /api-keys/{api_key_id}","href":"/api-reference/api-keys/revoke-api-key"},{"title":"Update API Key","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json patch /api-keys/{api_key_id}","href":"/api-reference/api-keys/update-api-key"}]},{"group":"fees","pages":[{"title":"Get Fee Balance","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /fees/balance","href":"/api-reference/fees/get-fee-balance"},{"title":"Claim Fees","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /fees/claim","href":"/api-reference/fees/claim-fees"},{"title":"List Fee Entries","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /fees/entries","href":"/api-reference/fees/list-fee-entries"}]},{"group":"invoices","pages":[{"title":"List Invoices","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Create Invoice","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /invoices","href":"/api-reference/invoices/create-invoice"},{"title":"Save Invoice Draft","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /invoices/drafts","href":"/api-reference/invoices/save-invoice-draft"},{"title":"Get Invoice","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /invoices/{invoice_id}","href":"/api-reference/invoices/get-invoice"},{"title":"Delete Invoice Draft","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json delete /invoices/{invoice_id}","href":"/api-reference/invoices/delete-invoice-draft"},{"title":"Archive Invoice","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /invoices/{invoice_id}/archive","href":"/api-reference/invoices/archive-invoice"}]},{"group":"off-ramp","pages":[{"title":"List Bank Accounts","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /off-ramp/bank-accounts","href":"/api-reference/off-ramp/list-bank-accounts"},{"title":"Add Bank Account","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /off-ramp/bank-accounts","href":"/api-reference/off-ramp/add-bank-account"},{"title":"Get Bank Account","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /off-ramp/bank-accounts/{bank_account_id}","href":"/api-reference/off-ramp/get-bank-account"},{"title":"List Off-ramp Intents","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /off-ramp/intents","href":"/api-reference/off-ramp/list-off-ramp-intents"},{"title":"Create Off-ramp Intent","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /off-ramp/intents","href":"/api-reference/off-ramp/create-off-ramp-intent"},{"title":"Create Off-ramp Verification","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /off-ramp/verification","href":"/api-reference/off-ramp/create-off-ramp-verification"},{"title":"Create Off-ramp Verification Email Challenge","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /off-ramp/verification/email-challenge","href":"/api-reference/off-ramp/create-off-ramp-verification-email-challenge"},{"title":"Off-ramp Verification Status","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /off-ramp/verification/status","href":"/api-reference/off-ramp/off-ramp-verification-status"},{"title":"Get an exact off-ramp verification","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /off-ramp/verifications/{verification_id}","href":"/api-reference/off-ramp/get-an-exact-off-ramp-verification"}]},{"group":"onramp","pages":[{"title":"Create Onramp Auth Intent","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/auth/intent","href":"/api-reference/onramp/create-onramp-auth-intent"},{"title":"Create Onramp Auth Token","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/auth/token","href":"/api-reference/onramp/create-onramp-auth-token"},{"title":"Create Onramp Intent","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/intents","href":"/api-reference/onramp/create-onramp-intent"},{"title":"Create Onramp Session","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/intents/{intent_id}/session","href":"/api-reference/onramp/create-onramp-session"},{"title":"Checkout Onramp Session","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/sessions/{session_id}/checkout","href":"/api-reference/onramp/checkout-onramp-session"},{"title":"Refresh Onramp Quote","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/sessions/{session_id}/quote","href":"/api-reference/onramp/refresh-onramp-quote"},{"title":"Get Onramp Verification Status","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/verification/status","href":"/api-reference/onramp/get-onramp-verification-status"}]},{"group":"onramps","pages":[{"title":"List Bank Onramp Accounts","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /onramp/bank/accounts","href":"/api-reference/onramps/list-bank-onramp-accounts"},{"title":"Create Bank Onramp Account","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /onramp/bank/accounts","href":"/api-reference/onramps/create-bank-onramp-account"},{"title":"Get Bank Onramp Account","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /onramp/bank/accounts/{account_id}","href":"/api-reference/onramps/get-bank-onramp-account"},{"title":"List Bank Onramp Deposits","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /onramp/bank/accounts/{account_id}/deposits","href":"/api-reference/onramps/list-bank-onramp-deposits"}]},{"group":"orders","pages":[{"title":"List Orders","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /orders","href":"/api-reference/orders/list-orders"},{"title":"Create Order","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /orders","href":"/api-reference/orders/create-order"},{"title":"Get Order","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /orders/{order_id}","href":"/api-reference/orders/get-order"},{"title":"Create Payment Details","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /orders/{order_id}/payment","href":"/api-reference/orders/create-payment-details"},{"title":"Get Payment Methods","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /orders/{order_id}/payment-methods","href":"/api-reference/orders/get-payment-methods"},{"title":"Order Quotes","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /orders/{order_id}/quotes","href":"/api-reference/orders/order-quotes"},{"title":"Refund Order","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /orders/{order_id}/refund","href":"/api-reference/orders/refund-order"}]},{"group":"x402","pages":[{"title":"x402 Complete","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /orders/{order_id}/x402/complete","href":"/api-reference/x402/x402-complete"}]},{"group":"search","pages":[{"title":"Currency Search (Typeahead)","description":"Token search for source/destination pickers. Queries shorter than 2 characters return an empty list.","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /search/currencies","href":"/api-reference/search/currency-search-typeahead"}]},{"group":"swap","pages":[{"title":"Execute Swap","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /swap/execute","href":"/api-reference/swap/execute-swap"},{"title":"Swap Quote","description":"Spammable single-pair swap quote for live price discovery. Flat request/response. result_type carries soft errors on a 200. Optional recipient; fees match the swap execute path.","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /swap/quote","href":"/api-reference/swap/swap-quote"}]},{"group":"wallet","pages":[{"title":"Wallet Portfolio","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /wallet/portfolio","href":"/api-reference/wallet/wallet-portfolio"}]},{"group":"webhooks","pages":[{"title":"List Webhooks","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create Webhook","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json post /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Delete Webhook","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json delete /webhooks/{webhook_id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Update Webhook (partial)","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json patch /webhooks/{webhook_id}","href":"/api-reference/webhooks/update-webhook-partial"}]},{"group":"websocket","pages":[{"title":"Order Status WebSocket","deprecated":null,"version":null,"openapi":"https://api.coinvoyage.io/v3/openapi.json get /ws","href":"/api-reference/websocket/order-status-websocket"}]}]}]}]},"basePath":"","title":"Execute Swap - CoinVoyage","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}