{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {
"code": "5034",
"message": "Digital currency and blockchain combination is restricted for customer's country"
},
"timestamp": "2026-08-14T09:41:22.482+00:00"
}
{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {
"code": "5034",
"message": "Digital currency and blockchain combination is restricted for customer's country"
},
"timestamp": "2026-08-14T09:41:22.482+00:00"
}
{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {
"code": "5034",
"message": "Digital currency and blockchain combination is restricted for customer's country"
},
"timestamp": "2026-08-14T09:41:22.482+00:00"
}
{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {
"code": "5034",
"message": "Digital currency and blockchain combination is restricted for customer's country"
},
"timestamp": "2026-08-14T09:41:22.482+00:00"
}
Headless
Create a headless onramp order
Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails:
ACH/SEPA/PIX → bank-transfer details to display.
CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE.
STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear.
MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: <sessionToken>: on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event’s validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).
Raw provider receiving-bank details (untyped passthrough). Present for bank-transfer methods when the provider returns them; carries fields that have no typed home on paymentMethodResponseDetails (e.g. beneficiary/company name, bank name, address). Omitted when empty.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Meld","colors":{"primary":"#000000","light":"#333333","dark":"#000000"},"logo":{"light":"https://mintcdn.com/meld-e276f676/9EVVQ1Ona28SP_qw/logo/light.svg?fit=max\u0026auto=format\u0026n=9EVVQ1Ona28SP_qw\u0026q=85\u0026s=6a498429bac268f91120055053a14593","dark":"https://mintcdn.com/meld-e276f676/9EVVQ1Ona28SP_qw/logo/dark.svg?fit=max\u0026auto=format\u0026n=9EVVQ1Ona28SP_qw\u0026q=85\u0026s=db79e8d4d4ddeb3ce23be15e159cc5b6"},"favicon":"https://mintcdn.com/meld-e276f676/hUvLlcIJC-ZfeJZm/favicon.svg?fit=max\u0026auto=format\u0026n=hUvLlcIJC-ZfeJZm\u0026q=85\u0026s=1d361599ebecc87def220cc278fbb12f","api":{"examples":{"defaults":"required","prefill":true}},"appearance":{"default":"light"},"navbar":{"links":[{"href":"https://www.meld.io/coverage","label":"Coverage"},{"href":"mailto:support@meld.io","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/meldio"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"meld-e276f676","hasAudioNarration":false,"actualSubdomain":"meld-e276f676","customDomains":["docs.meld.io"],"gitSource":{"type":"github","owner":"meldeng","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad7b3faa5f82acf6a8cac34","collectionId":"ca2d4ce5-06ba-426e-825c-9569d8b8c355","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad7b3faa5f82acf6a8cac34"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1a199f8179dd80879b5db","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":194},{"language":"default","tag":"Documentation","count":150},{"language":"default","tag":"Bank Linking","count":149},{"language":"default","tag":"Stablecoins \u0026 Digital Assets","count":52},{"language":"default","tag":"Partner Details","count":37},{"language":"default","tag":"Payments","count":30},{"language":"default","tag":"Transactions","count":27},{"language":"default","tag":"Service Providers","count":27},{"language":"default","tag":"Service Provider","count":27},{"language":"default","tag":"Crypto","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/crypto/headless/crypto-order-headless-onramp-create","slug":"/api-reference/crypto/headless/crypto-order-headless-onramp-create","pageMetadata":{"title":"Create a headless onramp order","description":"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails:\n\n- ACH/SEPA/PIX → bank-transfer details to display.\n- CREDIT_DEBIT_CARD → a provider-hosted widget, or `NativeSdkOrder` when renderMode=SDK_NATIVE.\n- STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one `NativeSdkOrder` shape; `paymentMethodType` selects the method. `destinationNetworkCode` and `X-Idempotency-Key` are required. Stripe remains disabled until rollout gates clear.\n- MERCURYO + APPLE_PAY → native (non-widget) flow: a `sessionToken` (JWT) + `merchantTransactionId`. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header `X-Crypto-Session-Token: \u003csessionToken>`: on `onvalidatemerchant` call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event's validationURL; on `onpaymentauthorized` call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the `merchantTransactionId` from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).","deprecated":null,"version":null,"sidebarTitle":"Crypto order headless onramp create","openapi":"/openapi/crypto-20260203.json post /crypto/order/headless/onramp","href":"/api-reference/crypto/headless/crypto-order-headless-onramp-create","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"ACH/SEPA/PIX → bank-transfer details to display.\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"CREDIT_DEBIT_CARD → a provider-hosted widget, or \", _jsx(_components.code, {\n children: \"NativeSdkOrder\"\n }), \" when renderMode=SDK_NATIVE.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one \", _jsx(_components.code, {\n children: \"NativeSdkOrder\"\n }), \" shape; \", _jsx(_components.code, {\n children: \"paymentMethodType\"\n }), \" selects the method. \", _jsx(_components.code, {\n children: \"destinationNetworkCode\"\n }), \" and \", _jsx(_components.code, {\n children: \"X-Idempotency-Key\"\n }), \" are required. Stripe remains disabled until rollout gates clear.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"MERCURYO + APPLE_PAY → native (non-widget) flow: a \", _jsx(_components.code, {\n children: \"sessionToken\"\n }), \" (JWT) + \", _jsx(_components.code, {\n children: \"merchantTransactionId\"\n }), \". No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header \", _jsx(_components.code, {\n children: \"X-Crypto-Session-Token: \u003csessionToken>\"\n }), \": on \", _jsx(_components.code, {\n children: \"onvalidatemerchant\"\n }), \" call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event’s validationURL; on \", _jsx(_components.code, {\n children: \"onpaymentauthorized\"\n }), \" call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the \", _jsx(_components.code, {\n children: \"merchantTransactionId\"\n }), \" from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a headless onramp order","description":"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails:\n\n- ACH/SEPA/PIX → bank-transfer details to display.\n- CREDIT_DEBIT_CARD → a provider-hosted widget, or `NativeSdkOrder` when renderMode=SDK_NATIVE.\n- STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one `NativeSdkOrder` shape; `paymentMethodType` selects the method. `destinationNetworkCode` and `X-Idempotency-Key` are required. Stripe remains disabled until rollout gates clear.\n- MERCURYO + APPLE_PAY → native (non-widget) flow: a `sessionToken` (JWT) + `merchantTransactionId`. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header `X-Crypto-Session-Token: \u003csessionToken>`: on `onvalidatemerchant` call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event's validationURL; on `onpaymentauthorized` call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the `merchantTransactionId` from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).","deprecated":null,"version":null,"sidebarTitle":"Crypto order headless onramp create","openapi":"/openapi/crypto-20260203.json post /crypto/order/headless/onramp","href":"/api-reference/crypto/headless/crypto-order-headless-onramp-create","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Headless"],"summary":"Create a headless onramp order","description":"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails:\n\n- ACH/SEPA/PIX → bank-transfer details to display.\n- CREDIT_DEBIT_CARD → a provider-hosted widget, or `NativeSdkOrder` when renderMode=SDK_NATIVE.\n- STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one `NativeSdkOrder` shape; `paymentMethodType` selects the method. `destinationNetworkCode` and `X-Idempotency-Key` are required. Stripe remains disabled until rollout gates clear.\n- MERCURYO + APPLE_PAY → native (non-widget) flow: a `sessionToken` (JWT) + `merchantTransactionId`. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header `X-Crypto-Session-Token: \u003csessionToken>`: on `onvalidatemerchant` call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event's validationURL; on `onpaymentauthorized` call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the `merchantTransactionId` from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).","operationId":"/crypto-order-headless-onramp-create","parameters":["453bcde3-fed1-430b-8590-1bff3f7ad95f","7085e12c-1033-4d2b-910d-3a44dc03e45d"],"requestBody":"47175ded-177d-42ff-9e56-e24cafc71ae0","responses":{"201":"c619de82-bcaf-4e21-a97b-8476fc73ec7a","400":"b9cebc25-7b3e-4e6d-a69c-fdff50ce39ac","401":"4f47f638-9c78-49a0-ba9f-022854887e48","403":"c2bc1af7-d1ef-43c5-8e86-59e934869a0c","500":"402ab234-238c-47c9-adac-ae9729d85cf5"},"security":["4a19872c-b8b7-4db5-9b8b-03794bde794b"],"x-mint":{"href":"/api-reference/crypto/headless/crypto-order-headless-onramp-create"},"method":"post","type":"path","servers":["282001ea-13d5-49ca-bc5a-8393fd4aa385","22c7056e-5256-49d3-8e7b-2aaedaad6f52"],"path":"/crypto/order/headless/onramp","baseUrlOptions":["https://api-sb.meld.io","https://api.meld.io"],"title":"Create a headless onramp order","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.countryCode":"US","body.destinationCurrencyCode":"USDC","body.destinationWalletAddress":"\u003cstring>","body.paymentMethodType":"CREDIT_DEBIT_CARD","body.serviceProvider":"NOAH","body.sourceAmount":200,"body.sourceCurrencyCode":"USD"}]},"dependencies":{"parameters":{"453bcde3-fed1-430b-8590-1bff3f7ad95f":{"name":"Meld-Version","in":"header","description":"Dated API version to use for this request, e.g. `2026-02-03`.","required":false,"schema":{"type":"string","example":"2026-02-03","isRequired":false,"description":"Dated API version to use for this request, e.g. `2026-02-03`.","uniqueKey":"","typeLabel":"string"}},"7085e12c-1033-4d2b-910d-3a44dc03e45d":{"name":"X-Idempotency-Key","in":"header","required":false,"schema":{"type":"string","format":"uuid","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request to create a headless onramp order","properties":{"countryCode":{"type":"string","description":"Country code (ISO 3166-1 alpha-2)","example":"US","minLength":1,"isRequired":true,"uniqueKey":"countryCode","typeLabel":"string"},"destinationCurrencyCode":{"type":"string","description":"Destination cryptocurrency code","example":"USDC","minLength":1,"isRequired":true,"uniqueKey":"destinationCurrencyCode","typeLabel":"string"},"destinationWalletAddress":{"type":"string","description":"Wallet address to receive the cryptocurrency","minLength":1,"isRequired":true,"uniqueKey":"destinationWalletAddress","typeLabel":"string"},"paymentMethodType":{"type":"string","description":"Payment method type","enum":["CREDIT_DEBIT_CARD","APPLE_PAY","ACH","SEPA","PIX","MOBILE_MONEY"],"isRequired":true,"uniqueKey":"paymentMethodType","typeLabel":"enum\u003cstring>"},"serviceProvider":{"type":"string","description":"Service provider to use for the order","enum":["NOAH","DUENETWORK","BRALE","YELLOWCARD","MERCURYO"],"example":"NOAH","isRequired":true,"uniqueKey":"serviceProvider","typeLabel":"enum\u003cstring>"},"sourceAmount":{"type":"number","description":"Source amount","example":200,"minimum":0,"isRequired":true,"uniqueKey":"sourceAmount","typeLabel":"number"},"sourceCurrencyCode":{"type":"string","description":"Source currency code (ISO 4217)","example":"USD","minLength":1,"isRequired":true,"uniqueKey":"sourceCurrencyCode","typeLabel":"string"},"clientIpAddress":{"type":"string","description":"The end-user's IP address. Required by some service providers.","uniqueKey":"clientIpAddress","typeLabel":"string"},"customerId":{"type":"string","description":"Meld customer id (one of customerId / externalCustomerId is required)","uniqueKey":"customerId","typeLabel":"string"},"customerPhoneNumber":{"type":"string","description":"Customer phone number — required for MOBILE_MONEY","uniqueKey":"customerPhoneNumber","typeLabel":"string"},"externalCustomerId":{"type":"string","description":"Caller's external customer id (one of customerId / externalCustomerId is required)","uniqueKey":"externalCustomerId","typeLabel":"string"},"externalOrderId":{"type":"string","description":"Caller's reference for the order; unique per account when provided","uniqueKey":"externalOrderId","typeLabel":"string"},"providerData":{"type":"object","title":"YellowcardData","description":"Provider-specific extension; subtype keyed by serviceProvider","required":["serviceProvider"],"properties":{"serviceProvider":{"type":"string","isRequired":true,"uniqueKey":"providerData.serviceProvider","typeLabel":"string"},"subaccountCustomerId":{"type":"string","description":"Optional Meld customer id used to track the business sub-account this transaction belongs to when multiple businesses operate under one Meld account.","uniqueKey":"providerData.subaccountCustomerId","typeLabel":"string"},"externalSubaccountCustomerId":{"type":"string","description":"Optional external identifier for the sub-account customer this transaction belongs to. Used for tracking when multiple businesses operate under one Meld account. A sub-account customer must be created first before it can be referenced.","uniqueKey":"providerData.externalSubaccountCustomerId","typeLabel":"string"}},"uniqueKey":"providerData","typeLabel":"YellowcardData · object"},"redirectUrl":{"type":"string","description":"Redirect URL — required for CARD/REDIRECT flows","uniqueKey":"redirectUrl","typeLabel":"string"}},"required":["countryCode","destinationCurrencyCode","destinationWalletAddress","paymentMethodType","serviceProvider","sourceAmount","sourceCurrencyCode"],"uniqueKey":"","typeLabel":"object"},"example":{"countryCode":"US","destinationCurrencyCode":"USDC","destinationWalletAddress":"\u003cstring>","paymentMethodType":"CREDIT_DEBIT_CARD","serviceProvider":"NOAH","sourceAmount":200,"sourceCurrencyCode":"USD"},"examples":{"Example":{"title":"Example","value":{"countryCode":"US","destinationCurrencyCode":"USDC","destinationWalletAddress":"\u003cstring>","paymentMethodType":"CREDIT_DEBIT_CARD","serviceProvider":"NOAH","sourceAmount":200,"sourceCurrencyCode":"USD"}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"c619de82-bcaf-4e21-a97b-8476fc73ec7a":{"description":"Headless order created","content":{"*/*":{"schema":{"type":"object","description":"Headless onramp order response envelope","properties":{"customerId":{"type":"string","description":"Meld customer id","uniqueKey":"customerId","typeLabel":"string"},"externalCustomerId":{"type":"string","description":"Caller's external customer id","uniqueKey":"externalCustomerId","typeLabel":"string"},"externalOrderId":{"type":"string","description":"Caller's external order id","uniqueKey":"externalOrderId","typeLabel":"string"},"id":{"type":"string","description":"Unique order ID for tracking the onramp order","uniqueKey":"id","typeLabel":"string"},"payload":{"type":"object","description":"Echo of the integrator's request payload for this order","properties":{"countryCode":{"type":"string","description":"Country code","uniqueKey":"payload.countryCode","typeLabel":"string"},"customerId":{"type":"string","description":"Meld customer id","uniqueKey":"payload.customerId","typeLabel":"string"},"customerPhoneNumber":{"type":"string","description":"Customer phone number","uniqueKey":"payload.customerPhoneNumber","typeLabel":"string"},"destinationCurrencyCode":{"type":"string","description":"Destination cryptocurrency code","uniqueKey":"payload.destinationCurrencyCode","typeLabel":"string"},"destinationWalletAddress":{"type":"string","description":"Destination wallet address","uniqueKey":"payload.destinationWalletAddress","typeLabel":"string"},"externalCustomerId":{"type":"string","description":"Caller's external customer id","uniqueKey":"payload.externalCustomerId","typeLabel":"string"},"externalOrderId":{"type":"string","description":"Caller's external order id","uniqueKey":"payload.externalOrderId","typeLabel":"string"},"paymentMethodType":{"type":"string","description":"Requested payment method type","enum":["CREDIT_DEBIT_CARD","APPLE_PAY","ACH","SEPA","PIX","MOBILE_MONEY"],"uniqueKey":"payload.paymentMethodType","typeLabel":"enum\u003cstring>"},"providerData":{"type":"object","title":"YellowcardData","description":"Provider-specific request data","required":["serviceProvider"],"properties":{"serviceProvider":{"type":"string","isRequired":true,"uniqueKey":"payload.providerData.serviceProvider","typeLabel":"string"},"subaccountCustomerId":{"type":"string","description":"Optional Meld customer id used to track the business sub-account this transaction belongs to when multiple businesses operate under one Meld account.","uniqueKey":"payload.providerData.subaccountCustomerId","typeLabel":"string"},"externalSubaccountCustomerId":{"type":"string","description":"Optional external identifier for the sub-account customer this transaction belongs to. Used for tracking when multiple businesses operate under one Meld account. A sub-account customer must be created first before it can be referenced.","uniqueKey":"payload.providerData.externalSubaccountCustomerId","typeLabel":"string"}},"uniqueKey":"payload.providerData","typeLabel":"YellowcardData · object"},"redirectUrl":{"type":"string","description":"Redirect URL","uniqueKey":"payload.redirectUrl","typeLabel":"string"},"serviceProvider":{"type":"string","description":"Service provider used for this order","enum":["NOAH","DUENETWORK","BRALE","YELLOWCARD","MERCURYO"],"example":"NOAH","uniqueKey":"payload.serviceProvider","typeLabel":"enum\u003cstring>"},"sourceAmount":{"type":"number","description":"Source amount in fiat currency","uniqueKey":"payload.sourceAmount","typeLabel":"number"},"sourceCurrencyCode":{"type":"string","description":"Source (fiat) currency code","uniqueKey":"payload.sourceCurrencyCode","typeLabel":"string"}},"uniqueKey":"payload","typeLabel":"object"},"paymentMethodResponseDetails":{"oneOf":[{"type":"object","title":"ApplePayOrder","description":"Method-specific response payload","properties":{"sessionToken":{"type":"string","description":"Session JWT used to authenticate the /crypto/session/* Apple Pay endpoints","uniqueKey":"paymentMethodResponseDetails.oneOf.0.sessionToken","typeLabel":"string"},"merchantTransactionId":{"type":"string","description":"Merchant transaction id to pass into /apple-pay/process; equals the session id","uniqueKey":"paymentMethodResponseDetails.oneOf.0.merchantTransactionId","typeLabel":"string"}},"uniqueKey":"paymentMethodResponseDetails.oneOf.0","typeLabel":"ApplePayOrder · object"},{"type":"object","title":"BankTransferOrder","description":"Method-specific response payload","properties":{"accountNumber":{"type":"string","description":"Bank account number; populated for ACH","uniqueKey":"paymentMethodResponseDetails.oneOf.1.accountNumber","typeLabel":"string"},"routingNumber":{"type":"string","description":"Bank routing number; populated for ACH","uniqueKey":"paymentMethodResponseDetails.oneOf.1.routingNumber","typeLabel":"string"},"iban":{"type":"string","description":"IBAN; populated for SEPA","uniqueKey":"paymentMethodResponseDetails.oneOf.1.iban","typeLabel":"string"},"bic":{"type":"string","description":"BIC / SWIFT code; populated for SEPA and wire","uniqueKey":"paymentMethodResponseDetails.oneOf.1.bic","typeLabel":"string"},"pixKey":{"type":"string","description":"PIX key; populated for PIX","uniqueKey":"paymentMethodResponseDetails.oneOf.1.pixKey","typeLabel":"string"},"mobileMoneyReference":{"type":"string","description":"Mobile money reference; populated for MOBILE_MONEY","uniqueKey":"paymentMethodResponseDetails.oneOf.1.mobileMoneyReference","typeLabel":"string"},"paymentReference":{"type":"string","description":"Payment reference the payer must quote on the incoming bank transfer so the provider can correlate the inbound funds to this order. For SEPA (Due) this is the transfer memo. Populated only when the provider issues the reference at order-creation time; null otherwise.","uniqueKey":"paymentMethodResponseDetails.oneOf.1.paymentReference","typeLabel":"string"}},"uniqueKey":"paymentMethodResponseDetails.oneOf.1","typeLabel":"BankTransferOrder · object"},{"type":"object","title":"CardOrder","description":"Method-specific response payload","properties":{"serviceProviderWidgetUrl":{"type":"string","description":"Provider-hosted widget URL","uniqueKey":"paymentMethodResponseDetails.oneOf.2.serviceProviderWidgetUrl","typeLabel":"string"},"renderMode":{"type":"string","description":"Render mode for the card payment surface","enum":["IFRAME","REDIRECT"],"uniqueKey":"paymentMethodResponseDetails.oneOf.2.renderMode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"paymentMethodResponseDetails.oneOf.2","typeLabel":"CardOrder · object"}],"uniqueKey":"paymentMethodResponseDetails","typeLabel":"ApplePayOrder · object | BankTransferOrder · object | CardOrder · object"},"paymentMethodType":{"type":"string","description":"Payment method type for this order","enum":["CREDIT_DEBIT_CARD","APPLE_PAY","ACH","SEPA","PIX","MOBILE_MONEY"],"uniqueKey":"paymentMethodType","typeLabel":"enum\u003cstring>"},"serviceProviderDetails":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"serviceProviderDetails.additionalProperties","typeLabel":"any"},"description":"Raw provider receiving-bank details (untyped passthrough). Present for bank-transfer methods when the provider returns them; carries fields that have no typed home on paymentMethodResponseDetails (e.g. beneficiary/company name, bank name, address). Omitted when empty.","uniqueKey":"serviceProviderDetails","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customerId":"\u003cstring>","externalCustomerId":"\u003cstring>","externalOrderId":"\u003cstring>","id":"\u003cstring>","payload":{"countryCode":"\u003cstring>","customerId":"\u003cstring>","customerPhoneNumber":"\u003cstring>","destinationCurrencyCode":"\u003cstring>","destinationWalletAddress":"\u003cstring>","externalCustomerId":"\u003cstring>","externalOrderId":"\u003cstring>","paymentMethodType":"CREDIT_DEBIT_CARD","providerData":{"serviceProvider":"\u003cstring>","subaccountCustomerId":"\u003cstring>","externalSubaccountCustomerId":"\u003cstring>"},"redirectUrl":"\u003cstring>","serviceProvider":"NOAH","sourceAmount":123,"sourceCurrencyCode":"\u003cstring>"},"paymentMethodResponseDetails":{"sessionToken":"\u003cstring>","merchantTransactionId":"\u003cstring>"},"paymentMethodType":"CREDIT_DEBIT_CARD","serviceProviderDetails":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"b9cebc25-7b3e-4e6d-a69c-fdff50ce39ac":{"description":"Bad Request : check request values and format","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable identifier for the failure.","uniqueKey":"code","typeLabel":"string"},"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"description":"What was rejected, one entry per field or rule.","uniqueKey":"errors","typeLabel":"string[]"},"message":{"type":"string","description":"A description of what went wrong.","uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Quote this when asking Meld about a specific failure.","uniqueKey":"requestId","typeLabel":"string"},"serviceProviderDetails":{"type":"object","properties":{"code":{"type":"string","description":"The provider's own error code, when it sent one.","uniqueKey":"serviceProviderDetails.code","typeLabel":"string"},"message":{"type":"string","description":"The provider's own message.","uniqueKey":"serviceProviderDetails.message","typeLabel":"string"}},"example":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"description":"The provider's own error detail, when the failure came from a service provider. Usually `code` and `message`; a few providers pass their own body through, so other keys can appear.","additionalProperties":{"oneOf":[{}],"uniqueKey":"serviceProviderDetails.additionalProperties","typeLabel":"any"},"uniqueKey":"serviceProviderDetails","typeLabel":"object"},"timestamp":{"type":"string","format":"date-time","description":"When the failure occurred. ISO 8601, UTC (`YYYY-MM-DDThh:mm:ss.sss+00:00`).","example":"2026-08-14T09:41:22.482+00:00","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","errors":["\u003cstring>"],"message":"\u003cstring>","requestId":"\u003cstring>","serviceProviderDetails":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"timestamp":"2026-08-14T09:41:22.482+00:00"}}},"exampleType":"generated"}},"exampleType":"generated"},"4f47f638-9c78-49a0-ba9f-022854887e48":{"description":"Invalid credentials","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable identifier for the failure.","uniqueKey":"code","typeLabel":"string"},"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"description":"What was rejected, one entry per field or rule.","uniqueKey":"errors","typeLabel":"string[]"},"message":{"type":"string","description":"A description of what went wrong.","uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Quote this when asking Meld about a specific failure.","uniqueKey":"requestId","typeLabel":"string"},"serviceProviderDetails":{"type":"object","properties":{"code":{"type":"string","description":"The provider's own error code, when it sent one.","uniqueKey":"serviceProviderDetails.code","typeLabel":"string"},"message":{"type":"string","description":"The provider's own message.","uniqueKey":"serviceProviderDetails.message","typeLabel":"string"}},"example":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"description":"The provider's own error detail, when the failure came from a service provider. Usually `code` and `message`; a few providers pass their own body through, so other keys can appear.","additionalProperties":{"oneOf":[{}],"uniqueKey":"serviceProviderDetails.additionalProperties","typeLabel":"any"},"uniqueKey":"serviceProviderDetails","typeLabel":"object"},"timestamp":{"type":"string","format":"date-time","description":"When the failure occurred. ISO 8601, UTC (`YYYY-MM-DDThh:mm:ss.sss+00:00`).","example":"2026-08-14T09:41:22.482+00:00","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","errors":["\u003cstring>"],"message":"\u003cstring>","requestId":"\u003cstring>","serviceProviderDetails":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"timestamp":"2026-08-14T09:41:22.482+00:00"}}},"exampleType":"generated"}},"exampleType":"generated"},"c2bc1af7-d1ef-43c5-8e86-59e934869a0c":{"description":"Unauthenticated or authenticated with insufficient access","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable identifier for the failure.","uniqueKey":"code","typeLabel":"string"},"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"description":"What was rejected, one entry per field or rule.","uniqueKey":"errors","typeLabel":"string[]"},"message":{"type":"string","description":"A description of what went wrong.","uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Quote this when asking Meld about a specific failure.","uniqueKey":"requestId","typeLabel":"string"},"serviceProviderDetails":{"type":"object","properties":{"code":{"type":"string","description":"The provider's own error code, when it sent one.","uniqueKey":"serviceProviderDetails.code","typeLabel":"string"},"message":{"type":"string","description":"The provider's own message.","uniqueKey":"serviceProviderDetails.message","typeLabel":"string"}},"example":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"description":"The provider's own error detail, when the failure came from a service provider. Usually `code` and `message`; a few providers pass their own body through, so other keys can appear.","additionalProperties":{"oneOf":[{}],"uniqueKey":"serviceProviderDetails.additionalProperties","typeLabel":"any"},"uniqueKey":"serviceProviderDetails","typeLabel":"object"},"timestamp":{"type":"string","format":"date-time","description":"When the failure occurred. ISO 8601, UTC (`YYYY-MM-DDThh:mm:ss.sss+00:00`).","example":"2026-08-14T09:41:22.482+00:00","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","errors":["\u003cstring>"],"message":"\u003cstring>","requestId":"\u003cstring>","serviceProviderDetails":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"timestamp":"2026-08-14T09:41:22.482+00:00"}}},"exampleType":"generated"}},"exampleType":"generated"},"402ab234-238c-47c9-adac-ae9729d85cf5":{"description":"Internal Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable identifier for the failure.","uniqueKey":"code","typeLabel":"string"},"errors":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX]","typeLabel":"string"},"description":"What was rejected, one entry per field or rule.","uniqueKey":"errors","typeLabel":"string[]"},"message":{"type":"string","description":"A description of what went wrong.","uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"Quote this when asking Meld about a specific failure.","uniqueKey":"requestId","typeLabel":"string"},"serviceProviderDetails":{"type":"object","properties":{"code":{"type":"string","description":"The provider's own error code, when it sent one.","uniqueKey":"serviceProviderDetails.code","typeLabel":"string"},"message":{"type":"string","description":"The provider's own message.","uniqueKey":"serviceProviderDetails.message","typeLabel":"string"}},"example":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"description":"The provider's own error detail, when the failure came from a service provider. Usually `code` and `message`; a few providers pass their own body through, so other keys can appear.","additionalProperties":{"oneOf":[{}],"uniqueKey":"serviceProviderDetails.additionalProperties","typeLabel":"any"},"uniqueKey":"serviceProviderDetails","typeLabel":"object"},"timestamp":{"type":"string","format":"date-time","description":"When the failure occurred. ISO 8601, UTC (`YYYY-MM-DDThh:mm:ss.sss+00:00`).","example":"2026-08-14T09:41:22.482+00:00","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","errors":["\u003cstring>"],"message":"\u003cstring>","requestId":"\u003cstring>","serviceProviderDetails":{"code":"5034","message":"Digital currency and blockchain combination is restricted for customer's country"},"timestamp":"2026-08-14T09:41:22.482+00:00"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4a19872c-b8b7-4db5-9b8b-03794bde794b":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","x-default":"BASIC \u003cMeld API Key>","scopes":[]}}},"servers":{"282001ea-13d5-49ca-bc5a-8393fd4aa385":{"url":"https://api-sb.meld.io","description":"Meld API sandbox"},"22c7056e-5256-49d3-8e7b-2aaedaad6f52":{"url":"https://api.meld.io","description":"Meld API production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","x-default":"BASIC \u003cMeld API Key>","scopes":[]},"schema":{"title":"Authorization","type":"string","isRequired":true,"default":"BASIC \u003cMeld API Key>","typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/crypto-20260203.json"},"subdomain":"meld-e276f676","siteName":"Meld","title":"Create a headless onramp order - Meld","navMaps":{"firstHrefInVersion":{"2026-02-03":{"href":"/api-reference/crypto/headless/crypto-order-headless-onramp-create","matchLevel":0},"2025-03-04":{"href":"/api-reference/crypto/2025-03-04/retail-ramp/crypto-quote-get","matchLevel":2},"2023-12-19":{"href":"/api-reference/crypto/2023-12-19/retail-ramp/crypto-session-widget-create","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-09-18T16:25:05.622Z","originalFileLocation":"api-reference/crypto/headless/crypto-order-headless-onramp-create.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=\"light\"}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=\"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails: - ACH/SEPA/PIX → bank-transfer details to display. - CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE. - STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear. - MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: : on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event\u0026#x27;s validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Meld\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_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/meld-e276f676/VTnI9uBWWNTnirMq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a headless onramp order - Meld\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails: - ACH/SEPA/PIX → bank-transfer details to display. - CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE. - STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear. - MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: : on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event\u0026#x27;s validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Meld\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://meld-e276f676.mintlify.app/_mintlify/api/og/v2?division=Headless\u0026amp;title=Create+a+headless+onramp+order\u0026amp;description=Creates+a+headless+onramp+order.+Caller+passes+customer+%2B+provider+%2B+payment+method+and+receives+a+method-specific+payload+in+paymentMethodResponseDetails%3A%0A%0A-+A\u0026amp;theme=28c66332baab02857e320658\u0026amp;signature=d38d2347224f8435e5686f7e1c8796009a8f34104e6c07a9b1bb1d11a0b71a87\">\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=\"Create a headless onramp order - Meld\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails: - ACH/SEPA/PIX → bank-transfer details to display. - CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE. - STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear. - MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: : on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event\u0026#x27;s validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meld-e276f676.mintlify.app/_mintlify/api/og/v2?division=Headless\u0026amp;title=Create+a+headless+onramp+order\u0026amp;description=Creates+a+headless+onramp+order.+Caller+passes+customer+%2B+provider+%2B+payment+method+and+receives+a+method-specific+payload+in+paymentMethodResponseDetails%3A%0A%0A-+A\u0026amp;theme=28c66332baab02857e320658\u0026amp;signature=d38d2347224f8435e5686f7e1c8796009a8f34104e6c07a9b1bb1d11a0b71a87\">\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/meld-e276f676/VTnI9uBWWNTnirMq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Meld\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/crypto/headless/crypto-order-headless-onramp-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.meld.io/#organization\",\"name\":\"Meld\",\"url\":\"https://docs.meld.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/meld-e276f676/9EVVQ1Ona28SP_qw/logo/light.svg?fit=max\u0026auto=format\u0026n=9EVVQ1Ona28SP_qw\u0026q=85\u0026s=6a498429bac268f91120055053a14593\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.meld.io#website\",\"name\":\"Meld\",\"url\":\"https://docs.meld.io\",\"publisher\":{\"@id\":\"https://docs.meld.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create#webpage\",\"url\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create\",\"name\":\"Create a headless onramp order\",\"description\":\"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails: - ACH/SEPA/PIX → bank-transfer details to display. - CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE. - STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear. - MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: : on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event's validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\",\"dateModified\":\"2026-09-18T16:25:05.622Z\",\"isPartOf\":{\"@id\":\"https://docs.meld.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Crypto\",\"item\":\"https://docs.meld.io/api-reference/crypto/retail-ramp/crypto-quote-get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Headless\",\"item\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-offramp-create\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a headless onramp order\",\"item\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create#apireference\",\"headline\":\"Create a headless onramp order\",\"name\":\"Create a headless onramp order\",\"description\":\"Creates a headless onramp order. Caller passes customer + provider + payment method and receives a method-specific payload in paymentMethodResponseDetails: - ACH/SEPA/PIX → bank-transfer details to display. - CREDIT_DEBIT_CARD → a provider-hosted widget, or NativeSdkOrder when renderMode=SDK_NATIVE. - STRIPE + CREDIT_DEBIT_CARD/APPLE_PAY → one NativeSdkOrder shape; paymentMethodType selects the method. destinationNetworkCode and X-Idempotency-Key are required. Stripe remains disabled until rollout gates clear. - MERCURYO + APPLE_PAY → native (non-widget) flow: a sessionToken (JWT) + merchantTransactionId. No redirect URL. The caller renders the Apple Pay sheet itself (Safari/WebView via ApplePaySession) and drives these endpoints, authenticated with header X-Crypto-Session-Token: : on onvalidatemerchant call POST /crypto/session/mercuryo/apple-pay/validate-merchant with the event's validationURL; on onpaymentauthorized call POST /crypto/session/mercuryo/apple-pay/process with the Apple payToken + the merchantTransactionId from this response. The Mercuryo buy_token is fetched and stored server-side, so the caller never handles it. If native Apple Pay is unavailable for the route the call fails with INVALID_PAYMENT_METHOD (no redirect fallback).\",\"url\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.meld.io/api-reference/crypto/headless/crypto-order-headless-onramp-create#webpage\"},\"dateModified\":\"2026-09-18T16:25:05.622Z\",\"publisher\":{\"@id\":\"https://docs.meld.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.meld.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Meld\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Meld","nav":{"global":null,"versions":[{"version":"2026-02-03","default":true,"tag":"Latest","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/welcome/overview"}]},{"tab":"API Reference","groups":[{"group":"Crypto","pages":[{"group":"Retail Ramp","pages":[{"title":"Create a crypto quote","deprecated":null,"version":null,"sidebarTitle":"Crypto quote get","openapi":"/openapi/crypto-20260203.json post /payments/crypto/quote","href":"/api-reference/crypto/retail-ramp/crypto-quote-get"},{"title":"Create a crypto widget","deprecated":null,"version":null,"sidebarTitle":"Crypto session widget create","openapi":"/openapi/crypto-20260203.json post /crypto/session/widget","href":"/api-reference/crypto/retail-ramp/crypto-session-widget-create"},{"title":"Get transaction by id","deprecated":null,"version":null,"sidebarTitle":"Payments transactions get","openapi":"/openapi/crypto-20260203.json get /payments/transactions/{id}","href":"/api-reference/crypto/retail-ramp/payments-transactions-get"},{"title":"Search transactions","deprecated":null,"version":null,"sidebarTitle":"Payments transactions search","openapi":"/openapi/crypto-20260203.json get /payments/transactions","href":"/api-reference/crypto/retail-ramp/payments-transactions-search"},{"title":"Fetch a transaction from the provider (for offramp use)","deprecated":null,"version":null,"sidebarTitle":"Payments transactions sessions get","openapi":"/openapi/crypto-20260203.json get /payments/transactions/sessions/{sessionId}","href":"/api-reference/crypto/retail-ramp/payments-transactions-sessions-get"}]},{"group":"Headless","pages":[{"title":"Create a headless offramp order","deprecated":null,"version":null,"sidebarTitle":"Crypto order headless offramp create","openapi":"/openapi/crypto-20260203.json post /crypto/order/headless/offramp","href":"/api-reference/crypto/headless/crypto-order-headless-offramp-create"},{"title":"Create or retrieve standing virtual-account onramp deposit instructions","description":"Provisions a standing virtual bank account for recurring onramp deposits, or returns the existing instructions when the same customer, provider, payment method, currency pair, and destination wallet were already set up.","deprecated":null,"version":null,"sidebarTitle":"Payments virtual account deposit instructions create","openapi":"/openapi/crypto-20260203.json post /payments/virtual-account/deposit-instructions","href":"/api-reference/crypto/headless/payments-virtual-account-deposit-instructions-create"},{"title":"Create a headless onramp order","deprecated":null,"version":null,"sidebarTitle":"Crypto order headless onramp create","openapi":"/openapi/crypto-20260203.json post /crypto/order/headless/onramp","href":"/api-reference/crypto/headless/crypto-order-headless-onramp-create"},{"title":"Get a provider's verification requirements","description":"Returns the provider's customer-verification requirements and legal agreements. Pass customerId to additionally get the customer's current (advisory) per-field verification status. Pass the order you intend to create — payment method, amount and corridor — to additionally get the provider's own outstanding KYC details: those are jurisdiction-, amount- and method-dependent, so they can only be reported against a concrete intent.","deprecated":null,"version":null,"sidebarTitle":"Crypto onramp verification requirements get","openapi":"/openapi/crypto-20260203.json get /crypto/onramp/{serviceProvider}/requirements","href":"/api-reference/crypto/headless/crypto-onramp-verification-requirements-get"}]}]},{"group":"Network Partners","pages":[{"group":"Supported","pages":[{"title":"List supported countries","deprecated":null,"version":null,"sidebarTitle":"List supported countries","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/countries","href":"/api-reference/network-partners/supported/list-supported-countries"},{"title":"Search supported currencies","deprecated":null,"version":null,"sidebarTitle":"Search supported currencies","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/currencies","href":"/api-reference/network-partners/supported/search-supported-currencies"},{"title":"Search supported provider fiat limits","deprecated":null,"version":null,"sidebarTitle":"List supported fiat limits","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/fiat-limits","href":"/api-reference/network-partners/supported/list-supported-fiat-limits"},{"title":"Search supported provider KYC limits","deprecated":null,"version":null,"sidebarTitle":"List supported kyc limits","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/kyc-limits","href":"/api-reference/network-partners/supported/list-supported-kyc-limits"},{"title":"List live partners supporting a route","deprecated":null,"version":null,"sidebarTitle":"List supported partners","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/partners","href":"/api-reference/network-partners/supported/list-supported-partners"},{"title":"Search supported payment methods","deprecated":null,"version":null,"sidebarTitle":"List supported payment methods","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/payment-methods","href":"/api-reference/network-partners/supported/list-supported-payment-methods"},{"title":"Search payment method field requirements","deprecated":null,"version":null,"sidebarTitle":"Search payment method field requirements","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/payment-methods/requirements","href":"/api-reference/network-partners/supported/search-payment-method-field-requirements"},{"title":"List supported routes","deprecated":null,"version":null,"sidebarTitle":"Find supported routes","openapi":"/openapi/networkpartner-20260203.json get /network-partner/supported/routes/{category}/{countryCode}/{sourceCurrencyCode}/{destinationCurrencyCode}","href":"/api-reference/network-partners/supported/find-supported-routes"},{"title":"List country defaults","deprecated":null,"version":null,"sidebarTitle":"List country defaults","openapi":"/openapi/networkpartner-20260203.json get /network-partner/defaults","href":"/api-reference/network-partners/supported/list-country-defaults"},{"title":"List default currency limits","deprecated":null,"version":null,"sidebarTitle":"List default currency limits","openapi":"/openapi/networkpartner-20260203.json get /network-partner/defaults/limits","href":"/api-reference/network-partners/supported/list-default-currency-limits"},{"title":"Get default currency limits","deprecated":null,"version":null,"sidebarTitle":"Get default currency limit","openapi":"/openapi/networkpartner-20260203.json get /network-partner/defaults/limits/{currency}","href":"/api-reference/network-partners/supported/get-default-currency-limit"},{"title":"Get country defaults","deprecated":null,"version":null,"sidebarTitle":"Get country defaults","openapi":"/openapi/networkpartner-20260203.json get /network-partner/defaults/{country}/{category}","href":"/api-reference/network-partners/supported/get-country-defaults"}]}]},{"group":"Bank Linking","pages":[{"group":"Connect","pages":[{"title":"Create a connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connect create","openapi":"/openapi/banklinking-20260203.json post /bank-linking/connect/start","href":"/api-reference/bank-linking/connect/bank-linking-connect-create"},{"title":"Repair a connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connect repair","openapi":"/openapi/banklinking-20260203.json post /bank-linking/connect/repair","href":"/api-reference/bank-linking/connect/bank-linking-connect-repair"}]},{"group":"Connections","pages":[{"title":"Get an institution connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connections get","openapi":"/openapi/banklinking-20260203.json get /bank-linking/connections/{connectionId}","href":"/api-reference/bank-linking/connections/bank-linking-connections-get"},{"title":"Delete an institution connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connections delete","openapi":"/openapi/banklinking-20260203.json delete /bank-linking/connections/{connectionId}","href":"/api-reference/bank-linking/connections/bank-linking-connections-delete"},{"title":"Search institution connections","deprecated":null,"version":null,"sidebarTitle":"Bank linking connections search","openapi":"/openapi/banklinking-20260203.json get /bank-linking/connections","href":"/api-reference/bank-linking/connections/bank-linking-connections-search"},{"title":"Update a connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connection update","openapi":"/openapi/banklinking-20260203.json post /bank-linking/connections/{connectionId}/update","href":"/api-reference/bank-linking/connections/bank-linking-connection-update"},{"title":"Refresh accounts belonging to a connection","deprecated":null,"version":null,"sidebarTitle":"Bank linking connections refresh","openapi":"/openapi/banklinking-20260203.json post /bank-linking/connections/{connectionId}/refresh","href":"/api-reference/bank-linking/connections/bank-linking-connections-refresh"},{"title":"Import existing connections with a service provider","deprecated":null,"version":null,"sidebarTitle":"Bank linking connections import","openapi":"/openapi/banklinking-20260203.json post /bank-linking/connections/import","href":"/api-reference/bank-linking/connections/bank-linking-connections-import"}]},{"group":"Accounts","pages":[{"title":"Get a financial account","deprecated":null,"version":null,"sidebarTitle":"Bank linking accounts get","openapi":"/openapi/banklinking-20260203.json get /bank-linking/accounts/{financialAccountId}","href":"/api-reference/bank-linking/accounts/bank-linking-accounts-get"},{"title":"Search financial accounts","deprecated":null,"version":null,"sidebarTitle":"Bank linking accounts search","openapi":"/openapi/banklinking-20260203.json get /bank-linking/accounts","href":"/api-reference/bank-linking/accounts/bank-linking-accounts-search"},{"title":"Create processor token","deprecated":null,"version":null,"sidebarTitle":"Bank linking accounts create processor token","openapi":"/openapi/banklinking-20260203.json post /bank-linking/accounts/{financialAccountId}/processors/create-token","href":"/api-reference/bank-linking/accounts/bank-linking-accounts-create-processor-token"}]},{"group":"Transactions","pages":[{"title":"Get a financial account transaction","deprecated":null,"version":null,"sidebarTitle":"Bank linking transactions get","openapi":"/openapi/banklinking-20260203.json get /bank-linking/transactions/{transactionId}","href":"/api-reference/bank-linking/transactions/bank-linking-transactions-get"},{"title":"Search financial account transactions","deprecated":null,"version":null,"sidebarTitle":"Bank linking transactions search","openapi":"/openapi/banklinking-20260203.json get /bank-linking/transactions","href":"/api-reference/bank-linking/transactions/bank-linking-transactions-search"}]},{"group":"Investments","pages":[{"title":"Get a financial account investment holding","deprecated":null,"version":null,"sidebarTitle":"Bank linking investment holdings get","openapi":"/openapi/banklinking-20260203.json get /bank-linking/investments/holdings/{investmentHoldingId}","href":"/api-reference/bank-linking/investments/bank-linking-investment-holdings-get"},{"title":"Search financial account investment holdings","deprecated":null,"version":null,"sidebarTitle":"Bank linking investment holdings search","openapi":"/openapi/banklinking-20260203.json get /bank-linking/investments/holdings","href":"/api-reference/bank-linking/investments/bank-linking-investment-holdings-search"},{"title":"Get a financial account investment transaction","deprecated":null,"version":null,"sidebarTitle":"Bank linking investment transactions get","openapi":"/openapi/banklinking-20260203.json get /bank-linking/investments/transactions/{investmentTransactionId}","href":"/api-reference/bank-linking/investments/bank-linking-investment-transactions-get"},{"title":"Search financial account investment transactions","deprecated":null,"version":null,"sidebarTitle":"Bank linking investment transactions search","openapi":"/openapi/banklinking-20260203.json get /bank-linking/investments/transactions","href":"/api-reference/bank-linking/investments/bank-linking-investment-transactions-search"}]},{"group":"Institutions","pages":[{"title":"Get institution","deprecated":null,"version":null,"sidebarTitle":"Bank linking institutions get","openapi":"/openapi/banklinking-20260203.json get /institutions/{institutionId}","href":"/api-reference/bank-linking/institutions/bank-linking-institutions-get"},{"title":"Search institutions","deprecated":null,"version":null,"sidebarTitle":"Bank linking institutions search","openapi":"/openapi/banklinking-20260203.json get /institutions","href":"/api-reference/bank-linking/institutions/bank-linking-institutions-search"}]}]},{"group":"Payments","pages":[{"group":"Transactions","pages":[{"title":"Create a Meld payment token","deprecated":null,"version":null,"sidebarTitle":"Payment token post","openapi":"/openapi/payments-20260203.json post /payments/tokens","href":"/api-reference/payments/transactions/payment-token-post"},{"title":"Search transactions","deprecated":null,"version":null,"sidebarTitle":"Payments transactions search","openapi":"/openapi/payments-20260203.json get /payments/transactions","href":"/api-reference/payments/transactions/payments-transactions-search"},{"title":"Create a payment transaction","deprecated":null,"version":null,"sidebarTitle":"Payments transactions create","openapi":"/openapi/payments-20260203.json post /payments/transactions","href":"/api-reference/payments/transactions/payments-transactions-create"},{"title":"Capture a payment transaction","deprecated":null,"version":null,"sidebarTitle":"Payments transactions capture","openapi":"/openapi/payments-20260203.json post /payments/transactions/{id}/capture","href":"/api-reference/payments/transactions/payments-transactions-capture"},{"title":"Get transaction by id","deprecated":null,"version":null,"sidebarTitle":"Payments transactions get","openapi":"/openapi/payments-20260203.json get /payments/transactions/{id}","href":"/api-reference/payments/transactions/payments-transactions-get"},{"title":"Refund a payment transaction","deprecated":null,"version":null,"sidebarTitle":"Payments transactions refund","openapi":"/openapi/payments-20260203.json post /payments/transactions/{id}/refund","href":"/api-reference/payments/transactions/payments-transactions-refund"},{"title":"Create a payout transaction","deprecated":null,"version":null,"sidebarTitle":"Payouts transactions create","openapi":"/openapi/payments-20260203.json post /payments/transactions/payout","href":"/api-reference/payments/transactions/payouts-transactions-create"}]},{"group":"External Transactions","pages":[{"title":"Import an external payment transaction","deprecated":null,"version":null,"sidebarTitle":"Payments external transactions import","openapi":"/openapi/payments-20260203.json post /payments/external/import","href":"/api-reference/payments/external-transactions/payments-external-transactions-import"},{"title":"Refund an external payment transaction","deprecated":null,"version":null,"sidebarTitle":"Payments external transactions refund","openapi":"/openapi/payments-20260203.json post /payments/external/refund","href":"/api-reference/payments/external-transactions/payments-external-transactions-refund"}]},{"group":"Risk","pages":[{"title":"Create a risk analysis","deprecated":null,"version":null,"sidebarTitle":"Payments transactions risk analysis","openapi":"/openapi/payments-20260203.json post /payments/risk-analysis","href":"/api-reference/payments/risk/payments-transactions-risk-analysis"}]}]},{"group":"Customer","pages":[{"group":"Customers","pages":[{"title":"Search customers","deprecated":null,"version":null,"sidebarTitle":"Accounts customers search","openapi":"/openapi/customer-20260203.json get /accounts/customers","href":"/api-reference/customer/customers/accounts-customers-search"},{"title":"Create a new customer or retrieve a customer by its external id","deprecated":null,"version":null,"sidebarTitle":"Accounts customers create","openapi":"/openapi/customer-20260203.json post /accounts/customers","href":"/api-reference/customer/customers/accounts-customers-create"},{"title":"Delete a customer","deprecated":null,"version":null,"sidebarTitle":"Accounts customers delete","openapi":"/openapi/customer-20260203.json delete /accounts/customers/{customerId}","href":"/api-reference/customer/customers/accounts-customers-delete"},{"title":"Update a customer","deprecated":null,"version":null,"sidebarTitle":"Accounts customers update","openapi":"/openapi/customer-20260203.json patch /accounts/customers/{customerId}","href":"/api-reference/customer/customers/accounts-customers-update"},{"title":"Add an address to a customer","deprecated":null,"version":null,"sidebarTitle":"Accounts customers addresses create","openapi":"/openapi/customer-20260203.json post /accounts/customers/{customerId}/addresses","href":"/api-reference/customer/customers/accounts-customers-addresses-create"},{"title":"Initiate customer KYC","deprecated":null,"version":null,"sidebarTitle":"Accounts customers kyc initiate","openapi":"/openapi/customer-20260203.json post /accounts/customers/{customerId}/kyc/initiate","href":"/api-reference/customer/customers/accounts-customers-kyc-initiate"},{"title":"Update customer KYC","deprecated":null,"version":null,"sidebarTitle":"Accounts customers kyc update","openapi":"/openapi/customer-20260203.json patch /accounts/customers/{customerId}/kyc/initiate","href":"/api-reference/customer/customers/accounts-customers-kyc-update"},{"title":"List a customer's verification receipts","deprecated":null,"version":null,"sidebarTitle":"Accounts customers verifications search","openapi":"/openapi/customer-20260203.json get /accounts/customers/{customerId}/verifications","href":"/api-reference/customer/customers/accounts-customers-verifications-search"},{"title":"Send a verification code to a customer's email or phone","deprecated":null,"version":null,"sidebarTitle":"Accounts customers verifications create","openapi":"/openapi/customer-20260203.json post /accounts/customers/{customerId}/verifications","href":"/api-reference/customer/customers/accounts-customers-verifications-create"},{"title":"Confirm a verification with the code the customer received","deprecated":null,"version":null,"sidebarTitle":"Accounts customers verifications confirm","openapi":"/openapi/customer-20260203.json post /accounts/customers/{customerId}/verifications/{verificationId}/confirm","href":"/api-reference/customer/customers/accounts-customers-verifications-confirm"}]}]},{"group":"Service Providers","pages":[{"group":"Service Provider","pages":[{"title":"Search service providers","deprecated":true,"version":null,"sidebarTitle":"Service providers search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers","href":"/api-reference/service-providers/service-provider/service-providers-search"},{"title":"Search countries","deprecated":true,"version":null,"sidebarTitle":"Service providers properties country search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/properties/countries","href":"/api-reference/service-providers/service-provider/service-providers-properties-country-search"},{"title":"Search crypto currencies","deprecated":true,"version":null,"sidebarTitle":"Service providers properties crypto currency search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/properties/crypto-currencies","href":"/api-reference/service-providers/service-provider/service-providers-properties-crypto-currency-search"},{"title":"Search defaults by country","deprecated":true,"version":null,"sidebarTitle":"Service providers properties defaults by country search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/properties/defaults/by-country","href":"/api-reference/service-providers/service-provider/service-providers-properties-defaults-by-country-search"},{"title":"Search fiat currencies","deprecated":true,"version":null,"sidebarTitle":"Service providers properties fiat currency search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/properties/fiat-currencies","href":"/api-reference/service-providers/service-provider/service-providers-properties-fiat-currency-search"},{"title":"Search payment methods","deprecated":true,"version":null,"sidebarTitle":"Service providers properties payment method search","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/properties/payment-methods","href":"/api-reference/service-providers/service-provider/service-providers-properties-payment-method-search"},{"title":"Get crypto sell limits for crypto currencies","deprecated":true,"version":null,"sidebarTitle":"Service providers limits crypto currency sells get","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/limits/crypto-currency-sells","href":"/api-reference/service-providers/service-provider/service-providers-limits-crypto-currency-sells-get"},{"title":"Get crypto purchase limits for fiat currencies","deprecated":true,"version":null,"sidebarTitle":"Service providers limits fiat currency purchase get","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/limits/fiat-currency-purchases","href":"/api-reference/service-providers/service-provider/service-providers-limits-fiat-currency-purchase-get"},{"title":"Get KYC levels for fiat currencies","deprecated":true,"version":null,"sidebarTitle":"Service providers limits kyc fiat level get","openapi":"/openapi/serviceproviders-20260203.json get /service-providers/limits/kyc-fiat-levels","href":"/api-reference/service-providers/service-provider/service-providers-limits-kyc-fiat-level-get"}]}]},{"group":"Webhooks","pages":[{"group":"Profile","pages":[{"title":"Search webhook profiles","deprecated":null,"version":null,"sidebarTitle":"Webhooks profiles search","openapi":"/openapi/webhooks-20260203.json get /notifications/webhooks","href":"/api-reference/webhooks/profile/webhooks-profiles-search"},{"title":"Create a new webhook profile","deprecated":null,"version":null,"sidebarTitle":"Webhooks profiles create","openapi":"/openapi/webhooks-20260203.json post /notifications/webhooks","href":"/api-reference/webhooks/profile/webhooks-profiles-create"},{"title":"Get all webhook event types that can be sent","deprecated":null,"version":null,"sidebarTitle":"Webhooks events get","openapi":"/openapi/webhooks-20260203.json get /notifications/webhooks/event-types","href":"/api-reference/webhooks/profile/webhooks-events-get"},{"title":"Get an existing webhook profile","deprecated":null,"version":null,"sidebarTitle":"Webhooks profiles get","openapi":"/openapi/webhooks-20260203.json get /notifications/webhooks/{webhookProfileId}","href":"/api-reference/webhooks/profile/webhooks-profiles-get"},{"title":"Update an existing webhook profile","deprecated":null,"version":null,"sidebarTitle":"Webhooks profiles update","openapi":"/openapi/webhooks-20260203.json patch /notifications/webhooks/{webhookProfileId}","href":"/api-reference/webhooks/profile/webhooks-profiles-update"},{"title":"Test an existing webhook profile","deprecated":null,"version":null,"sidebarTitle":"Webhooks profiles test","openapi":"/openapi/webhooks-20260203.json post /notifications/webhooks/{webhookProfileId}/test","href":"/api-reference/webhooks/profile/webhooks-profiles-test"}]}]},{"group":"Beta","pages":[{"group":"Activity Log","pages":[{"title":"Search activity log","deprecated":null,"version":null,"sidebarTitle":"Activity log search","openapi":"/openapi/beta-20260203.json get /activity-log","href":"/api-reference/beta/activity-log/activity-log-search"},{"title":"Gets details for activities","deprecated":null,"version":null,"sidebarTitle":"Activity log details get","openapi":"/openapi/beta-20260203.json get /activity-log/details","href":"/api-reference/beta/activity-log/activity-log-details-get"}]}]}]}]},{"version":"2025-03-04","pages":[{"title":"2025-03-04","href":"/api-reference/crypto/2025-03-04/retail-ramp/crypto-quote-get"}]},{"version":"2023-12-19","pages":[{"title":"2023-12-19","href":"/api-reference/crypto/2023-12-19/retail-ramp/crypto-session-widget-create"}]}]},"basePath":"","title":"Create a headless onramp order - Meld","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}