Registers the domain that hosts your checkout page as a Stripe payment method domain. This is required for Apple Pay to appear in the embedded Payment Element rendered from a Create Chargeclient_secret. Google Pay does not require domain registration, but registering keeps its status visible alongside Apple Pay’s.
Context
This is a one-time (or re-run-on-change) setup step, not part of the per-charge flow. It only matters if your checkout uses the Stripe Payment Element returned by Create Charge’s client_secret — Paystack, Flutterwave, and StartButton checkouts are unaffected. After registering, use Get Payment Method Domain Status to confirm validation succeeded or to diagnose why a wallet button isn’t rendering.
Hows
Registration runs on every merchant account that can render the Payment Element for you:
The Khaime US and UK platform accounts (platform-routed charges)
Your business’s own connected account (direct charges)
Every active sub-merchant’s connected account, if you operate a marketplace (marketplace charges are created on the sub-merchant’s account, so the domain must be registered there too)
The response reports the result per account, so a partial failure on one account never blocks the others.
Before calling this endpoint, host the Apple Pay domain association file at:https://<your-domain>/.well-known/apple-developer-merchantid-domain-associationContact Khaime support to obtain this file. If the file isn’t live when you register, Apple Pay validation fails — fix the file, then call this endpoint again to re-validate.
Request body
string
required
The bare domain that hosts your checkout page, e.g. checkout.example.com. Protocols, paths, and ports are stripped automatically (https://checkout.example.com/pay → checkout.example.com). Subdomains must be registered individually — registering example.com does not cover checkout.example.com.
Response
string
The normalized domain that was registered.
string
live or sandbox, derived from your API key.
array
One entry per merchant account the domain was registered on.
Show Result fields
string
Which account this result is for: platform_us, platform_uk, business_<id> (your own connected account), or merchant_<id> (a sub-merchant’s connected account).
string | null
The connected account ID, or null for platform accounts.
boolean
Whether registration succeeded on this account.
string | null
Apple Pay validation status for the domain: active or inactive. inactive usually means the association file wasn’t reachable — fix it and re-register.
string | null
Google Pay status for the domain (typically active immediately).
Registering the domain is one of three steps. To actually show Apple Pay / Google Pay on your checkout:
1
Host the association file, then register your domain
Serve the domain association file at the well-known path above, then call this endpoint. Confirm every result shows apple_pay_status: "active" (use the status endpoint to re-check later).
2
Render the Payment Element (not a card-only element)
Wallets only appear in the unified Payment Element. Mount it with the client_secret and publishable_key from Create Charge.Critical for marketplace/direct charges: when the charge response includes merchant_account_id, you must pass it when initializing Khaime Payment SDK — otherwise the wallet validation on the connected account is never picked up:
const khaime = Khaime(publishable_key, { connectedAccount: merchant_account_id, // from the Create Charge response});const elements = khaime.elements({ clientSecret: client_secret });elements.create('payment').mount('#payment-element');
3
Serve checkout over HTTPS and test in a wallet-capable browser
Apple Pay renders only in Safari (macOS/iOS) with a card in Apple Wallet; Google Pay renders in Chrome with a saved card. Not seeing a wallet button in other browsers is expected behavior, not a configuration error.
Wallets appear on one-time charges only. Subscription charges are intentionally card-only because renewals require a reusable card payment method.
Whys
Registration runs across the platform accounts, your connected account, and every active sub-merchant’s account in one call because a Payment Element can render on any of those accounts depending on how the charge routes — a domain registered only on the platform account would show wallets on platform-routed charges but silently fail to on direct or marketplace charges. Reporting per-account results (rather than a single pass/fail) means one connected account’s failure doesn’t block registration on the rest.
Why nots
This only affects Stripe checkouts — it has no effect on Paystack, Flutterwave, or StartButton redirect flows, which don’t use the Payment Element.
It does not enable wallets by itself — you still need to render the unified Payment Element (not a card-only element) and, for connected-account charges, pass stripeAccount when initializing Stripe.js.
It does not cover subdomains automatically — checkout.example.com and pay.example.com each need their own registration call.
Wallets never appear on subscription/recurring charges — only one-time charges support Apple Pay / Google Pay today.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Khaime Documentation","colors":{"primary":"#42c3ff","light":"#42c3ff","dark":"#2a9fd6"},"logo":{"light":"https://app.khaime.com/khaime-logo.png","dark":"https://app.khaime.com/khaime-logo.png"},"favicon":"https://app.khaime.com/favicon.ico","api":{"playground":{"proxy":false},"mdx":{"auth":{"method":"key","name":"X-API-Key"},"server":["https://api.khaime.com/api/v1","https://api.khaimedev.com/api/v1","http://localhost:5050/api/v1"]}},"navbar":{"links":[{"href":"https://app.khaime.com","label":"Dashboard"}],"primary":{"type":"button","label":"Get Started","href":"https://app.khaime.com/register?utm_source=docs\u0026utm_medium=referral"}},"footer":{"socials":{"twitter":"https://twitter.com/khaime","linkedin":"https://linkedin.com/company/khaime"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/khaime"},{"anchor":"Status","icon":"signal","href":"https://status.khaime.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"khaimeai-4786d0b2","hasAudioNarration":false,"actualSubdomain":"khaimeai-4786d0b2","customDomains":["docs.khaime.com"],"gitSource":{"type":"github","owner":"khaime-team","repo":"khaime-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afb615673d15854569ab776","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"API Reference","count":80},{"language":"default","tag":"Marketplace","count":26},{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"SDKs","count":13},{"language":"default","tag":"Commerce API","count":13},{"language":"default","tag":"Plugins","count":13},{"language":"default","tag":"Payments","count":12},{"language":"default","tag":"Store Data","count":11},{"language":"default","tag":"Installments","count":7},{"language":"default","tag":"WooCommerce","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/payments/register-payment-method-domain","slug":"/api-reference/payments/register-payment-method-domain","pageMetadata":{"title":"Register Payment Method Domain","api":"POST /payment-method-domains","description":"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.","href":"/api-reference/payments/register-payment-method-domain"},"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: \"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\"\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`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Step,Steps,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`intro`,children:`Intro`}),`\n`,_jsxs(_components.p,{children:[`Registers the domain that hosts your checkout page as a `,_jsx(_components.strong,{children:`Stripe payment method domain`}),`. This is required for `,_jsx(_components.strong,{children:`Apple Pay`}),` to appear in the embedded Payment Element rendered from a `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),` `,_jsx(_components.code,{children:`client_secret`}),`. Google Pay does not require domain registration, but registering keeps its status visible alongside Apple Pay’s.`]}),`\n`,_jsx(Heading,{level:`2`,id:`context`,children:`Context`}),`\n`,_jsxs(_components.p,{children:[`This is a one-time (or re-run-on-change) setup step, not part of the per-charge flow. It only matters if your checkout uses the Stripe Payment Element returned by `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),`’s `,_jsx(_components.code,{children:`client_secret`}),` — Paystack, Flutterwave, and StartButton checkouts are unaffected. After registering, use `,_jsx(_components.a,{href:`/api-reference/payments/payment-method-domain-status`,children:`Get Payment Method Domain Status`}),` to confirm validation succeeded or to diagnose why a wallet button isn’t rendering.`]}),`\n`,_jsx(Heading,{level:`2`,id:`hows`,children:`Hows`}),`\n`,_jsxs(_components.p,{children:[`Registration runs on `,_jsx(_components.strong,{children:`every merchant account that can render the Payment Element for you`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The Khaime US and UK platform accounts (platform-routed charges)`}),`\n`,_jsx(_components.li,{children:`Your business’s own connected account (direct charges)`}),`\n`,_jsxs(_components.li,{children:[`Every active sub-merchant’s connected account, if you operate a marketplace (marketplace charges are created `,_jsx(_components.strong,{children:`on`}),` the sub-merchant’s account, so the domain must be registered there too)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The response reports the result per account, so a partial failure on one account never blocks the others.`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Before calling this endpoint`}),`, host the Apple Pay domain association file at:`]}),_jsx(_components.p,{children:_jsx(_components.code,{children:`https://\u003cyour-domain>/.well-known/apple-developer-merchantid-domain-association`})}),_jsx(_components.p,{children:`Contact Khaime support to obtain this file. If the file isn’t live when you register, Apple Pay validation fails — fix the file, then call this endpoint again to re-validate.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`domain_name`,type:`string`,required:true,id:`param-domain-name`,children:_jsxs(_components.p,{children:[`The bare domain that hosts your checkout page, e.g. `,_jsx(_components.code,{children:`checkout.example.com`}),`. Protocols, paths, and ports are stripped automatically (`,_jsx(_components.code,{children:`https://checkout.example.com/pay`}),` → `,_jsx(_components.code,{children:`checkout.example.com`}),`). Subdomains must be registered individually — registering `,_jsx(_components.code,{children:`example.com`}),` does `,_jsx(_components.strong,{children:`not`}),` cover `,_jsx(_components.code,{children:`checkout.example.com`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`domain_name`,type:`string`,id:`param-domain-name-1`,children:_jsx(_components.p,{children:`The normalized domain that was registered.`})}),`\n`,_jsx(ResponseField,{name:`environment`,type:`string`,id:`param-environment`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`live`}),` or `,_jsx(_components.code,{children:`sandbox`}),`, derived from your API key.`]})}),`\n`,_jsxs(ResponseField,{name:`results`,type:`array`,id:`param-results`,children:[_jsx(_components.p,{children:`One entry per merchant account the domain was registered on.`}),_jsxs(Expandable,{title:`Result fields`,children:[_jsx(ResponseField,{name:`target`,type:`string`,id:`param-target`,children:_jsxs(_components.p,{children:[`Which account this result is for: `,_jsx(_components.code,{children:`platform_us`}),`, `,_jsx(_components.code,{children:`platform_uk`}),`, `,_jsx(_components.code,{children:`business_\u003cid>`}),` (your own connected account), or `,_jsx(_components.code,{children:`merchant_\u003cid>`}),` (a sub-merchant’s connected account).`]})}),_jsx(ResponseField,{name:`merchant_account_id`,type:`string | null`,id:`param-merchant-account-id`,children:_jsxs(_components.p,{children:[`The connected account ID, or `,_jsx(_components.code,{children:`null`}),` for platform accounts.`]})}),_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether registration succeeded on this account.`})}),_jsx(ResponseField,{name:`apple_pay_status`,type:`string | null`,id:`param-apple-pay-status`,children:_jsxs(_components.p,{children:[`Apple Pay validation status for the domain: `,_jsx(_components.code,{children:`active`}),` or `,_jsx(_components.code,{children:`inactive`}),`. `,_jsx(_components.code,{children:`inactive`}),` usually means the association file wasn’t reachable — fix it and re-register.`]})}),_jsx(ResponseField,{name:`google_pay_status`,type:`string | null`,id:`param-google-pay-status`,children:_jsxs(_components.p,{children:[`Google Pay status for the domain (typically `,_jsx(_components.code,{children:`active`}),` immediately).`]})}),_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsxs(_components.p,{children:[`Present when `,_jsx(_components.code,{children:`success`}),` is `,_jsx(_components.code,{children:`false`}),`.`]})})]})]}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`3`,id:`enabling-wallets-end-to-end`,children:`Enabling wallets end-to-end`}),`\n`,_jsx(_components.p,{children:`Registering the domain is one of three steps. To actually show Apple Pay / Google Pay on your checkout:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Host the association file, then register your domain`,children:_jsxs(_components.p,{children:[`Serve the domain association file at the well-known path above, then call this endpoint. Confirm every result shows `,_jsx(_components.code,{children:`apple_pay_status: \"active\"`}),` (use the `,_jsx(_components.a,{href:`/api-reference/payments/payment-method-domain-status`,children:`status endpoint`}),` to re-check later).`]})}),_jsxs(Step,{title:`Render the Payment Element (not a card-only element)`,children:[_jsxs(_components.p,{children:[`Wallets only appear in the unified `,_jsx(_components.strong,{children:`Payment Element`}),`. Mount it with the `,_jsx(_components.code,{children:`client_secret`}),` and `,_jsx(_components.code,{children:`publishable_key`}),` from `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Critical for marketplace/direct charges:`}),` when the charge response includes `,_jsx(_components.code,{children:`merchant_account_id`}),`, you must pass it when initializing Khaime Payment SDK — otherwise the wallet validation on the connected account is never picked up:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` khaime`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Khaime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publishable_key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` connectedAccount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` merchant_account_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// from the Create Charge response`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` elements`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` khaime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`elements`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`clientSecret:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client_secret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`elements`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'payment'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`mount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'#payment-element'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),_jsx(Step,{title:`Serve checkout over HTTPS and test in a wallet-capable browser`,children:_jsx(_components.p,{children:`Apple Pay renders only in Safari (macOS/iOS) with a card in Apple Wallet; Google Pay renders in Chrome with a saved card. Not seeing a wallet button in other browsers is expected behavior, not a configuration error.`})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Wallets appear on `,_jsx(_components.strong,{children:`one-time charges only`}),`. Subscription charges are intentionally card-only because renewals require a reusable card payment method.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`whys`,children:`Whys`}),`\n`,_jsx(_components.p,{children:`Registration runs across the platform accounts, your connected account, and every active sub-merchant’s account in one call because a Payment Element can render on any of those accounts depending on how the charge routes — a domain registered only on the platform account would show wallets on platform-routed charges but silently fail to on direct or marketplace charges. Reporting per-account results (rather than a single pass/fail) means one connected account’s failure doesn’t block registration on the rest.`}),`\n`,_jsx(Heading,{level:`2`,id:`why-nots`,children:`Why nots`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This only affects Stripe checkouts — it has no effect on Paystack, Flutterwave, or StartButton redirect flows, which don’t use the Payment Element.`}),`\n`,_jsxs(_components.li,{children:[`It does not enable wallets by itself — you still need to render the unified Payment Element (not a card-only element) and, for connected-account charges, pass `,_jsx(_components.code,{children:`stripeAccount`}),` when initializing Stripe.js.`]}),`\n`,_jsxs(_components.li,{children:[`It does not cover subdomains automatically — `,_jsx(_components.code,{children:`checkout.example.com`}),` and `,_jsx(_components.code,{children:`pay.example.com`}),` each need their own registration call.`]}),`\n`,_jsx(_components.li,{children:`Wallets never appear on subscription/recurring charges — only one-time charges support Apple Pay / Google Pay today.`}),`\n`]})]})}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":"Register Payment Method Domain","api":"POST /payment-method-domains","description":"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.","href":"/api-reference/payments/register-payment-method-domain"}}},"mdxSourceWithNoJs":{"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`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Step,Steps,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`intro`,children:`Intro`}),`\n`,_jsxs(_components.p,{children:[`Registers the domain that hosts your checkout page as a `,_jsx(_components.strong,{children:`Stripe payment method domain`}),`. This is required for `,_jsx(_components.strong,{children:`Apple Pay`}),` to appear in the embedded Payment Element rendered from a `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),` `,_jsx(_components.code,{children:`client_secret`}),`. Google Pay does not require domain registration, but registering keeps its status visible alongside Apple Pay’s.`]}),`\n`,_jsx(Heading,{level:`2`,id:`context`,children:`Context`}),`\n`,_jsxs(_components.p,{children:[`This is a one-time (or re-run-on-change) setup step, not part of the per-charge flow. It only matters if your checkout uses the Stripe Payment Element returned by `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),`’s `,_jsx(_components.code,{children:`client_secret`}),` — Paystack, Flutterwave, and StartButton checkouts are unaffected. After registering, use `,_jsx(_components.a,{href:`/api-reference/payments/payment-method-domain-status`,children:`Get Payment Method Domain Status`}),` to confirm validation succeeded or to diagnose why a wallet button isn’t rendering.`]}),`\n`,_jsx(Heading,{level:`2`,id:`hows`,children:`Hows`}),`\n`,_jsxs(_components.p,{children:[`Registration runs on `,_jsx(_components.strong,{children:`every merchant account that can render the Payment Element for you`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The Khaime US and UK platform accounts (platform-routed charges)`}),`\n`,_jsx(_components.li,{children:`Your business’s own connected account (direct charges)`}),`\n`,_jsxs(_components.li,{children:[`Every active sub-merchant’s connected account, if you operate a marketplace (marketplace charges are created `,_jsx(_components.strong,{children:`on`}),` the sub-merchant’s account, so the domain must be registered there too)`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The response reports the result per account, so a partial failure on one account never blocks the others.`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Before calling this endpoint`}),`, host the Apple Pay domain association file at:`]}),_jsx(_components.p,{children:_jsx(_components.code,{children:`https://\u003cyour-domain>/.well-known/apple-developer-merchantid-domain-association`})}),_jsx(_components.p,{children:`Contact Khaime support to obtain this file. If the file isn’t live when you register, Apple Pay validation fails — fix the file, then call this endpoint again to re-validate.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request body`}),`\n`,_jsx(ParamField,{body:`domain_name`,type:`string`,required:true,id:`param-domain-name`,children:_jsxs(_components.p,{children:[`The bare domain that hosts your checkout page, e.g. `,_jsx(_components.code,{children:`checkout.example.com`}),`. Protocols, paths, and ports are stripped automatically (`,_jsx(_components.code,{children:`https://checkout.example.com/pay`}),` → `,_jsx(_components.code,{children:`checkout.example.com`}),`). Subdomains must be registered individually — registering `,_jsx(_components.code,{children:`example.com`}),` does `,_jsx(_components.strong,{children:`not`}),` cover `,_jsx(_components.code,{children:`checkout.example.com`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`domain_name`,type:`string`,id:`param-domain-name-1`,children:_jsx(_components.p,{children:`The normalized domain that was registered.`})}),`\n`,_jsx(ResponseField,{name:`environment`,type:`string`,id:`param-environment`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`live`}),` or `,_jsx(_components.code,{children:`sandbox`}),`, derived from your API key.`]})}),`\n`,_jsxs(ResponseField,{name:`results`,type:`array`,id:`param-results`,children:[_jsx(_components.p,{children:`One entry per merchant account the domain was registered on.`}),_jsxs(Expandable,{title:`Result fields`,children:[_jsx(ResponseField,{name:`target`,type:`string`,id:`param-target`,children:_jsxs(_components.p,{children:[`Which account this result is for: `,_jsx(_components.code,{children:`platform_us`}),`, `,_jsx(_components.code,{children:`platform_uk`}),`, `,_jsx(_components.code,{children:`business_\u003cid>`}),` (your own connected account), or `,_jsx(_components.code,{children:`merchant_\u003cid>`}),` (a sub-merchant’s connected account).`]})}),_jsx(ResponseField,{name:`merchant_account_id`,type:`string | null`,id:`param-merchant-account-id`,children:_jsxs(_components.p,{children:[`The connected account ID, or `,_jsx(_components.code,{children:`null`}),` for platform accounts.`]})}),_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether registration succeeded on this account.`})}),_jsx(ResponseField,{name:`apple_pay_status`,type:`string | null`,id:`param-apple-pay-status`,children:_jsxs(_components.p,{children:[`Apple Pay validation status for the domain: `,_jsx(_components.code,{children:`active`}),` or `,_jsx(_components.code,{children:`inactive`}),`. `,_jsx(_components.code,{children:`inactive`}),` usually means the association file wasn’t reachable — fix it and re-register.`]})}),_jsx(ResponseField,{name:`google_pay_status`,type:`string | null`,id:`param-google-pay-status`,children:_jsxs(_components.p,{children:[`Google Pay status for the domain (typically `,_jsx(_components.code,{children:`active`}),` immediately).`]})}),_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsxs(_components.p,{children:[`Present when `,_jsx(_components.code,{children:`success`}),` is `,_jsx(_components.code,{children:`false`}),`.`]})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.khaime.com/api/v1/payment-method-domains`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: pk_live_your_key\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"domain_name\": \"checkout.example.com\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success`,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Domain registered for wallet payments on all merchant accounts.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"domain_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"checkout.example.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"live\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"platform_us\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant_account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apple_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"google_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"platform_uk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant_account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apple_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"google_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"merchant_2454\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant_account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acct_1ABC...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"apple_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"google_pay_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`enabling-wallets-end-to-end`,children:`Enabling wallets end-to-end`}),`\n`,_jsx(_components.p,{children:`Registering the domain is one of three steps. To actually show Apple Pay / Google Pay on your checkout:`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Host the association file, then register your domain`,children:_jsxs(_components.p,{children:[`Serve the domain association file at the well-known path above, then call this endpoint. Confirm every result shows `,_jsx(_components.code,{children:`apple_pay_status: \"active\"`}),` (use the `,_jsx(_components.a,{href:`/api-reference/payments/payment-method-domain-status`,children:`status endpoint`}),` to re-check later).`]})}),_jsxs(Step,{title:`Render the Payment Element (not a card-only element)`,children:[_jsxs(_components.p,{children:[`Wallets only appear in the unified `,_jsx(_components.strong,{children:`Payment Element`}),`. Mount it with the `,_jsx(_components.code,{children:`client_secret`}),` and `,_jsx(_components.code,{children:`publishable_key`}),` from `,_jsx(_components.a,{href:`/api-reference/payments/create-charge`,children:`Create Charge`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Critical for marketplace/direct charges:`}),` when the charge response includes `,_jsx(_components.code,{children:`merchant_account_id`}),`, you must pass it when initializing Khaime Payment SDK — otherwise the wallet validation on the connected account is never picked up:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` khaime`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Khaime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`publishable_key`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` connectedAccount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` merchant_account_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// from the Create Charge response`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` elements`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` khaime`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`elements`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`clientSecret:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client_secret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`elements`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'payment'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`mount`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'#payment-element'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),_jsx(Step,{title:`Serve checkout over HTTPS and test in a wallet-capable browser`,children:_jsx(_components.p,{children:`Apple Pay renders only in Safari (macOS/iOS) with a card in Apple Wallet; Google Pay renders in Chrome with a saved card. Not seeing a wallet button in other browsers is expected behavior, not a configuration error.`})})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Wallets appear on `,_jsx(_components.strong,{children:`one-time charges only`}),`. Subscription charges are intentionally card-only because renewals require a reusable card payment method.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`whys`,children:`Whys`}),`\n`,_jsx(_components.p,{children:`Registration runs across the platform accounts, your connected account, and every active sub-merchant’s account in one call because a Payment Element can render on any of those accounts depending on how the charge routes — a domain registered only on the platform account would show wallets on platform-routed charges but silently fail to on direct or marketplace charges. Reporting per-account results (rather than a single pass/fail) means one connected account’s failure doesn’t block registration on the rest.`}),`\n`,_jsx(Heading,{level:`2`,id:`why-nots`,children:`Why nots`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`This only affects Stripe checkouts — it has no effect on Paystack, Flutterwave, or StartButton redirect flows, which don’t use the Payment Element.`}),`\n`,_jsxs(_components.li,{children:[`It does not enable wallets by itself — you still need to render the unified Payment Element (not a card-only element) and, for connected-account charges, pass `,_jsx(_components.code,{children:`stripeAccount`}),` when initializing Stripe.js.`]}),`\n`,_jsxs(_components.li,{children:[`It does not cover subdomains automatically — `,_jsx(_components.code,{children:`checkout.example.com`}),` and `,_jsx(_components.code,{children:`pay.example.com`}),` each need their own registration call.`]}),`\n`,_jsx(_components.li,{children:`Wallets never appear on subscription/recurring charges — only one-time charges support Apple Pay / Google Pay today.`}),`\n`]})]})}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":"Register Payment Method Domain","api":"POST /payment-method-domains","description":"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.","href":"/api-reference/payments/register-payment-method-domain"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Intro","slug":"intro","depth":2,"children":[]},{"title":"Context","slug":"context","depth":2,"children":[]},{"title":"Hows","slug":"hows","depth":2,"children":[{"title":"Request body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Enabling wallets end-to-end","slug":"enabling-wallets-end-to-end","depth":3,"children":[]}]},{"title":"Whys","slug":"whys","depth":2,"children":[]},{"title":"Why nots","slug":"why-nots","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.khaime.com/api/v1/payment-method-domains\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: pk_live_your_key\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"domain_name\": \"checkout.example.com\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"31\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Domain registered for wallet payments on all merchant accounts.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"domain_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"checkout.example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"environment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"live\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"results\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"target\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"platform_us\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"apple_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"google_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"target\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"platform_uk\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"apple_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"google_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"target\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"merchant_2454\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant_account_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"acct_1ABC...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"apple_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"google_pay_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Register Payment Method Domain","path":"/payment-method-domains","servers":[{"url":"https://api.khaime.com/api/v1"},{"url":"https://api.khaimedev.com/api/v1"},{"url":"http://localhost:5050/api/v1"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-API-Key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"domain_name":[{"type":"string","description":"The bare domain that hosts your checkout page, e.g. `checkout.example.com` . Protocols, paths, and ports are stripped automatically ( `https://checkout.example.com/pay` → `checkout.example.com` ). Subdomains must be registered individually — registering `example.com` does not cover `checkout.example.com` .","required":true}]}}],"examples":{"example":{"value":{"domain_name":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"domain_name":[{"type":"string","description":"The normalized domain that was registered."}],"environment":[{"type":"string","description":"`live` or `sandbox` , derived from your API key."}],"results":[{"type":"array","items":[{"type":"object","properties":{"target":[{"type":"string","description":"Which account this result is for: `platform_us` , `platform_uk` , `business_\u003cid>` (your own connected account), or `merchant_\u003cid>` (a sub-merchant’s connected account)."}],"merchant_account_id":[{"type":"object","properties":{},"description":"The connected account ID, or `null` for platform accounts."}],"success":[{"type":"boolean","description":"Whether registration succeeded on this account."}],"apple_pay_status":[{"type":"object","properties":{},"description":"Apple Pay validation status for the domain: `active` or `inactive` . `inactive` usually means the association file wasn’t reachable — fix it and re-register."}],"google_pay_status":[{"type":"object","properties":{},"description":"Google Pay status for the domain (typically `active` immediately)."}],"error":[{"type":"string","description":"Present when `success` is `false` ."}]}}],"description":"One entry per merchant account the domain was registered on."}]}}],"examples":{"example":{"value":{"domain_name":"\u003cstring>","environment":"\u003cstring>","results":[{"target":"\u003cstring>","merchant_account_id":{},"success":true,"apple_pay_status":{},"google_pay_status":{},"error":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"khaimeai-4786d0b2","siteName":"Khaime Documentation","title":"Register Payment Method Domain - Khaime Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-25T15:20:23.674Z","originalFileLocation":"api-reference/payments/register-payment-method-domain.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Khaime Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/x-icon\" sizes=\"180x180\" href=\"https://app.khaime.com/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"32x32\" href=\"https://app.khaime.com/favicon.ico\">\u003clink data-mint-head rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16\" href=\"https://app.khaime.com/favicon.ico\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://app.khaime.com/favicon.ico\">\u003cmeta data-mint-head property=\"og:title\" content=\"Register Payment Method Domain - Khaime Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Khaime Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://khaimeai-4786d0b2.mintlify.site/_mintlify/api/og/v2?division=Payments\u0026amp;title=Register+Payment+Method+Domain\u0026amp;description=Register+your+checkout+domain+so+Apple+Pay+and+Google+Pay+appear+in+the+Payment+Element.\u0026amp;theme=ca430f12ef21b225783627af\u0026amp;signature=0602de4df913b96afe92312e110d1baf52c4d5c7360935fb795ccc92dc1baa2a\">\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=\"Register Payment Method Domain - Khaime Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://khaimeai-4786d0b2.mintlify.site/_mintlify/api/og/v2?division=Payments\u0026amp;title=Register+Payment+Method+Domain\u0026amp;description=Register+your+checkout+domain+so+Apple+Pay+and+Google+Pay+appear+in+the+Payment+Element.\u0026amp;theme=ca430f12ef21b225783627af\u0026amp;signature=0602de4df913b96afe92312e110d1baf52c4d5c7360935fb795ccc92dc1baa2a\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/khaimeai-4786d0b2/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Khaime Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#42c3ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payments/register-payment-method-domain.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.khaime.com/#organization\",\"name\":\"Khaime Documentation\",\"url\":\"https://docs.khaime.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://app.khaime.com/khaime-logo.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.khaime.com#website\",\"name\":\"Khaime Documentation\",\"url\":\"https://docs.khaime.com\",\"publisher\":{\"@id\":\"https://docs.khaime.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain#webpage\",\"url\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain\",\"name\":\"Register Payment Method Domain\",\"description\":\"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\",\"dateModified\":\"2026-08-25T15:20:23.674Z\",\"isPartOf\":{\"@id\":\"https://docs.khaime.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Payments\",\"item\":\"https://docs.khaime.com/api-reference/payments/create-intent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Register Payment Method Domain\",\"item\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain#apireference\",\"headline\":\"Register Payment Method Domain\",\"name\":\"Register Payment Method Domain\",\"description\":\"Register your checkout domain so Apple Pay and Google Pay appear in the Payment Element.\",\"url\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain\",\"mainEntityOfPage\":{\"@id\":\"https://docs.khaime.com/api-reference/payments/register-payment-method-domain#webpage\"},\"dateModified\":\"2026-08-25T15:20:23.674Z\",\"publisher\":{\"@id\":\"https://docs.khaime.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.khaime.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Khaime Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Khaime Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/payments/register-payment-method-domain.md","siteName":"Khaime Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/khaime"},{"anchor":"Status","icon":"signal","href":"https://status.khaime.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API Overview","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Account","pages":[{"title":"Get Account Info","api":"GET https://api.khaime.com/api/v1/account","href":"/api-reference/account/get-account"}]},{"group":"Store Data","pages":[{"title":"Store data overview","href":"/api-reference/store-data/overview"},{"title":"Get traffic headline","api":"GET https://api.khaime.com/api/v1/analytics/headline","href":"/api-reference/store-data/headline"},{"title":"Get checkout funnel","api":"GET https://api.khaime.com/api/v1/analytics/funnel","href":"/api-reference/store-data/funnel"},{"title":"Get traffic sources","api":"GET https://api.khaime.com/api/v1/analytics/sources","href":"/api-reference/store-data/sources"},{"title":"Get top countries","api":"GET https://api.khaime.com/api/v1/analytics/countries","href":"/api-reference/store-data/countries"},{"title":"Get product performance","api":"GET https://api.khaime.com/api/v1/analytics/products","href":"/api-reference/store-data/products"},{"title":"Get live visitors","api":"GET https://api.khaime.com/api/v1/analytics/live","href":"/api-reference/store-data/live"},{"title":"Get sales summary","api":"GET https://api.khaime.com/api/v1/analytics/sales","href":"/api-reference/store-data/sales"},{"title":"List business orders","api":"GET https://api.khaime.com/api/v1/analytics/orders","href":"/api-reference/store-data/list-orders"},{"title":"Get business order","api":"GET https://api.khaime.com/api/v1/analytics/orders/{order_id}","href":"/api-reference/store-data/get-order"},{"title":"List customers","api":"GET https://api.khaime.com/api/v1/analytics/customers","href":"/api-reference/store-data/list-customers"}]},{"group":"Products \u0026 Pricing","pages":[{"title":"List Products","api":"GET /products","href":"/api-reference/products/list-products"},{"title":"Get Product Pricing","api":"GET /product/{product_id}/pricing","href":"/api-reference/products/get-pricing"},{"title":"Calculate Pricing","api":"GET /pricing/calculate","href":"/api-reference/products/calculate-pricing"},{"title":"Get Currencies","api":"GET /currencies","href":"/api-reference/products/get-currencies"}]},{"group":"Payments","pages":[{"title":"Create Payment Intent","api":"POST /payment/intent","href":"/api-reference/payments/create-intent"},{"title":"Create Payment Session","api":"POST /payments/sessions","href":"/api-reference/payments/create-session"},{"title":"Get Session","api":"GET /payments/sessions/{session_id}","href":"/api-reference/payments/get-session"},{"title":"Get Transaction","api":"GET /transactions/{transaction_id}","description":"Look up a transaction's current status on demand, instead of relying solely on webhooks.","href":"/api-reference/payments/get-transaction"},{"title":"Register Payment Method Domain","api":"POST /payment-method-domains","href":"/api-reference/payments/register-payment-method-domain"},{"title":"Get Payment Method Domain Status","api":"GET /payment-method-domains/status","description":"Check Apple Pay / Google Pay validation status for a registered checkout domain.","href":"/api-reference/payments/payment-method-domain-status"}]},{"group":"Integration Guides","pages":[{"title":"Prices, Fees and Totals","href":"/api-reference/pricing-and-checkout-guide"},{"title":"Build a Complete Checkout","href":"/api-reference/checkout-tutorial"},{"title":"Checkout Integration Guide","href":"/api-reference/checkout-integration-guide"},{"title":"API Response Schemas","href":"/api-reference/api-response-schemas"},{"title":"SDK Quick Reference","href":"/api-reference/sdk-quick-reference"}]},{"group":"Commerce API","pages":[{"title":"Commerce API Overview","href":"/api-reference/commerce/overview"},{"title":"List Products","api":"GET /products","href":"/api-reference/commerce/list-products"},{"title":"Get Product","api":"GET /product/{id}","href":"/api-reference/commerce/get-product"},{"title":"Register Customer","api":"POST /register","href":"/api-reference/commerce/register"},{"title":"Customer Login","api":"POST /login","href":"/api-reference/commerce/login"},{"title":"Validate Coupon","api":"POST /coupon/validate","href":"/api-reference/commerce/validate-coupon"},{"title":"Validate Cart","api":"POST /cart/validate","href":"/api-reference/commerce/validate-cart"},{"title":"Preview Payment","api":"POST /cart-payment/preview","href":"/api-reference/commerce/cart-payment-preview"},{"title":"Create Product Payment Intent","api":"POST /product-payment/intent","href":"/api-reference/commerce/payment-intent"},{"title":"Digital Product Cart Checkout","href":"/api-reference/commerce/digital-cart-checkout"},{"title":"List Orders","api":"GET /orders","href":"/api-reference/commerce/list-orders"},{"title":"Get Order","api":"GET /order/{id}","href":"/api-reference/commerce/get-order"},{"title":"Product Custom Fields","href":"/api-reference/commerce/product-custom-fields"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","api":"GET /subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Get Subscription","api":"GET /subscriptions/{subscription_id}","href":"/api-reference/subscriptions/get-subscription"},{"title":"Cancel Subscription","api":"PATCH /subscriptions/{subscription_id}/cancel","href":"/api-reference/subscriptions/cancel-subscription"}]},{"group":"Installments","pages":[{"title":"Installment Quote","api":"GET /products/{product_id}/installment-quote","href":"/api-reference/installments/quote"},{"title":"Installment Checkout","api":"POST /installment-plans/checkout","href":"/api-reference/installments/checkout"},{"title":"List Installment Plans","api":"GET /installment-plans","href":"/api-reference/installments/list"},{"title":"Get Installment Plan","api":"GET /installment-plans/{plan_id}","href":"/api-reference/installments/get"},{"title":"Charge Installment","api":"POST /installment-plans/{plan_id}/installments/{position}/charge","href":"/api-reference/installments/charge"},{"title":"Installment Pay Link","api":"POST /installment-plans/{plan_id}/installments/{position}/pay-link","href":"/api-reference/installments/pay-link"},{"title":"Cancel Installment Plan","api":"PATCH /installment-plans/{plan_id}/cancel","href":"/api-reference/installments/cancel"}]},{"group":"Marketplace","pages":[{"title":"Setup Marketplace","href":"/api-reference/marketplace/setup"},{"title":"Create Merchant","api":"POST /merchants","href":"/api-reference/marketplace/create-merchant"},{"title":"Link Merchant","api":"POST /merchants/link","href":"/api-reference/marketplace/link-merchant"},{"title":"Import Merchants","api":"POST /merchants/import","href":"/api-reference/marketplace/import-merchants"},{"title":"Get Merchant Details","api":"GET /merchants/{merchantId}","href":"/api-reference/marketplace/get-merchant"},{"title":"Update Merchant","api":"PATCH /merchants/{merchantId}","href":"/api-reference/marketplace/update-merchant"},{"title":"Remove Merchant","api":"DELETE /merchants/{merchantId}","href":"/api-reference/marketplace/remove-merchant"},{"title":"Update Commission","api":"PATCH /merchants/{merchantId}/commission","href":"/api-reference/marketplace/update-commission"},{"title":"Update Holding Currencies","api":"PATCH /merchants/{merchantId}/holding-currencies","href":"/api-reference/marketplace/update-holding-currencies"},{"title":"Get My Marketplace","api":"GET /marketplace","href":"/api-reference/marketplace/my-marketplace"},{"title":"Submit Merchant KYC","api":"POST /merchants/{merchantId}/kyc","href":"/api-reference/marketplace/submit-kyc"},{"title":"Get Merchant KYC Status","api":"GET /merchants/{merchantId}/kyc","href":"/api-reference/marketplace/get-kyc-status"},{"title":"Resubmit Merchant KYC","api":"POST /merchants/{merchantId}/kyc/resubmit","href":"/api-reference/marketplace/resubmit-kyc"},{"title":"Get Merchant Balance","api":"GET /merchants/{merchantId}/balance","href":"/api-reference/marketplace/get-balance"},{"title":"Get Supported Payout Banks","api":"GET /payout/banks","href":"/api-reference/marketplace/get-payout-banks"},{"title":"Setup Merchant Payout","api":"POST /merchants/{merchantId}/payout","href":"/api-reference/marketplace/setup-payout"},{"title":"Update Merchant Payout","api":"PATCH /merchants/{merchantId}/payout","href":"/api-reference/marketplace/update-payout"},{"title":"Initiate Merchant Payout","api":"POST /merchants/{merchantId}/payouts","href":"/api-reference/marketplace/initiate-payout"},{"title":"List Payout Requests","api":"GET /payouts","href":"/api-reference/marketplace/list-payout-requests"},{"title":"Approve Merchant Payout","api":"POST /merchants/{merchantId}/payouts/{reference}/approve","href":"/api-reference/marketplace/approve-payout"},{"title":"Reject Merchant Payout","api":"POST /merchants/{merchantId}/payouts/{reference}/reject","href":"/api-reference/marketplace/reject-payout"},{"title":"List Merchants","api":"GET /merchants","href":"/api-reference/marketplace/list-merchants"},{"title":"Marketplace Products","href":"/api-reference/marketplace/products"},{"title":"Create/Replace Product Variants","api":"POST /marketplace/products/{productId}/variants","href":"/api-reference/marketplace/create-variants"},{"title":"Get Product Variants","api":"GET /marketplace/products/{productId}/variants","href":"/api-reference/marketplace/get-variants"},{"title":"Update Marketplace Settings","api":"PATCH /marketplace","href":"/api-reference/marketplace/update-settings"}]}]},{"tab":"Plugins","pages":[{"title":"Plugins","href":"/plugins/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/ai-builders/lovable"}]}]},"basePath":"","title":"Register Payment Method Domain - Khaime Documentation","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BgGj2PGS.js","utils-BhNOqRKb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BAgRNUZo.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CGkb0TPw.js","snippetPresets-ChLkL1a6.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-Ef10Jrbx.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DlVCnjU8.js","shallow-BA55zJxQ.js","getApiPlaygroundDisplay-DR09dKtp.js","CodeSnippet-BZ8J8Kll.js","CodeSnippets-CcguVheG.js","Page-C7x-eUfk.js","getPastedJson-D5UqeqBp.js","icon-DpD0l99C.js","MethodPill-Wg2NXsp_.js","DuplicateIcon-CCSyX8lh.js","createIcon-C4Ukv9HX.js","DynamicMarkdown-RhjEuCHC.js","SectionHeading-DL1MykRq.js","axios-vUo_bRtp.js"]}