{
"code": "forbidden",
"message": "Forbidden",
"errors": [
{
"field": "source.amount",
"message": "Source amount must be a numeric string. Example \"100\" or \"10.25\"."
}
]
}
{
"code": "forbidden",
"message": "Forbidden",
"errors": [
{
"field": "source.amount",
"message": "Source amount must be a numeric string. Example \"100\" or \"10.25\"."
}
]
}
Some Platform API capabilities must be enabled on your account by MoonPay
before you can call them. If this endpoint returns an unexpected 404, see
Capability
enablement.
The destination crypto asset is identified differently depending on whether it
is a centralised (CeFi) or DeFi token:
CeFi assets: pass destination.asset.code (for example, ETH or USDC_SOL).
DeFi tokens: pass destination.asset.caip19, the
CAIP-19 identifier returned by the
list assets endpoint. A DeFi
token’s code is not unique, so caip19 is required to disambiguate it.
Send only one of code or caip19. If you send both, caip19 takes
precedence.For DeFi tokens, set the amount on source.amount. Quoting by the amount of
destination token isn’t supported. The quote response returns the resolved
destination.asset.caip19 and a top-level slippageBps. See
MoonPay Gateway.
Destination asset in crypto. Amount can be set in destination or source. For DeFi tokens, identify the asset by caip19 and set the amount on source only (quoting by destination token amount is not supported).
Whether MoonPay fees are included in source.amount (inclusive) or added on top of it (exclusive). Defaults to inclusive. Only applies when quoting by source.amount; ignored when destination.amount is provided.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"MoonPay Developer Docs","description":"Integrate MoonPay's on-ramp, off-ramp, and swap products: widgets, SDKs, and APIs that let your users buy, sell, and swap crypto.","colors":{"primary":"#903DD9","light":"#A473EE","dark":"#903DD9"},"logo":{"light":"https://mintcdn.com/moonpay/BslMWtNt3goK8NG4/images/platform/logo/light.svg?fit=max\u0026auto=format\u0026n=BslMWtNt3goK8NG4\u0026q=85\u0026s=c5835bb4dbc3485f635eb0a055a9aeda","dark":"https://mintcdn.com/moonpay/BslMWtNt3goK8NG4/images/platform/logo/dark.svg?fit=max\u0026auto=format\u0026n=BslMWtNt3goK8NG4\u0026q=85\u0026s=c9414586d4260a86b2ecc81cf3be164b"},"favicon":"https://mintcdn.com/moonpay/ngx7B4NPEl3EzY5E/favicon.svg?fit=max\u0026auto=format\u0026n=ngx7B4NPEl3EzY5E\u0026q=85\u0026s=9873c77c8542701f6ac2203b0e49caf4","api":{"openapi":["https://api.moonpay.com/platform/openapi.json","api-reference/widget/ramps-and-swaps.openapi.json","api-reference/widget/virtual-accounts.openapi.json","api-reference/widget/server-to-server.openapi.json"],"playground":{"display":"simple"}},"appearance":{"default":"dark"},"seo":{"metatags":{"canonical":"https://dev.moonpay.com"}},"integrations":{"ga4":{"measurementId":"G-PPC3SM5WJD"}},"contextual":{"options":["copy","view","mcp","claude","cursor","chatgpt"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://support.moonpay.com/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"moonpay","hasAudioNarration":false,"actualSubdomain":"moonpay","customDomains":["dev.moonpay.com"],"gitSource":{"type":"github","owner":"moonpay","repo":"developer-platform-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aee1c8e2fae74618dfa8c80","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Platform","count":95},{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"SDK Reference","count":56},{"language":"default","tag":"Widget API","count":43},{"language":"default","tag":"Widget","count":41},{"language":"default","tag":"React Native","count":29},{"language":"default","tag":"Platform API","count":28},{"language":"default","tag":"Web","count":20},{"language":"default","tag":"On-Ramp","count":17},{"language":"default","tag":"Customers","count":16}]},"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":[],"page":{"pagePath":"api-reference/platform/endpoints/quotes/get","slug":"/api-reference/platform/endpoints/quotes/get","pageMetadata":{"title":"Get a quote","description":"Build quotes for fiat->crypto transactions","openapi":"POST /platform/v1/quotes/buy","href":"/api-reference/platform/endpoints/quotes/get"},"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: \"Build quotes for fiat->crypto transactions\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[`Some Platform API capabilities must be enabled on your account by MoonPay\nbefore you can call them. If this endpoint returns an unexpected `,_jsx(_components.code,{children:`404`}),`, see\n`,_jsx(_components.a,{href:`/api-reference/platform/documentation/using-the-api#capability-enablement`,children:`Capability\nenablement`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`identifying-the-destination-token`,children:`Identifying the destination token`}),`\n`,_jsx(_components.p,{children:`The destination crypto asset is identified differently depending on whether it\nis a centralised (CeFi) or DeFi token:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CeFi assets:`}),` pass `,_jsx(_components.code,{children:`destination.asset.code`}),` (for example, `,_jsx(_components.code,{children:`ETH`}),` or `,_jsx(_components.code,{children:`USDC_SOL`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`DeFi tokens:`}),` pass `,_jsx(_components.code,{children:`destination.asset.caip19`}),`, the\n`,_jsx(_components.a,{href:`https://chainagnostic.org/CAIPs/caip-19`,children:`CAIP-19`}),` identifier returned by the\n`,_jsx(_components.a,{href:`/api-reference/platform/endpoints/assets/list`,children:`list assets`}),` endpoint. A DeFi\ntoken’s `,_jsx(_components.code,{children:`code`}),` is not unique, so `,_jsx(_components.code,{children:`caip19`}),` is required to disambiguate it.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Send only one of `,_jsx(_components.code,{children:`code`}),` or `,_jsx(_components.code,{children:`caip19`}),`. If you send both, `,_jsx(_components.code,{children:`caip19`}),` takes\nprecedence.`]}),`\n`,_jsxs(_components.p,{children:[`For DeFi tokens, set the amount on `,_jsx(_components.code,{children:`source.amount`}),`. Quoting by the amount of\ndestination token isn’t supported. The quote response returns the resolved\n`,_jsx(_components.code,{children:`destination.asset.caip19`}),` and a top-level `,_jsx(_components.code,{children:`slippageBps`}),`. See\n`,_jsx(_components.a,{href:`/platform/overview/gateway`,children:`MoonPay Gateway`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a quote","description":"Build quotes for fiat->crypto transactions","openapi":"POST /platform/v1/quotes/buy","href":"/api-reference/platform/endpoints/quotes/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Identifying the destination token","slug":"identifying-the-destination-token","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"QuoteController.getQuote","summary":"Build a buy quote","description":"Build quotes for fiat->crypto transactions","parameters":[],"responses":{"200":"300bcba3-e332-47d0-b802-dd4cddf475b3","400":"884a4b48-c6e7-4125-817c-396ab3eec0ff","401":"3b4f26ef-f79c-41f7-9905-6ef5bc97e291","403":"f6a18c44-9a90-4c27-bb00-4da23625f4a1"},"tags":["Quote"],"requestBody":"4d8b96b5-9eaf-498d-bee9-afccf8ba325f","security":["fd4b4857-ba5d-4b6f-adb6-cf0ebd89e857"],"method":"post","type":"path","servers":["437748e9-5880-4c3c-a787-00ada6c09cb1","bc0b72f3-f843-4f2a-a1d7-f739a88cb714"],"path":"/platform/v1/quotes/buy","baseUrlOptions":["https://api.moonpay.com","https://api.moonpay.dev"],"title":"Build a buy quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["source","destination"],"properties":{"source":{"type":"object","required":["asset"],"properties":{"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"source.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The currency or token being spent","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"source.asset","typeLabel":"object"},"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["100.02","10.22","1.00","10","1"],"uniqueKey":"source.amount","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Source asset in fiat. Amount can be set in `source` or `destination`.","examples":[{"amount":"100.02","asset":{"code":"USD"}}],"isRequired":true,"uniqueKey":"source","typeLabel":"object"},"destination":{"type":"object","required":["asset"],"properties":{"asset":{"type":"object","properties":{"code":{"type":"string","description":"CeFi currency code, e.g. `BTC` or `ETH`. Use for centralised assets.","examples":["ETH"],"uniqueKey":"destination.asset.code","typeLabel":"string"},"caip19":{"type":"string","description":"CAIP-19 asset identifier from the assets listing. Required for DeFi tokens.","examples":["solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv"],"uniqueKey":"destination.asset.caip19","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Destination crypto asset. Identify it by `code` for CeFi assets, or by `caip19` (the CAIP-19 identifier from the assets listing) for DeFi tokens, whose `code` is not unique. Provide exactly one; `caip19` takes precedence if both are sent.","isRequired":true,"uniqueKey":"destination.asset","typeLabel":"object"},"amount":{"type":"string","description":"The amount being received, if known","uniqueKey":"destination.amount","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Destination asset in crypto. Amount can be set in `destination` or `source`. For DeFi tokens, identify the asset by `caip19` and set the amount on `source` only (quoting by destination token amount is not supported).","isRequired":true,"uniqueKey":"destination","typeLabel":"object"},"wallet":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"The wallet address used for the transaction.","examples":["0x1234567890123456789012345678901234567890"],"isRequired":true,"uniqueKey":"wallet.address","typeLabel":"string"},"tag":{"type":"string","description":"An optional memo or destination tag (used by some blockchains such as XRP or XLM).","uniqueKey":"wallet.tag","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"address":"0x1234567890123456789012345678901234567890"}],"description":"Wallet address and optional tag where the crypto will be sent. Required for the quote to be executable.","uniqueKey":"wallet","typeLabel":"object"},"paymentMethod":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["apple_pay","card","ach","fps","fps_open_banking","google_pay","sepa","sepa_open_banking","pix","paypal","venmo","revolut_pay","moonpay_balance","interac"],"isRequired":true,"uniqueKey":"paymentMethod.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Unique identifier of the payment method. Used to identify the specific card when type is card.","uniqueKey":"paymentMethod.id","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Payment method for the transaction. Required for the quote to be executable.","uniqueKey":"paymentMethod","typeLabel":"object"},"feeBehavior":{"type":"string","enum":["inclusive","exclusive"],"description":"Whether MoonPay fees are included in `source.amount` (`inclusive`) or added on top of it (`exclusive`). Defaults to `inclusive`. Only applies when quoting by `source.amount`; ignored when `destination.amount` is provided.","default":"inclusive","uniqueKey":"feeBehavior","typeLabel":"enum\u003cstring>"}},"unevaluatedProperties":{"not":{}},"examples":[{"source":{"amount":"100","asset":{"code":"USD"}},"destination":{"asset":{"caip19":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv"}},"wallet":{"address":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"}},{"source":{"asset":{"code":"USD"}},"destination":{"amount":"100","asset":{"code":"USDC"}},"wallet":{"address":"0x1234567890123456789012345678901234567890"},"paymentMethod":{"type":"card","id":"00000000-0000-0000-0000-000000000000"}},{"source":{"amount":"100","asset":{"code":"USD"}},"destination":{"asset":{"code":"XLM"}},"wallet":{"address":"GBKZP2H5572E3P4B6GTCU4Z6V6P77JL7IF7A6E3UWYJ2LXFMR43W","tag":"1234567890"},"paymentMethod":{"type":"paypal"}},{"source":{"amount":"100","asset":{"code":"USD"}},"destination":{"asset":{"code":"USDC"}},"wallet":{"address":"0x1234567890123456789012345678901234567890"},"paymentMethod":{"type":"apple_pay"}}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"source":{"amount":"100","asset":{"code":"USD"}},"destination":{"asset":{"caip19":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv"}},"wallet":{"address":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"300bcba3-e332-47d0-b802-dd4cddf475b3":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["source","destination","fees","wallet","paymentMethod","feeBehavior","limits","expiresAt","executable","exchangeRate","exchangeRateType","paymentDisclosures","signature"],"properties":{"source":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["100.02","10.22","1.00","10","1"],"isRequired":true,"uniqueKey":"data.source.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.source.asset.code","typeLabel":"string"},"name":{"type":"string","description":"The human-readable name","uniqueKey":"data.source.asset.name","typeLabel":"string"},"precision":{"type":"integer","format":"int32","description":"The number of supported decimal places","uniqueKey":"data.source.asset.precision","typeLabel":"integer\u003cint32>"}},"unevaluatedProperties":{"not":{}},"description":"The currency or token being spent","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.source.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"Source side of the quote: amount and asset (fiat currency) you send.","isRequired":true,"uniqueKey":"data.source","typeLabel":"object"},"destination":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["100.02","10.22","1.00","10","1"],"isRequired":true,"uniqueKey":"data.destination.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.destination.asset.code","typeLabel":"string"},"name":{"type":"string","description":"The human-readable name","uniqueKey":"data.destination.asset.name","typeLabel":"string"},"precision":{"type":"integer","format":"int32","description":"The number of supported decimal places","uniqueKey":"data.destination.asset.precision","typeLabel":"integer\u003cint32>"},"caip19":{"type":"string","description":"The CAIP-19 asset identifier (encodes chain and contract). Present for DeFi tokens.","uniqueKey":"data.destination.asset.caip19","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Destination crypto asset returned on the quote. Adds the resolved network and, for DeFi tokens, the CAIP-19 identifier on top of the base asset fields.","isRequired":true,"uniqueKey":"data.destination.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"Destination side of the quote: amount and asset (cryptocurrency) the customer receives.","examples":[{"amount":"100.02","asset":{"code":"USDC"}}],"isRequired":true,"uniqueKey":"data.destination","typeLabel":"object"},"fees":{"type":"object","properties":{"network":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"The amount of fees in fiat.","examples":["1","1.00","10.22","100.02"],"isRequired":true,"uniqueKey":"data.fees.network.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.fees.network.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The fiat currency used to pay the fees.","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.fees.network.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"Network fees (in fiat) for the transaction.","uniqueKey":"data.fees.network","typeLabel":"object"},"moonpay":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"The amount of fees in fiat.","examples":["1","1.00","10.22","100.02"],"isRequired":true,"uniqueKey":"data.fees.moonpay.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.fees.moonpay.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The fiat currency used to pay the fees.","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.fees.moonpay.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"MoonPay fees (in fiat) for the transaction.","uniqueKey":"data.fees.moonpay","typeLabel":"object"},"ecosystem":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"The amount of fees in fiat.","examples":["1","1.00","10.22","100.02"],"isRequired":true,"uniqueKey":"data.fees.ecosystem.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.fees.ecosystem.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The fiat currency used to pay the fees.","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.fees.ecosystem.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"Ecosystem fees (in fiat) for the transaction, if applicable.","uniqueKey":"data.fees.ecosystem","typeLabel":"object"},"defi":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"The amount of fees in fiat.","examples":["1","1.00","10.22","100.02"],"isRequired":true,"uniqueKey":"data.fees.defi.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.fees.defi.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The fiat currency used to pay the fees.","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.fees.defi.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"DeFi swap fee (in fiat) for the transaction, converted to the quote's base currency like the other fees. Present only for DeFi swaps that carry an itemized swap fee; when the fee is taken on-chain it is reflected in `destination.amount` instead.","uniqueKey":"data.fees.defi","typeLabel":"object"},"partner":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"The amount of fees in fiat.","examples":["1","1.00","10.22","100.02"],"isRequired":true,"uniqueKey":"data.fees.partner.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.fees.partner.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"The fiat currency used to pay the fees.","examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.fees.partner.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"Partner fees (in fiat) for the transaction, if applicable. Deprecated: use `fees.ecosystem` instead. This field will be removed in a future release.","deprecated":true,"uniqueKey":"data.fees.partner","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"examples":[{"network":{"amount":"2.39","asset":{"code":"USD"}},"moonpay":{"amount":"4.99","asset":{"code":"USD"}},"ecosystem":{"amount":"1.00","asset":{"code":"USD"}}}],"description":"Breakdown of network, MoonPay, and ecosystem fees.","isRequired":true,"uniqueKey":"data.fees","typeLabel":"object"},"wallet":{"oneOf":[{"type":"object","description":"Wallet address and optional tag where the crypto will be sent. Null when not provided.","required":["address"],"example":{"address":"0x1234567890123456789012345678901234567890"},"properties":{"address":{"type":"string","description":"The wallet address used for the transaction.","examples":["0x1234567890123456789012345678901234567890"],"isRequired":true,"uniqueKey":"data.wallet.oneOf.0.address","typeLabel":"string"},"tag":{"type":"string","description":"An optional memo or destination tag (used by some blockchains such as XRP or XLM).","uniqueKey":"data.wallet.oneOf.0.tag","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.wallet.oneOf.0","typeLabel":"object"},{"type":"null","description":"Wallet address and optional tag where the crypto will be sent. Null when not provided.","isRequired":true,"uniqueKey":"data.wallet.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.wallet","typeLabel":"object | null"},"paymentMethod":{"oneOf":[{"type":"object","description":"The payment method used for the quote.","required":["type"],"properties":{"type":{"type":"string","enum":["apple_pay","card","ach","fps","fps_open_banking","google_pay","sepa","sepa_open_banking","pix","paypal","venmo","revolut_pay","moonpay_balance","interac"],"isRequired":true,"uniqueKey":"data.paymentMethod.oneOf.0.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Unique identifier of the payment method. Used to identify the specific card when type is card.","uniqueKey":"data.paymentMethod.oneOf.0.id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.paymentMethod.oneOf.0","typeLabel":"object"},{"type":"null","description":"The payment method used for the quote.","isRequired":true,"uniqueKey":"data.paymentMethod.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.paymentMethod","typeLabel":"object | null"},"feeBehavior":{"type":"string","enum":["inclusive","exclusive"],"description":"How MoonPay fees relate to `source.amount` in this quote. Echoes the requested `feeBehavior`; always `inclusive` when the quote was priced by `destination.amount`.","isRequired":true,"uniqueKey":"data.feeBehavior","typeLabel":"enum\u003cstring>"},"limits":{"oneOf":[{"type":"object","description":"Limits applicable to the quote.","properties":{"daily":{"type":"object","required":["limit","remaining"],"properties":{"limit":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.limit.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.limit.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.limit.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The maximum amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.limit","typeLabel":"object"},"remaining":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.remaining.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.remaining.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.remaining.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The remaining amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.daily.remaining","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The daily limit.","uniqueKey":"data.limits.oneOf.0.daily","typeLabel":"object"},"monthly":{"type":"object","required":["limit","remaining"],"properties":{"limit":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.limit.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.limit.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.limit.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The maximum amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.limit","typeLabel":"object"},"remaining":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.remaining.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.remaining.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.remaining.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The remaining amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.monthly.remaining","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The monthly limit.","uniqueKey":"data.limits.oneOf.0.monthly","typeLabel":"object"},"yearly":{"type":"object","required":["limit","remaining"],"properties":{"limit":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.limit.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.limit.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.limit.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The maximum amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.limit","typeLabel":"object"},"remaining":{"type":"object","required":["amount","asset"],"properties":{"amount":{"type":"string","description":"A stringified amount, which can include decimals.","examples":["1","10.22","100.02"],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.remaining.amount","typeLabel":"string"},"asset":{"type":"object","required":["code"],"properties":{"code":{"type":"string","description":"A fiat or crypto currency code.\n\n**Fiat**\nFiat codes are represented as [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) codes.\n\n**Crypto**\nFor crypto currency codes, see [supported currencies](https://dev.moonpay.com/docs/list-of-supported-cryptocurrencies).\n\nExamples: `BTC` `SOL` `ETH` `USDC_BASE` `USDC_SOL`","isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.remaining.asset.code","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"examples":[{"code":"USD"}],"isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.remaining.asset","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The remaining amount.","isRequired":true,"uniqueKey":"data.limits.oneOf.0.yearly.remaining","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"description":"The yearly limit.","uniqueKey":"data.limits.oneOf.0.yearly","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.limits.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.limits.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.limits","typeLabel":"object | null"},"expiresAt":{"type":"string","format":"date-time","description":"An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of when the quote expires.","isRequired":true,"uniqueKey":"data.expiresAt","typeLabel":"string\u003cdate-time>"},"executable":{"type":"boolean","description":"Whether the quote can be executed. Only `executable` quotes can be used to initiate payment frames.","isRequired":true,"uniqueKey":"data.executable","typeLabel":"boolean"},"exchangeRate":{"type":"string","description":"The rate used to convert fiat \u003c-> crypto, expressed as the fiat value of one unit of crypto (e.g. `1 SOL = {exchangeRate} USD`).","examples":["1.001","87523.17"],"isRequired":true,"uniqueKey":"data.exchangeRate","typeLabel":"string"},"exchangeRateType":{"type":"string","enum":["fixed","floating"],"description":"Whether the quote's exchange rate is `fixed` (locked at quote time, e.g. cards, Apple Pay, Google Pay) or `floating` (an estimate confirmed when the payment settles, e.g. bank transfers).","examples":["floating"],"isRequired":true,"uniqueKey":"data.exchangeRateType","typeLabel":"enum\u003cstring>"},"paymentDisclosures":{"type":"array","items":{"type":"object","required":["id","version"],"properties":{"id":{"type":"string","enum":["us-transaction-finality","eea-crypto-asset-risk","eea-unregulated-stablecoin-risk","gateway-token"],"description":"Stable identifier of the disclosure. Each id maps to one specific piece of text.","isRequired":true,"uniqueKey":"data.paymentDisclosures.items.[INDEX].id","typeLabel":"enum\u003cstring>"},"version":{"type":"string","description":"Version of the disclosure text. Bumped whenever the canonical wording for this `id` changes. Partners that receive an unknown `(id, version)` pair should fall back to a conservative disclosure and alert their integration team.","isRequired":true,"uniqueKey":"data.paymentDisclosures.items.[INDEX].version","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"A payment disclosure that the partner must render verbatim before the customer can complete the transaction.","examples":[{"id":"eea-crypto-asset-risk","version":"1"}],"uniqueKey":"data.paymentDisclosures.items.[INDEX]","typeLabel":"object"},"description":"Disclosures the partner must render verbatim before the customer can complete the transaction. Empty when no disclosure is required for the customer's geography, payment method, and asset combination.","isRequired":true,"uniqueKey":"data.paymentDisclosures","typeLabel":"object[]"},"signature":{"type":"string","description":"An opaque token representing the quote to initiate payment frames.","examples":["cXVvdGUuc2lnbmF0dXJl..."],"isRequired":true,"uniqueKey":"data.signature","typeLabel":"string"},"slippageBps":{"type":"integer","format":"int32","description":"Slippage tolerance applied to the DeFi swap, in basis points (e.g. `50` = 0.5%). Only present when the destination is a DeFi token.","examples":[50],"uniqueKey":"data.slippageBps","typeLabel":"integer\u003cint32>"},"challenge":{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["frame"],"description":"The type of challenge resolution required.","isRequired":true,"uniqueKey":"data.challenge.kind","typeLabel":"enum\u003cstring>"},"url":{"type":"string","description":"Fully-formed challenge frame URL. Render directly without parsing.","isRequired":true,"uniqueKey":"data.challenge.url","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"A challenge the partner must surface and the customer must complete before the quote can proceed — for example, verifying identity to raise guest-checkout limits. Present only when the quote requires one; omitted otherwise.","uniqueKey":"data.challenge","typeLabel":"object"}},"description":"Quote for a fiat-to-crypto buy. Contains locked rate, fees, expiry, and signature for payment execution.","examples":[{"source":{"amount":"100.00","asset":{"code":"USD"}},"destination":{"amount":"31250.0","asset":{"caip19":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv","code":"PENGU","name":"Pudgy Penguins","precision":6}},"fees":{"network":{"amount":"2.39","asset":{"code":"USD"}},"moonpay":{"amount":"4.99","asset":{"code":"USD"}},"ecosystem":{"amount":"1.00","asset":{"code":"USD"}},"defi":{"amount":"1.00","asset":{"code":"USD"}}},"wallet":{"address":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},"paymentMethod":{"type":"apple_pay"},"feeBehavior":"inclusive","limits":null,"expiresAt":"2026-03-27T12:30:00.000Z","executable":true,"exchangeRate":"0.0032","exchangeRateType":"fixed","slippageBps":50,"paymentDisclosures":[{"id":"gateway-token","version":"1"}],"signature":"cXVvdGUuc2lnbmF0dXJl..."},{"source":{"amount":"100.00","asset":{"code":"USD"}},"destination":{"amount":"0.00114","asset":{"code":"BTC"}},"fees":{"network":{"amount":"2.39","asset":{"code":"USD"}},"moonpay":{"amount":"4.99","asset":{"code":"USD"}},"ecosystem":{"amount":"1.00","asset":{"code":"USD"}}},"wallet":{"address":"0x1234567890123456789012345678901234567890"},"paymentMethod":{"type":"apple_pay"},"feeBehavior":"inclusive","limits":null,"expiresAt":"2026-03-27T12:30:00.000Z","executable":true,"exchangeRate":"87523.17","exchangeRateType":"fixed","paymentDisclosures":[{"id":"eea-crypto-asset-risk","version":"1"}],"signature":"cXVvdGUuc2lnbmF0dXJl..."}],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"unevaluatedProperties":{"not":{}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"source":{"amount":"100.00","asset":{"code":"USD"}},"destination":{"amount":"31250.0","asset":{"caip19":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv","code":"PENGU","name":"Pudgy Penguins","precision":6}},"fees":{"network":{"amount":"2.39","asset":{"code":"USD"}},"moonpay":{"amount":"4.99","asset":{"code":"USD"}},"ecosystem":{"amount":"1.00","asset":{"code":"USD"}},"defi":{"amount":"1.00","asset":{"code":"USD"}}},"wallet":{"address":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"},"paymentMethod":{"type":"apple_pay"},"feeBehavior":"inclusive","limits":null,"expiresAt":"2026-03-27T12:30:00.000Z","executable":true,"exchangeRate":"0.0032","exchangeRateType":"fixed","slippageBps":50,"paymentDisclosures":[{"id":"gateway-token","version":"1"}],"signature":"cXVvdGUuc2lnbmF0dXJl..."}}}},"exampleType":"generated"}},"exampleType":"generated"},"884a4b48-c6e7-4125-817c-396ab3eec0ff":{"description":"The server could not understand the request due to invalid syntax.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unknown_error","unauthorized","forbidden","not_found","invalid_request","not_implemented","too_many_requests","not_allowed","conflict","unprocessable_entity","sse_timeout","sse_error","service_unavailable","requirements_incomplete","requirement_not_pending","verification_rejected","country_mismatch","upload_expired","unsupported_country","verification_pending","kyc_not_approved","no_outstanding_requirements","no_new_documents","terms_accepted_at_out_of_range","unsupported_combination","asset_not_available_in_region","address_confirmation_required","card_not_supported"],"description":"Code identifying the error type.","examples":["forbidden","unauthorized","invalid_request"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message.","examples":["Forbidden","Not authorized","One or more request parameters are invalid."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Human-readable error message for this field.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"type":"string","description":"Field that caused the error.","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"details":{"type":"object","unevaluatedProperties":{},"description":"Extra data that describes the error in more detail, useful when debugging or logging. Keys vary by error and are not part of the API contract. For example, an amount-limit error includes the limit value as \"maxBuyAmount\" or \"minBuyAmount\".","uniqueKey":"errors.items.[INDEX].details","typeLabel":"object"}},"unevaluatedProperties":{"not":{}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Optional list of field-level error details.","examples":[[{"field":"source.amount","message":"Source amount must be a numeric string. Example \"100\" or \"10.25\"."}]],"uniqueKey":"errors","typeLabel":"object[]"}},"unevaluatedProperties":{"not":{}},"description":"Response body returned when a request fails.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"forbidden","message":"Forbidden","errors":[{"field":"source.amount","message":"Source amount must be a numeric string. Example \"100\" or \"10.25\"."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"3b4f26ef-f79c-41f7-9905-6ef5bc97e291":{"description":"Access is unauthorized.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Not authorized"],"isRequired":true,"uniqueKey":"message","typeLabel":"enum\u003cstring>"}},"unevaluatedProperties":{"not":{}},"description":"Missing or invalid credentials.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"unauthorized","message":"Not authorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"f6a18c44-9a90-4c27-bb00-4da23625f4a1":{"description":"Access is forbidden.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["forbidden"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","examples":["Forbidden"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"unevaluatedProperties":{"not":{}},"description":"Insufficient permissions.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"forbidden","message":"Forbidden"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fd4b4857-ba5d-4b6f-adb6-cf0ebd89e857":{"AccessTokenAuth":{"type":"http","scheme":"bearer","description":"Bearer authentication header using an access token.\n\nExample: `Authorization: Bearer \u003caccessToken>`","scopes":[],"schemeName":"AccessTokenAuth"}}},"servers":{"437748e9-5880-4c3c-a787-00ada6c09cb1":{"url":"https://api.moonpay.com","description":"Production Environment","variables":{}},"bc0b72f3-f843-4f2a-a1d7-f739a88cb714":{"url":"https://api.moonpay.dev","description":"Sandbox Environment","variables":{}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer authentication header using an access token.\n\nExample: `Authorization: Bearer \u003caccessToken>`","scopes":[],"schemeName":"AccessTokenAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header using an access token.\n\nExample: `Authorization: Bearer \u003caccessToken>`","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AccessTokenAuth","name":"Authorization"}],"title":"AccessTokenAuth"}]},"originalFileLocation":"https://api.moonpay.com/platform/openapi.json"},"subdomain":"moonpay","siteName":"MoonPay Developer Docs","title":"Get a quote - MoonPay Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T19:50:23.113Z","originalFileLocation":"api-reference/platform/endpoints/quotes/get.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=\"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=\"Build quotes for fiat-\u0026gt;crypto transactions\">\u003cmeta data-mint-head name=\"application-name\" content=\"MoonPay Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_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/moonpay/Ab1BP3eXcK1clOJ3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a quote - MoonPay Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Build quotes for fiat-\u0026gt;crypto transactions\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MoonPay Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://moonpay.mintlify.site/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Get+a+quote\u0026amp;description=Build+quotes+for+fiat-%3Ecrypto+transactions\u0026amp;theme=3c3054a1057728b6fd908044\u0026amp;signature=46578862272ed715c33031f2c985d11d25352b021dda3e71b3f884f916cc9e62\">\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=\"Get a quote - MoonPay Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Build quotes for fiat-\u0026gt;crypto transactions\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://moonpay.mintlify.site/_mintlify/api/og/v2?division=Quotes\u0026amp;title=Get+a+quote\u0026amp;description=Build+quotes+for+fiat-%3Ecrypto+transactions\u0026amp;theme=3c3054a1057728b6fd908044\u0026amp;signature=46578862272ed715c33031f2c985d11d25352b021dda3e71b3f884f916cc9e62\">\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/moonpay/Ab1BP3eXcK1clOJ3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MoonPay Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#903DD9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/platform/endpoints/quotes/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://dev.moonpay.com/#organization\",\"name\":\"MoonPay Developer Docs\",\"url\":\"https://dev.moonpay.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/moonpay/BslMWtNt3goK8NG4/images/platform/logo/light.svg?fit=max\u0026auto=format\u0026n=BslMWtNt3goK8NG4\u0026q=85\u0026s=c5835bb4dbc3485f635eb0a055a9aeda\"}},{\"@type\":\"WebSite\",\"@id\":\"https://dev.moonpay.com#website\",\"name\":\"MoonPay Developer Docs\",\"url\":\"https://dev.moonpay.com\",\"publisher\":{\"@id\":\"https://dev.moonpay.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get#webpage\",\"url\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get\",\"name\":\"Get a quote\",\"description\":\"Build quotes for fiat->crypto transactions\",\"dateModified\":\"2026-11-05T19:50:23.113Z\",\"isPartOf\":{\"@id\":\"https://dev.moonpay.com#website\"},\"breadcrumb\":{\"@id\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MoonPay Developer Docs\",\"item\":\"https://dev.moonpay.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a quote\",\"item\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get#apireference\",\"headline\":\"Get a quote\",\"name\":\"Get a quote\",\"description\":\"Build quotes for fiat->crypto transactions\",\"url\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get\",\"mainEntityOfPage\":{\"@id\":\"https://dev.moonpay.com/api-reference/platform/endpoints/quotes/get#webpage\"},\"dateModified\":\"2026-11-05T19:50:23.113Z\",\"publisher\":{\"@id\":\"https://dev.moonpay.com/#organization\"},\"isPartOf\":{\"@id\":\"https://dev.moonpay.com#website\"}}]}\u003c/script>","siteName":"MoonPay Developer Docs","nav":{"global":{"anchors":[{"anchor":"Help Center","icon":"life-ring","href":"https://support.moonpay.com/"}]},"tabs":[{"tab":"Platform","pages":[{"title":"Platform","href":"/platform/overview/introduction"}]},{"tab":"Widget","pages":[{"title":"Widget","href":"/widget/overview"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"Platform API","icon":"code","groups":[{"group":"Documentation","pages":[{"title":"Using the Platform API","href":"/api-reference/platform/documentation/using-the-api"}]},{"group":"Sessions","pages":[{"title":"Create a session","openapi":"POST /platform/v1/sessions","href":"/api-reference/platform/endpoints/sessions/create"},{"title":"Revoke a session","openapi":"DELETE /platform/v1/sessions","href":"/api-reference/platform/endpoints/sessions/revoke"}]},{"group":"Customers","pages":[{"title":"Get a customer","openapi":"GET /platform/v1/customers/{id}","href":"/api-reference/platform/endpoints/customers/get"},{"title":"Get customers by external customer ID","openapi":"GET /platform/v1/customers/ext/{externalCustomerId}","href":"/api-reference/platform/endpoints/customers/get-by-external-id"},{"title":"Submit KYC data","openapi":"PATCH /platform/v1/customers/{id}/kyc","href":"/api-reference/platform/endpoints/customers/submit-kyc"},{"title":"Get a file upload URL","openapi":"POST /platform/v1/customers/{id}/files/upload-url","href":"/api-reference/platform/endpoints/customers/get-upload-url"},{"title":"Confirm uploaded files","openapi":"POST /platform/v1/customers/{id}/files","href":"/api-reference/platform/endpoints/customers/submit-files"},{"title":"Export customer data","openapi":"POST /platform/v1/customers/export","href":"/api-reference/platform/endpoints/customers/export"}]},{"group":"Payment Methods","pages":[{"title":"List payment methods","openapi":"GET /platform/v1/payment-methods","href":"/api-reference/platform/endpoints/payment-methods/list"},{"title":"Delete a payment method","openapi":"DELETE /platform/v1/payment-methods/{paymentMethodId}","href":"/api-reference/platform/endpoints/payment-methods/delete"}]},{"group":"Assets","pages":[{"title":"List assets","description":"List the crypto assets available for purchase, including DeFi tokens","openapi":"GET /platform/v1/assets","href":"/api-reference/platform/endpoints/assets/list"}]},{"group":"Quotes","pages":[{"title":"Get a quote","openapi":"POST /platform/v1/quotes/buy","href":"/api-reference/platform/endpoints/quotes/get"}]},{"group":"Transactions","pages":[{"title":"List transactions","description":"List transactions for the connected user with optional date filtering and pagination","openapi":"GET /platform/v1/transactions","href":"/api-reference/platform/endpoints/transactions/list"},{"title":"Get a transaction","openapi":"GET /platform/v1/transactions/{id}","href":"/api-reference/platform/endpoints/transactions/get"},{"title":"Simulate bank-transfer settlement","openapi":"POST /platform/v1/transactions/{id}/simulate-bank-transfer","href":"/api-reference/platform/endpoints/transactions/simulate-bank-transfer"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/api-reference/platform/webhooks/overview"},{"title":"Customer identity status updated","openapi":"openapi-webhooks.json webhook customerIdentityStatusUpdated","href":"/api-reference/platform/webhooks/customer-identity-status-updated"}]},{"group":"Objects \u0026 Types","pages":[{"title":"Customer","href":"/api-reference/platform/objects-and-types/customer"},{"title":"Customer export","href":"/api-reference/platform/objects-and-types/customer-export"},{"title":"Transaction","href":"/api-reference/platform/objects-and-types/transaction"},{"title":"Stage","href":"/api-reference/platform/objects-and-types/stage"},{"title":"Stage failure reasons","href":"/api-reference/platform/objects-and-types/stage-failure-reasons"},{"title":"Quote","href":"/api-reference/platform/objects-and-types/quote"},{"title":"Payment Method","href":"/api-reference/platform/objects-and-types/payment-method"},{"title":"Asset","href":"/api-reference/platform/objects-and-types/asset"},{"title":"Fees","href":"/api-reference/platform/objects-and-types/fees"},{"title":"Wallet","href":"/api-reference/platform/objects-and-types/wallet"}]}]},{"dropdown":"Widget API","icon":"window","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/widget/overview"},{"title":"Using the API","href":"/api-reference/widget/using-the-api"},{"title":"Errors","href":"/api-reference/widget/errors"}]},{"group":"Customers","pages":[{"title":"Get customer","openapi":"GET /v1/customers/{customerId}","href":"/api-reference/widget/getcustomer"},{"title":"Get customer by externalId","openapi":"GET /v1/customers/ext/{customerId}","href":"/api-reference/widget/getcustomerbyexternalid"},{"title":"Import customer identity","openapi":"POST /v3/customers/import","href":"/api-reference/widget/importcustomer"}]},{"group":"On-ramp","pages":[{"title":"Get Real-time Buy quote","openapi":"GET /v3/currencies/{currencyCode}/buy_quote","href":"/api-reference/widget/getbuyquote"},{"title":"Get Crypto Currency limits","openapi":"GET /v3/currencies/{currencyCode}/limits","href":"/api-reference/widget/getcurrencylimits"},{"title":"Get Crypto network fees","openapi":"GET /v3/currencies/network_fees","href":"/api-reference/widget/getnetworkfees"},{"title":"Get Buy transaction","openapi":"GET /v1/transactions/{transactionId}","href":"/api-reference/widget/getbuytransaction"},{"title":"List Buy transactions","openapi":"GET /v1/transactions","href":"/api-reference/widget/getbuytransactions"},{"title":"Get Buy transaction by External identifier","openapi":"GET /v1/transactions/ext/{externalTransactionId}","href":"/api-reference/widget/getbuytransactionbyexternalid"}]},{"group":"Off-ramp","pages":[{"title":"Get Sell quote","openapi":"GET /v3/currencies/{currencyCode}/sell_quote","href":"/api-reference/widget/getsellquote"},{"title":"Get Sell transaction","openapi":"GET /v3/sell_transactions/{transactionId}","href":"/api-reference/widget/getselltransaction"},{"title":"List Sell transactions","openapi":"GET /v3/sell_transactions","href":"/api-reference/widget/getselltransactions"},{"title":"Get Sell transaction by External identifier","openapi":"GET /v3/sell_transactions/ext/{externalTransactionId}","href":"/api-reference/widget/getselltransactionbyexternalid"},{"title":"Cancel Sell transaction","openapi":"DELETE /v3/sell_transactions/{transactionId}","href":"/api-reference/widget/cancelselltransaction"},{"title":"Cancel Sell transaction by externalId","openapi":"DELETE /v3/sell_transactions/ext/{transactionId}","href":"/api-reference/widget/webhooks/cancelselltransactionbyexternalid"}]},{"group":"Data","pages":[{"title":"List supported countries","openapi":"GET /v3/countries","href":"/api-reference/widget/getcountries"},{"title":"List supported currencies","openapi":"GET /v3/currencies","href":"/api-reference/widget/getcurrencies"},{"title":"List currencies (v4)","openapi":"GET /v4/currencies","href":"/api-reference/widget/getv4currencies"},{"title":"List available payment methods","openapi":"GET /payments/v1/payment-method-config","href":"/api-reference/widget/listpaymentmethods"},{"title":"Check Customer's IP address","openapi":"GET /v3/ip_address","href":"/api-reference/widget/getipaddress"}]},{"group":"DeFi tokens","pages":[{"title":"Get DeFi token","openapi":"GET /v1/defi/token","href":"/api-reference/widget/getdefitoken"},{"title":"List DeFi tokens","openapi":"GET /v1/defi/tokens","href":"/api-reference/widget/getdefitokens"}]},{"group":"Virtual Accounts","pages":[{"title":"Get virtual accounts","openapi":"GET /v1/virtual-accounts","href":"/api-reference/widget/getvirtualaccounts"},{"title":"Update on ramp virtual account","openapi":"PATCH /v1/virtual-accounts/onramp/{id}","href":"/api-reference/widget/updateonrampvirtualaccount"},{"title":"Get on ramp transactions","openapi":"GET /v1/virtual-accounts/transactions/onramp","href":"/api-reference/widget/getonramptransactions"},{"title":"Get on ramp transaction","openapi":"GET /v1/virtual-accounts/transactions/onramp/{transactionId}","href":"/api-reference/widget/getonramptransaction"},{"title":"Get off ramp transactions","openapi":"GET /v1/virtual-accounts/transactions/offramp","href":"/api-reference/widget/getofframptransactions"},{"title":"Get off ramp transaction","openapi":"GET /v1/virtual-accounts/transactions/offramp/{transactionId}","href":"/api-reference/widget/getofframptransaction"}]},{"group":"Webhooks","pages":[{"title":"Overview","href":"/api-reference/widget/webhooks/overview"},{"title":"Request signing","href":"/api-reference/widget/webhooks/signature"},{"group":"Buy","pages":[{"title":"transaction_created","openapi":"api-reference/widget/webhooks.openapi.json webhook transaction_created","href":"/api-reference/widget/webhooks/transaction-created"},{"title":"transaction_updated","openapi":"api-reference/widget/webhooks.openapi.json webhook transaction_updated","href":"/api-reference/widget/webhooks/transaction-updated"},{"title":"transaction_failed","openapi":"api-reference/widget/webhooks.openapi.json webhook transaction_failed","href":"/api-reference/widget/webhooks/transaction-failed"}]},{"group":"Sell","pages":[{"title":"sell_transaction_created","openapi":"api-reference/widget/webhooks.openapi.json webhook sell_transaction_created","href":"/api-reference/widget/webhooks/sell-transaction-created"},{"title":"sell_transaction_updated","openapi":"api-reference/widget/webhooks.openapi.json webhook sell_transaction_updated","href":"/api-reference/widget/webhooks/sell-transaction-updated"},{"title":"sell_transaction_failed","openapi":"api-reference/widget/webhooks.openapi.json webhook sell_transaction_failed","href":"/api-reference/widget/webhooks/sell-transaction-failed"},{"title":"sell_transaction_requote_required","openapi":"api-reference/widget/webhooks.openapi.json webhook sell_transaction_requote_required","href":"/api-reference/widget/webhooks/sell-transaction-requote-required"}]},{"group":"Identity","pages":[{"title":"identity_check_updated","openapi":"api-reference/widget/webhooks.openapi.json webhook identity_check_updated","href":"/api-reference/widget/webhooks/identity-check-updated"}]},{"group":"Virtual accounts","pages":[{"title":"virtual_account_status_updated","openapi":"api-reference/widget/webhooks.openapi.json webhook virtual_account_status_updated","href":"/api-reference/widget/webhooks/virtual-account-status-updated"},{"title":"virtual_account_transaction_status_updated","openapi":"api-reference/widget/webhooks.openapi.json webhook virtual_account_transaction_status_updated","href":"/api-reference/widget/webhooks/virtual-account-transaction-status-updated"}]}]}]}]}]},"basePath":"","title":"Get a quote - MoonPay Developer Docs","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"]}