{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Resurs Docs","description":"Documentation for Resurs payment solutions and APIs.","colors":{"primary":"#00807B","light":"#26938F","dark":"#006965"},"logo":{"light":"https://mintcdn.com/resurs-153b4238/GhUrYguDwYC9akfJ/logo/light.svg?fit=max\u0026auto=format\u0026n=GhUrYguDwYC9akfJ\u0026q=85\u0026s=dbbf314f685ca751a29e51e8d50e2df1","dark":"https://mintcdn.com/resurs-153b4238/GhUrYguDwYC9akfJ/logo/dark.svg?fit=max\u0026auto=format\u0026n=GhUrYguDwYC9akfJ\u0026q=85\u0026s=5fc3151377cccf19d44b349d659be5a1"},"favicon":"https://mintcdn.com/resurs-153b4238/GhUrYguDwYC9akfJ/favicon.svg?fit=max\u0026auto=format\u0026n=GhUrYguDwYC9akfJ\u0026q=85\u0026s=25503133ece06d496a470976291fcac6","background":{"color":{"light":"#F8F9FA","dark":"#1A1E21"}},"navbar":{"links":[{"href":"mailto:support@resurs.se","label":"Support"}]},"footer":{"socials":{"instagram":"https://www.instagram.com/resurssverige","github":"https://github.com/resursbank","linkedin":"https://linkedin.com/company/resurs-bank"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"codeblocks":{"theme":{"light":"catppuccin-latte","dark":"one-dark-pro"}},"latex":false},"banner":{"content":"We're building out these docs. Can't find what you need? Check the [Merchant API docs](https://merchant-api.resurs.com/)."},"errors":{"404":{"redirect":false,"title":"I can't be found","description":"What ever **happened** to this _page_?"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"resurs-153b4238","hasAudioNarration":false,"actualSubdomain":"resurs-153b4238","customDomains":["docs.resurs.com"],"gitSource":{"type":"github","owner":"resurs-internal","repo":"rf-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad6055e03b76e0d8ece960d","collectionId":"8e54ab8a-98bc-499f-8383-89ec9243a501","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad6055e03b76e0d8ece960d"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ad6055e03b76e0d8ece960d","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Payment Methods","count":14},{"language":"default","tag":"Developer Guide","count":10},{"language":"default","tag":"Checkout","count":8},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"Sessions","count":2},{"language":"default","tag":"Getting Started","count":1},{"language":"default","tag":"Price Info","count":1}]},"assistantConfig":{"enableAskAiButton":true,"enableStarterQuestions":false,"enableAskAiSearchBar":false},"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".dark [class*=accordion]{background-color:#1a1e21!important;border-color:#30383e!important}:root{--resurs-checkout-accent-color:light-dark(#3aa497, #236161);--resurs-checkout-text-color:light-dark(#272e33, #fff);--resurs-checkout-background:light-dark(#fff, #282c34)}"}],"page":{"pagePath":"developer-guide/checkout/payment-methods/managed","slug":"/developer-guide/checkout/payment-methods/managed","pageMetadata":{"title":"Managed component","description":"Drop in \u003cresurs-payment-method-selector> for built-in accordion and state management.","href":"/developer-guide/checkout/payment-methods/managed"},"description":"Drop in \u003cresurs-payment-method-selector> for built-in accordion and state management.","pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const PaymentMethodSelector=({sessionId=`5a94e1cf-c2d6-4f70-bc88-2db1d0ad1bc3`,amount=`5000`})=>{const containerRef=useRef(null);useEffect(()=>{if(containerRef.current\u0026\u0026!containerRef.current.querySelector(`resurs-payment-method-selector`)){const widget=document.createElement(`resurs-payment-method-selector`);widget.setAttribute(`session-id`,sessionId);widget.setAttribute(`amount`,amount);widget.setAttribute(`customer-type`,`NATURAL`);containerRef.current.appendChild(widget)}return()=>{if(containerRef.current){containerRef.current.innerHTML=``}}},[sessionId,amount]);return _jsx(`div`,{ref:containerRef})};const paymentSelectorMockData=[{\"title\":`Invoice`,\"subtitle\":`Pay only after your item is delivered`,\"type\":`RESURS_INVOICE`,\"customerTypes\":[`NATURAL`],\"internalData\":`eyJtZXRob2RJZHMiOlsiZTA3ZDdkZDktYzZkMy00OTRkLWIxMzYtNTZmY2M1ODMxYWIwIl0sInR5cGUiOiJSRVNVUlNfSU5WT0lDRSIsImN1c3RvbWVyVHlwZXMiOlsiTkFUVVJBTCJdLCJtZXRob2RPcHRpb25zIjpbeyJtZXRob2RJZCI6ImUwN2Q3ZGQ5LWM2ZDMtNDk0ZC1iMTM2LTU2ZmNjNTgzMWFiMCIsInNlbGVjdGFibGUiOmZhbHNlLCJzZWxlY3RlZCI6ZmFsc2UsInByb3BlcnRpZXMiOnsiZGVzY3JpcHRpb24iOnsiZGVzY3JpcHRpb25UZXh0IjpbIk5vIGludm9pY2UgZmVlIiwiQXQgbGVhc3QgMSBtb250aCB0byBwYXkgYWZ0ZXIgZGVsaXZlcnkiXSwiZGVzY3JpcHRpb25Gb3JtYXQiOiJ2ZXJ0aWNhbC1saXN0In19LCJvdmVycmlkZXMiOnsibGlua3MiOlt7ImxhYmVsIjoiRnVsbCB0ZXJtcyBhbmQgY29uZGl0aW9ucyIsInR5cGUiOiJTRUtLSSIsInVybCI6IiMifV19fV0sInByb3BlcnRpZXMiOnsidGl0bGUiOiJJbnZvaWNlIiwic3VidGl0bGUiOiJQYXkgb25seSBhZnRlciB5b3VyIGl0ZW0gaXMgZGVsaXZlcmVkIn19`},{\"title\":`Pay at your own pace`,\"subtitle\":`Pay interest-free from 456.00 kr per month`,\"type\":`RESURS_PART_PAYMENT_SELECT_NOW`,\"customerTypes\":[`NATURAL`],\"internalData\":`ewogICJtZXRob2RJZHMiOiBbCiAgICAiMDdkZmQ3YjQtNDJlOS00NzJhLWJhZGQtN2E4M2YzMjMyMGVmIiwKICAgICIyYWE0MzZmNC00NjcxLTQ1NDYtODliNS1jNWIxYmFmZWE3NGUiLAogICAgIjEzNzAwOTdkLWY1YWUtNDkzYi04ZDY0LTgzNTRlOWZhZWQ0MSIKICBdLAogICJ0eXBlIjogIlJFU1VSU19QQVJUX1BBWU1FTlRfU0VMRUNUX05PVyIsCiAgInNob3dDcmVkaXRXYXJuaW5nIjogdHJ1ZSwKICAiY3VzdG9tZXJUeXBlcyI6IFsKICAgICJOQVRVUkFMIgogIF0sCiAgIm1ldGhvZE9wdGlvbnMiOiBbCiAgICB7CiAgICAgICJtZXRob2RJZCI6ICIwN2RmZDdiNC00MmU5LTQ3MmEtYmFkZC03YTgzZjMyMzIwZWYiLAogICAgICAic2VsZWN0YWJsZSI6IHRydWUsCiAgICAgICJzZWxlY3RlZCI6IGZhbHNlLAogICAgICAicHJvcGVydGllcyI6IHsKICAgICAgICAidGl0bGUiOiAiNiBNb250aHMgSW50ZXJlc3QgRnJlZSIsCiAgICAgICAgInN1YnRpdGxlIjogIjg3My4wMCBrciBwZXIgbW9udGgiLAogICAgICAgICJkZXNjcmlwdGlvbiI6IHsKICAgICAgICAgICJkZXNjcmlwdGlvblRleHQiOiBbCiAgICAgICAgICAgICJWYXJpYWJsZSBpbnRlcmVzdCByYXRlIDAuMDAlLiBFZmZlY3RpdmUgaW50ZXJlc3QgcmF0ZSAzNy40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AgICAicHJvcGVydGllcyI6IHsKICAgICAgICAidGl0bGUiOiAiMTAgTW9udGhzIEludGVyZXN0IEZyZWUgQ0FNUEFJR04iLAogICAgICAgICJzdWJ0aXRsZSI6ICI1NDkuMDAga3IgcGVyIG1vbnRoIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiB7CiAgICAgICAgICAiZGVzY3JpcHRpb25UZXh0IjogWwogICAgICAgICAgICAiVmFyaWFibGUgaW50ZXJlc3QgcmF0ZSAwLjAwJS4gRWZmZWN0aXZlIGludGVyZXN0IHJhdGUgMjAuOTQlLiBUb3RhbCBmZWVzIDQ5MC4wMCBrci4iLAogICAgICAgICAgICAiKipUb3RhbCB0byByZXBheSA1LDQ5MC4wMCBrcioqIgogICAgICAgICAgXSwKICAgICAgICAgICJkZXNjcmlwdGlvbkZvcm1hdCI6ICJpbmxpbmUiCiAgICAgICAgfQogICAgICB9LAogICAgICAib3ZlcnJpZGVzIjogewogICAgICAgICJsaW5rcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImxhYmVsIjogIkZ1bGwgdGVybXMgYW5kIGNvbmRpdGlvbnMiLAogICAgICAgICAgICAidHlwZSI6ICJQUklDRV9JTkZPIiwKICAgICAgICAgICAgInVybCI6ICIjIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfSwKICAgICAgImJhc2VBY2NvdW50RGVzY3JpcHRpb24iOiAiV2l0aCBlYWNoIHBheW1lbnQsIHlvdSBtdXN0IGNvbmZpcm0geW91ciBjaG9pY2Ugb2YgcGF5bWVudCBwbGFuLiBJZiB0aGUgdGVybXMgb2YgdGhlIHNlbGVjdGVkIHBheW1lbnQgcGxhbiBhcmUgbm90IGZvbGxvd2VkLCB0aGUgdGVybXMgb2YgdGhlIGxvbmdlc3QgcGF5bWVudCBwbGFuIGFjY29yZGluZyB0byB0aGUgYWdyZWVtZW50IHdpbGwgYXBwbHkuIFZhcmlhYmxlIGludGVyZXN0IHJhdGUgMS41ICUuIFRvdGFsIGZlZXMgMTUsMzQ4IGtyLiBFZmZlY3RpdmUgaW50ZXJlc3QgcmF0ZSAyLjMgJS4gTWF0dXJpdHkgWzEvMTJdIGluc3RhbGxtZW50IDM0OCBrci9tb250aC4gVG90YWw6IDU4LDcwMCBrci4iCiAgICB9LAogICAgewogICAgICAibWV0aG9kSWQiOiAiMTM3MDA5N2QtZjVhZS00OTNiLThkNjQtODM1NGU5ZmFlZDQxIiwKICAgICAgInNlbGVjdGFibGUiOiB0cnVlLAogICAgICAic2VsZWN0ZWQiOiB0cnVlLAogICAgICAicHJvcGVydGllcyI6IHsKICAgICAgICAidGl0bGUiOiAiMTIgTW9udGhzIEludGVyZXN0IEZyZWUiLAogICAgICAgICJzdWJ0aXRsZSI6ICI0NTYuMDAga3IgcGVyIG1vbnRoIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiB7CiAgICAgICAgICAiZGVzY3JpcHRpb25UZXh0IjogWwogICAgICAgICAgICAiVmFyaWFibGUgaW50ZXJlc3QgcmF0ZSAwLjAwJS4gRWZmZWN0aXZlIGludGVyZXN0IHJhdGUgMzQuNTklLiBUb3RhbCBmZWVzIDg2My4wMCBrci4iLAogICAgICAgICAgICAiKipUb3RhbCB0byByZXBheSA1LDg2My4wMCBrcioqIgogICAgICAgICAgXSwKICAgICAgICAgICJkZXNjcmlwdGlvbkZvcm1hdCI6ICJpbmxpbmUiCiAgICAgICAgfQogICAgICB9LAogICAgICAib3ZlcnJpZGVzIjogewogICAgICAgICJsaW5rcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImxhYmVsIjogIkZ1bGwgdGVybXMgYW5kIGNvbmRpdGlvbnMiLAogICAgICAgICAgICAidHlwZSI6ICJQUklDRV9JTkZPIiwKICAgICAgICAgICAgInVybCI6ICIjIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfSwKICAgICAgImJhc2VBY2NvdW50RGVzY3JpcHRpb24iOiAiV2l0aCBlYWNoIHBheW1lbnQsIHlvdSBtdXN0IGNvbmZpcm0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LS0kiLCJ1cmwiOiIjIn1dfX1dLCJwcm9wZXJ0aWVzIjp7InRpdGxlIjoiUmV2b2x2aW5nIENyZWRpdCIsInN1YnRpdGxlIjoiRmxleGlibGUgcGF5bWVudHMgd2l0aCByZXZvbHZpbmcgY3JlZGl0In19`}];const setupMockWidgets=()=>{if(!document.getElementById(`resurs-payment-widget-script`)){const script=document.createElement(`script`);script.id=`resurs-payment-widget-script`;script.src=`https://static.checkout.int.resurs.cloud/payment/0778b27/mock/resurs-payment-elements.js`;script.type=`module`;script.crossOrigin=`anonymous`;document.head.appendChild(script)}if(!window.__resursPatchedFetch){window.__resursPatchedFetch=window.fetch;window.fetch=function(url,options){if(typeof url===`string`\u0026\u0026url.includes(`payment-method-groups`)){return Promise.resolve({ok:true,json:()=>Promise.resolve(paymentSelectorMockData)})}return window.__resursPatchedFetch.call(this,url,options)}}};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Tip,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[setupMockWidgets(),`\n`,_jsx(_components.p,{children:`Drop in a single tag. The component fetches payment methods, renders an accordion, and manages selection state automatically.`}),`\n`,_jsx(Heading,{level:`2`,id:`interactive-example`,children:`Interactive example`}),`\n`,_jsx(_MdxComponentBoundary,{name:`PaymentMethodSelector`,children:_jsx(PaymentMethodSelector,{})}),`\n`,_jsx(Heading,{level:`2`,id:`attributes`,children:`Attributes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Attribute`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`session-id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Session ID from the `,_jsx(_components.a,{href:`/api-reference/sessions/create-session`,children:`create session`}),` endpoint.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`Total purchase amount in the store currency as a decimal string with up to two decimals (e.g., `,_jsx(_components.code,{children:`\"1299.95\"`}),` = 1 299,95 kr).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`customer-type`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`NATURAL`}),` (consumers) or `,_jsx(_components.code,{children:`LEGAL`}),` (businesses). Defaults to `,_jsx(_components.code,{children:`NATURAL`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`behavior`,children:`Behavior`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Fetches and re-fetches payment methods automatically when attributes change.`}),`\n`,_jsx(_components.li,{children:`Shows a loading spinner during fetch, an error message on failure.`}),`\n`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Currency is determined by the Resurs payment methods configured for the store relative to the session.`})}),`\n`,_jsx(Heading,{level:`2`,id:`updating`,children:`Updating`}),`\n`,_jsx(_components.p,{children:`Update the component by setting new attribute values directly on the element. The component re-fetches automatically when attributes change.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte one-dark-pro`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#282c34`,color:`#4c4f69`,\"--shiki-dark\":`#abb2bf`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8839EF`,\"--shiki-dark\":`#C678DD`},children:`const`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#E5C07B`},children:` selector`}),_jsx(_components.span,{style:{color:`#179299`,\"--shiki-dark\":`#56B6C2`},children:` =`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#E5C07B`},children:` document`}),_jsx(_components.span,{style:{color:`#179299`,\"--shiki-dark\":`#ABB2BF`},children:`.`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#61AFEF`,\"--shiki-dark-font-style\":`inherit`},children:`querySelector`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`(`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#98C379`},children:`'resurs-payment-method-selector'`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`)`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#ABB2BF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#7F848E`,\"--shiki-dark-font-style\":`italic`},children:`// Update amount (e.g. cart total changed)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#E5C07B`},children:`selector`}),_jsx(_components.span,{style:{color:`#179299`,\"--shiki-dark\":`#ABB2BF`},children:`.`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#61AFEF`,\"--shiki-dark-font-style\":`inherit`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`(`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#98C379`},children:`'amount'`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#ABB2BF`},children:`,`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#98C379`},children:` '7500'`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`)`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#ABB2BF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#7F848E`,\"--shiki-dark-font-style\":`italic`},children:`// Update session`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#E5C07B`},children:`selector`}),_jsx(_components.span,{style:{color:`#179299`,\"--shiki-dark\":`#ABB2BF`},children:`.`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#61AFEF`,\"--shiki-dark-font-style\":`inherit`},children:`setAttribute`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`(`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#98C379`},children:`'session-id'`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#ABB2BF`},children:`,`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#98C379`},children:` 'new-session-id'`}),_jsx(_components.span,{style:{color:`#4C4F69`,\"--shiki-dark\":`#ABB2BF`},children:`)`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#ABB2BF`},children:`;`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Ready to handle user selections? See `,_jsx(_components.a,{href:`/developer-guide/checkout/payment-methods/events`,children:`Events`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PaymentMethodSelector,paymentSelectorMockData,setupMockWidgets,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":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"one-dark-pro"}},"config":{},"pageMetadata":{"title":"Managed component","description":"Drop in \u003cresurs-payment-method-selector> for built-in accordion and state management.","href":"/developer-guide/checkout/payment-methods/managed"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[157,9109,")=>null;const paymentSelectorMockData=undefined;const setupMockWidgets=()=>null;"],[9732,9755,""]]},"mdxExtracts":{"tableOfContents":[{"title":"Interactive example","slug":"interactive-example","depth":2,"children":[]},{"title":"Attributes","slug":"attributes","depth":2,"children":[]},{"title":"Behavior","slug":"behavior","depth":2,"children":[]},{"title":"Updating","slug":"updating","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"resurs-153b4238","siteName":"Resurs Docs","title":"Managed component - Resurs Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T11:56:28.266Z","originalFileLocation":"developer-guide/checkout/payment-methods/managed.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=\"Drop in for built-in accordion and state management.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Resurs Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_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/resurs-153b4238/dl_H0G6ekZdPWg18/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Managed component - Resurs Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Drop in for built-in accordion and state management.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Resurs Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resurs-153b4238.mintlify.app/_mintlify/api/og/v2?division=Payment+Methods\u0026amp;title=Managed+component\u0026amp;description=Drop+in+%3Cresurs-payment-method-selector%3E+for+built-in+accordion+and+state+management.\u0026amp;theme=1506013d7b527a1dfd7b412f\u0026amp;signature=e262c78b5593b81f7abfe0c7c3b83bf01f295fd71d1022d22815e92d262eec26\">\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=\"Managed component - Resurs Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Drop in for built-in accordion and state management.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resurs-153b4238.mintlify.app/_mintlify/api/og/v2?division=Payment+Methods\u0026amp;title=Managed+component\u0026amp;description=Drop+in+%3Cresurs-payment-method-selector%3E+for+built-in+accordion+and+state+management.\u0026amp;theme=1506013d7b527a1dfd7b412f\u0026amp;signature=e262c78b5593b81f7abfe0c7c3b83bf01f295fd71d1022d22815e92d262eec26\">\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/resurs-153b4238/dl_H0G6ekZdPWg18/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Resurs Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00807B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer-guide/checkout/payment-methods/managed.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.resurs.com/#organization\",\"name\":\"Resurs Docs\",\"url\":\"https://docs.resurs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/resurs-153b4238/GhUrYguDwYC9akfJ/logo/light.svg?fit=max\u0026auto=format\u0026n=GhUrYguDwYC9akfJ\u0026q=85\u0026s=dbbf314f685ca751a29e51e8d50e2df1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.resurs.com#website\",\"name\":\"Resurs Docs\",\"url\":\"https://docs.resurs.com\",\"publisher\":{\"@id\":\"https://docs.resurs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed#webpage\",\"url\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed\",\"name\":\"Managed component\",\"description\":\"Drop in for built-in accordion and state management.\",\"dateModified\":\"2026-10-19T11:56:28.266Z\",\"isPartOf\":{\"@id\":\"https://docs.resurs.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Checkout\",\"item\":\"https://docs.resurs.com/developer-guide/checkout/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Payment Methods\",\"item\":\"https://docs.resurs.com/developer-guide/checkout/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Managed component\",\"item\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed#article\",\"headline\":\"Managed component\",\"name\":\"Managed component\",\"description\":\"Drop in for built-in accordion and state management.\",\"url\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed\",\"mainEntityOfPage\":{\"@id\":\"https://docs.resurs.com/developer-guide/checkout/payment-methods/managed#webpage\"},\"dateModified\":\"2026-10-19T11:56:28.266Z\",\"publisher\":{\"@id\":\"https://docs.resurs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.resurs.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Resurs Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Resurs Docs","nav":{"global":null,"tabs":[{"tab":"Developer Guide","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/developer-guide/introduction"}]},{"group":"Checkout","pages":[{"group":"Payment Methods","pages":[{"title":"Overview","href":"/developer-guide/checkout/overview"},{"title":"Setup","description":"Create a session and load the Payment Methods script.","href":"/developer-guide/checkout/payment-methods/setup"},{"title":"Managed component","href":"/developer-guide/checkout/payment-methods/managed"},{"title":"Full control","description":"Use \u003cresurs-payment-method-group> for complete layout and state flexibility.","href":"/developer-guide/checkout/payment-methods/full-control"},{"title":"Events","href":"/developer-guide/checkout/payment-methods/events"},{"title":"Theming","href":"/developer-guide/checkout/payment-methods/theming"},{"title":"Accessibility","href":"/developer-guide/checkout/payment-methods/accessibility"},{"title":"Troubleshooting","href":"/developer-guide/checkout/payment-methods/troubleshooting"}]}]},{"group":"Price Info","pages":[{"title":"Price Info","href":"/developer-guide/price-info/overview"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/sessions/create-session"}]},{"tab":"Merchant API","hidden":true,"versions":[{"version":"v2","groups":[{"group":"Merchant API v2","pages":[{"title":"E-Commerce","href":"/merchant-api/v2/e-commerce"},{"title":"Broker Application Flow Denmark","href":"/merchant-api/v2/broker-flow-denmark"}]},{"group":"Stores endpoints","pages":[{"group":"Payment methods payment plan","pages":[{"title":"Retrieve payment plans for a specific payment method","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json get /v2/stores/{store_id}/payment_methods/{payment_method_id}/annuity_factors","href":"/api-reference/payment-methods-payment-plan/retrieve-payment-plans-for-a-specific-payment-method"},{"title":"Retrieve pricing information for a specific payment method","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json get /v2/stores/{store_id}/payment_methods/{payment_method_id}/price_signage","href":"/api-reference/payment-methods-payment-plan/retrieve-pricing-information-for-a-specific-payment-method"}]},{"group":"Store information","pages":[{"title":"Retrieve a paged list of stores accessible by the current user","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json get /v2/stores","href":"/api-reference/store-information/retrieve-a-paged-list-of-stores-accessible-by-the-current-user"}]},{"group":"Advanced usage - Payment methods","pages":[{"title":"Retrieve personalized payment methods for a specific customer","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json post /v2/stores/{store_id}/payment_methods/personalized","href":"/api-reference/advanced-usage--payment-methods/retrieve-personalized-payment-methods-for-a-specific-customer"},{"title":"Retrieve the application data specification for a payment method","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json get /v2/stores/{store_id}/payment_methods/{payment_method_id}/application_data_specification","href":"/api-reference/advanced-usage--payment-methods/retrieve-the-application-data-specification-for-a-payment-method"}]},{"group":"Payment methods information","pages":[{"title":"Retrieve available payment methods by store and purchase amount","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/stores_v2_openapi.json get /v2/stores/{store_id}/payment_methods","href":"/api-reference/payment-methods-information/retrieve-available-payment-methods-by-store-and-purchase-amount"}]}]},{"group":"OAuth2 endpoints","pages":[{"group":"Oauth2 token resource","pages":[{"title":"Request an access token","deprecated":null,"version":null,"openapi":"/api/merchant-api/v2/oauth_openapi.json post /oauth2/token","href":"/api-reference/oauth2-token-resource/request-an-access-token"}]}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Merchant Integration","hidden":true,"pages":[{"title":"Merchant Integration","href":"/contact"}]}]},"title":"Managed component - Resurs Docs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["10e4515597"],"chunks":["BannerMarkdown-Og7hgu7u.js","dist-BaREnp3o.js","lib--scc4DXi.js","lib-B8HbPgcC.js","clsx-CefdjKz2.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}