You can control the SDK’s appearance mode independently of the system setting using the appearanceMode property in uiOptions. This is particularly useful for apps that implement their own theme management.
import { Primer, PrimerSettings } from '@primer-io/react-native';const settings: PrimerSettings = { paymentHandling: 'AUTO', uiOptions: { appearanceMode: 'LIGHT', // Options: 'SYSTEM' (default), 'LIGHT', 'DARK' isInitScreenEnabled: true, isSuccessScreenEnabled: true, isErrorScreenEnabled: true }};// Configure Primer with the settingsawait Primer.configure(settings);
This feature is especially helpful when:
Your app has an “Always Light” or “Always Dark” mode setting
You want to maintain consistent appearance across the payment flow
You need to override the system’s dark mode setting for specific user preferences
⚠️ If no settings are provided, the SDK will initialize with its default settings.
Use PrimerSettings to provide different options based on your use case.
This is an advanced configuration flag. You should discuss it with the Primer team before using it.
If set to true, only merchant-allowed card networks can be used when paying with Apple Pay. If set to false any network can be used provided the device supports Apple Pay.Merchant-allowed networks are provided using orderedAllowedCardNetworks when creating the client session.
Before enabling flag to true it’s recommended to reach out to Primer support
for additional verification since there are edge cases where it’s not advised.
Indicates whether client session caching is enabled.When set to true, responses from the server will be cached on the client side, allowing for faster subsequent
access to the same data within the cache duration. When set to false, every request to the server will be
processed without utilizing any client-side cache, ensuring that the client always receives the most up-to-date data.
Called when a payment will be created.
Use as an opportunity to update UI accordingly - for example, to display a “loading” component.
The handler must be used to then abort or continue with payment creation.
Primer will continue with payment creation if onBeforePaymentCreate is not implemented.
Can be either payment-failed which is an error from the PSP side, or cancelled-by-customer which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.
Additional information about the payment instrument.
Depending on the payment method type, only some of the following properties are present on the object.
Continue the payment flow using the given clientToken.
Called after a customer submitted their payment data and the payment details have been tokenized.
You’ll receive a paymentMethodToken in onTokenizeSuccess().
If the payment is successful, call handler.handleSuccess() in order to display a success screen
If the payment is unsuccessful, call handler.handleFailure(errorMessage) to display an error or failure message
Payments API may return a new clientToken for additional steps (in the requiredActions on the response). In this case, call handler.continueWithNewClientToken(clientToken) to continue with the payment flow
Can be either payment-failed which is an error from the PSP side, or cancelled-by-customer which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.
Can be either payment-failed which is an error from the PSP side, or cancelled-by-customer which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.
Can be either payment-failed which is an error from the PSP side, or cancelled-by-customer which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.
Called when the client session has been updated by the checkout. Returns the updated client session which can be
used to inform your UI. For example updating tax, shipping or discount amounts displayed to your customers.
Called when a payment will be created.
Use as an opportunity to update UI accordingly - for example, to display a “loading” component.
The handler must be used to then abort or continue with payment creation.
Primer will continue with payment creation if onBeforePaymentCreate is not implemented.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Primer","description":"Learn how to connect, build, and scale with Primer. Our docs offer clear guides and technical references to help you get more from our unified payments infrastructure.","colors":{"primary":"#FF7C4F","light":"#FF7C4F","dark":"#1b1a1a"},"logo":{"light":"https://mintcdn.com/primer-cc826789/fMxS38v0lFyMKyzD/logo/primer_logo.svg?fit=max\u0026auto=format\u0026n=fMxS38v0lFyMKyzD\u0026q=85\u0026s=0010b4ac2a8a90e656efd18fb57c9366","dark":"https://mintcdn.com/primer-cc826789/fMxS38v0lFyMKyzD/logo/primer_logo.svg?fit=max\u0026auto=format\u0026n=fMxS38v0lFyMKyzD\u0026q=85\u0026s=0010b4ac2a8a90e656efd18fb57c9366","href":"https://primer.io/docs"},"favicon":"https://mintcdn.com/primer-cc826789/fMxS38v0lFyMKyzD/logo/primer_logo.svg?fit=max\u0026auto=format\u0026n=fMxS38v0lFyMKyzD\u0026q=85\u0026s=0010b4ac2a8a90e656efd18fb57c9366","appearance":{"default":"light"},"background":{"decoration":"grid","color":{"light":"#ffffff"}},"navbar":{"links":[{"href":"https://primer.io/contact-us","label":"Contact Sales"}],"primary":{"type":"button","label":"Contact support","href":"https://portal.support.primer.io/servicedesk/customer/portal/11"}},"footer":{"socials":{"youtube":"https://www.youtube.com/channel/UCblj8Ya4PGjRbKVXmVwKyeQ","linkedin":"https://www.linkedin.com/company/primerapi","website":"https://primer.io/"}},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"gtm":{"tagId":"GTM-NW2HXNZC"},"cookies":{"key":"ANALYTICS_CONSENT","value":"yes"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"primer-cc826789","hasAudioNarration":false,"actualSubdomain":"primer-cc826789","customDomains":["primer.io"],"gitSource":{"type":"gitlab","owner":"primer-io/general","repo":"public-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":69511232,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec97f0574963a2d11dbfed","collectionId":"d4772cf4-44a3-491c-bdf4-fcea1b1b0406","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec97f0574963a2d11dbfed"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"DISABLED"},"CONTEXTUAL_FEEDBACK":{"status":"DISABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedeceee38f903348a1bd08","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"SDK Reference","count":256},{"language":"default","tag":"Payment methods","count":242},{"language":"default","tag":"Documentation","count":171},{"language":"default","tag":"API reference","count":164},{"language":"default","tag":"API Reference","count":158},{"language":"default","tag":"Legacy SDKs","count":139},{"language":"default","tag":"Connections","count":129},{"language":"default","tag":"Checkout","count":118},{"language":"default","tag":"PrimerHeadlessUniversalCheckout","count":77},{"language":"default","tag":"iOS","count":58}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"css/colorCard.css","content":".color_card{display:block;max-width:268px;border-radius:16px;text-decoration:none;color:#1c1c1c;margin:1rem 0;background-color:#fffbeb;border:none!important;transition:transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out}.color_card:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgba(0, 0, 0, 0.1);border:none!important}.color_card-visual{display:flex;justify-content:center;align-items:center}.color_card-image{max-width:100%;height:auto;border-radius:16px 16px 0 0;margin:0}.color_card-text-content{text-align:start;padding:1.5rem}.color_card-title{font-size:1rem;font-weight:600;margin:0 0 0.5rem 0}.color_card-description{font-size:1rem;line-height:1.6;margin:0;color:#796262!important;font-weight:400!important}.dark .color_card-description{color:#9B7A7A!important}.color_card-description p{margin:0}.dark .horizontal_color_card h2{color:#FFFFFF}.color_card.yellow,.horizontal_card.yellow,.icon-container.yellow{background-color:#FFEDE6}.dark .color_card.yellow,.dark .horizontal_card.yellow,.dark .icon-container.yellow{background-color:#381000}.color_card.purple,.horizontal_card.purple,.icon-container.purple{background-color:#FFEDE6}.dark .color_card.purple,.dark .horizontal_card.purple,.dark .icon-container.purple{background-color:#381000}.color_card.red,.horizontal_card.red,.icon-container.red{background-color:#FFEDE6}.dark .color_card.red,.dark .horizontal_card.red,.dark .icon-container.red{background-color:#381000}.color_card.lilac,.horizontal_card.lilac,.icon-container.lilac{background-color:#FFEDE6}.dark .color_card.lilac,.dark .horizontal_card.lilac,.dark .icon-container.lilac{background-color:#381000}.color_card.pink,.horizontal_card.pink,.icon-container.pink{background-color:#FFEDE6}.dark .color_card.pink,.dark .horizontal_card.pink,.dark .icon-container.pink{background-color:#381000}.color_card.green,.horizontal_card.green,.icon-container.green{background-color:#FFEDE6}.dark .color_card.green,.dark .horizontal_card.green,.dark .icon-container.green{background-color:#381000}.color_card.blue,.horizontal_card.blue,.icon-container.blue{background-color:#FFEDE6}.dark .color_card.blue,.dark .horizontal_card.blue,.dark .icon-container.blue{background-color:#381000}"},{"filePath":"css/home.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nbody{font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;min-height:100vh;transition:all 0.3s ease}body{background:white}body.dark{background:#000000}.hero-section{text-align:center;position:relative;padding:6.5rem 20px 160px 20px;min-height:400px;display:flex;align-items:center;justify-content:center;background:#f8fafc}@media (max-width: 768px){.hero-section{padding:60px 16px 160px 16px;min-height:300px}}.dark .hero-section{background:#111827}.hero-banner{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0;z-index:1}.hero-content{position:relative;z-index:2;padding:0 20px;max-width:1200px;margin:0 auto}.hero-content h1{font-family:\"Inter Display\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;font-size:4rem;max-width:1000px;font-weight:600;margin-bottom:2.5rem;letter-spacing:-1px;line-height:4.5rem;color:#212121}@media (max-width: 768px){.hero-content h1{font-size:2.5rem;margin-bottom:1rem;letter-spacing:-.075rem;line-height:2.8rem}}.dark .hero-content h1{color:#ffffff}.hero-content p{font-size:1rem;line-height:1.4375rem;font-weight:400;color:black;max-width:620px;margin:0 auto;padding:0 16px}@media (max-width: 768px){.hero-content p{font-size:0.9rem;line-height:1.5}}.dark .hero-content p{color:#d1d5db}.features-section{position:relative;margin-top:-100px;padding:0 20px 80px 20px;z-index:10}.features-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:24px;max-width:860px;margin:0 auto}.features-grid .card h2{font-weight:600!important}.features-grid .card{background:white;border-radius:16px;overflow:hidden;border:1px solid #e5e7eb;box-shadow:0 4px 20px rgba(0, 0, 0, 0.08);transition:all 0.3s ease;margin:0}.dark .features-grid .card{background-color:rgb(28 28 28);border-color:#424242;box-shadow:0 4px 20px rgba(0, 0, 0, 0.3)}.features-grid .card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(0, 0, 0, 0.12)}.dark .features-grid .card:hover{box-shadow:0 8px 30px rgba(0, 0, 0, 0.4)}.feature-image{width:100%;height:200px;object-fit:cover}.feature-content{padding:24px;height:140px;display:flex;flex-direction:column;justify-content:flex-start}.feature-card h3{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin-bottom:8px;transition:color 0.3s ease}.dark .feature-card h3{color:white}.feature-card p{font-size:0.95rem;color:#6b7280;line-height:1.5;transition:color 0.3s ease}.dark .feature-card p{color:#9ca3af}@media (max-width: 768px){.features-grid{grid-template-columns:1fr;gap:20px}.hero{padding:60px 16px 150px 16px}.features-section{margin-top:-80px;padding:0 16px 60px 16px}.theme-toggle{top:20px;right:20px;padding:10px 16px;font-size:14px}}@media (max-width: 1024px) and (min-width: 769px){.features-grid{grid-template-columns:repeat(2, 1fr)}}.build-with-ai-cta{display:inline-flex;align-items:center;gap:0.5rem;margin-top:2rem;padding:15px 20px;border:1px solid #FF7C4F!important;border-radius:9999px;background:#FF7C4F;color:#230800!important;font-size:1rem;font-weight:600;line-height:1;text-decoration:none!important;transition:color 0.3s, background 0.3s, border 0.3s}.build-with-ai-cta:hover{border-color:#230800!important;background:#230800;color:#F9F3EE!important}.build-with-ai-cta__icon{position:relative;display:inline-flex;overflow:hidden}.build-with-ai-cta__arrow{display:flex;transform:translateX(0%);transition:transform 0.5s cubic-bezier(0.6, 0.6, 0, 1) 0.1s}.build-with-ai-cta__arrow--in{position:absolute;inset:0;transform:translateX(-100%);transition:transform 0.5s cubic-bezier(0.6, 0.6, 0, 1)}.build-with-ai-cta:hover .build-with-ai-cta__arrow{transform:translateX(100%);transition:transform 0.5s cubic-bezier(0.6, 0.6, 0, 1)}.build-with-ai-cta:hover .build-with-ai-cta__arrow--in{transform:translateX(0%);transition:transform 0.5s cubic-bezier(0.6, 0.6, 0, 1) 0.1s}"},{"filePath":"css/horizontalCard.css","content":".horizontal_card{display:flex;border-radius:2px;overflow:hidden;margin:1rem 0;border:1px solid #110f0e1a;margin-top:20px;border-radius:8px;transition:border-color 0.2s ease}a.horizontal_card:hover,.dark a.horizontal_card:hover{border-color:#FF7C4F}.dark .horizontal_card{border-color:#ffffff1a}.horizontal_card .card-image-container{flex:1;min-width:45%}.horizontal_card .card-image-container img{width:100%;height:100%;border-radius:0;object-fit:cover;margin:0!important}.horizontal_card .card-content-container{flex:2;padding:40px 24px;display:flex;flex-direction:column}.horizontal_card .card-title{margin:0 0 0.75rem 0;font-size:1rem;font-weight:500;letter-spacing:0.01rem}.horizontal_card .card-description{font-size:1rem;line-height:1.5;flex-grow:1;font-weight:350}.horizontal_card .card-description p{margin:0;font-weight:350}.horizontal_card .card-link{margin-top:1rem;text-decoration:none;transition:color 0.2s ease-in-out;border:none;max-width:fit-content;font-weight:500}.horizontal_card .card-link:hover{text-decoration:underline}@media (max-width: 768px){.horizontal_card{flex-direction:column}.horizontal_card .card-image-container{min-width:100%}.horizontal_card .card-content-container{padding:20px 16px}}"},{"filePath":"css/horizontalColorCard.css","content":""},{"filePath":"css/iconCard.css","content":".icon-title-card{display:inline-flex;flex-direction:column;align-items:center;text-decoration:none;margin:0 auto}.icon-container svg{width:32px;height:32px;color:#5b21b6}.item-title{font-weight:500;text-align:center;margin:0;font-size:0.9rem}.icon-container{width:50px;height:50px;border-radius:50%;background-color:#ede9fe;margin-bottom:1rem;display:flex;justify-content:center;align-items:center}.dark .icon-container{background-color:#4c1d95}.icon-container svg{width:24px;height:24px;color:#000}.dark .icon-container svg{color:#fff}"},{"filePath":"css/logoCarousel.css","content":"@keyframes scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}.logo-carousel-container{padding:2rem 0;border:1px solid #110f0e1a;border-radius:2px;margin-top:20px}.dark .logo-carousel-container{border-color:#333}.carousel-title{font-size:1.25rem;font-weight:500;margin-bottom:2rem;margin-top:1.5rem;padding:0 2rem}.logo-carousel-scroller{overflow:hidden;position:relative}.logo-track{display:flex;width:calc(200px * var(--logo-count));animation:scroll 12s linear infinite}.logo-track a{text-decoration:none;color:inherit;border:none}.logo-item{width:100px;height:80px;display:flex;justify-content:center;align-items:center;flex-shrink:0;transition:transform 0.2s ease}.logo-item:hover{transform:scale(1.1)}.logo-item svg{max-width:100%;max-height:56px;opacity:0.95;transition:opacity 0.2s ease;border-radius:8px}.logo-item:hover svg{opacity:1}.explore-link{display:block;width:fit-content;margin-left:2rem;margin-top:1.5rem;margin-bottom:0;font-size:1rem;font-weight:500;color:#333;text-decoration:underline;transition:color 0.2s ease;border-bottom:none!important}.dark .explore-link{color:#eee}.explore-link:hover{color:#e88178}"},{"filePath":"css/style.css","content":"@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700\u0026family=Inter+Display:wght@400;500;600;700\u0026display=swap\");@import url(\"./filterableTable.css\");div.card .prose a.link{color:#007bff;text-decoration:underline;font-weight:500}div.card .prose a.link:visited{color:#551a8b}div.card .prose a.link:hover{color:#0056b3;text-decoration:underline}.prose :where(code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){color:red;font-family:\"Roboto Mono\", monospace;font-size:13px;font-weight:300;line-height:inherit!important}.overview_cards_container .card{max-width:269px!important}.card-group{justify-items:baseline}.dark .group img{background-color:transparent!important}.param-head{div[data-component-part=\"field-name\"] {\n color: #000 !important;\n }}.dark .param-head{div[data-component-part=\"field-name\"] {\n color: #fff !important;\n }}h1,h2,h3,h4,h5,h6{font-weight:600!important;font-family:\"Inter Display\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif}.block.absolute.inset-0.overflow-hidden{background:none!important}.banner_img_cover{border-radius:8px}table th{text-align:left!important}.color-value{display:flex;align-items:center;justify-content:space-between;gap:6px}.color-swatch{width:14px;height:14px;border-radius:3px;flex-shrink:0}.color-swatch--bordered{border:1px solid #E0E0E0}.tokens-grid table{width:100%}.tokens-grid td:first-child{width:120px}.tokens-grid td:last-child code{font-size:12px;white-space:nowrap}.token-swatch{display:inline-block;width:48px;height:48px;border-radius:6px;vertical-align:middle}.token-radius{display:inline-block;width:48px;height:48px;background-color:#E0E0E0;vertical-align:middle;margin-right:8px}.token-space{display:inline-block;height:24px;background-color:#2f98ff;border-radius:2px;vertical-align:middle;margin-right:8px;min-width:2px}.token-size{display:inline-block;background-color:#2f98ff;border-radius:4px;vertical-align:middle;margin-right:8px}.token-width{display:inline-block;width:48px;height:32px;background-color:#ffffff;border:solid #212121;border-radius:4px;vertical-align:middle;margin-right:8px}.token-typography-preview{padding:16px;background-color:#f5f5f5;border-radius:8px;margin:12px 0 24px 0;font-family:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif}.dark .token-typography-preview{background-color:#2a2a2a}.token-animation-preview{padding:24px;background-color:#f5f5f5;border-radius:8px;display:flex;align-items:center;gap:16px}.dark .token-animation-preview{background-color:#2a2a2a}.animation-demo{width:48px;height:48px;background-color:#2f98ff;border-radius:8px;transition:transform 200ms cubic-bezier(0.44, 0, 0.4, 1)}.animation-demo:hover{transform:scale(1.2)}.phase-timeline-circle{background-color:#fff}.dark .phase-timeline-circle{background-color:#0e0b0c}"},{"filePath":"css/filterableTable.css","content":".filterable-table-container{width:100%;max-width:100%;margin:0 0 1.5rem 0!important}div:has(>.filterable-table-container){margin-top:0!important}.filterable-table-container *,.filterable-table-container *::before,.filterable-table-container *::after{box-sizing:border-box}.filterable-table-controls{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}@media (min-width: 768px){.filterable-table-controls{flex-direction:row;align-items:center;justify-content:space-between}}.filterable-table-search{flex:1;max-width:400px}.filterable-table-search-input{width:100%;padding:0.625rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:0.875rem;background-color:#fff;color:#1f2937;transition:border-color 0.2s ease, box-shadow 0.2s ease}.filterable-table-search-input:focus{outline:none;border-color:#FF7C4F;box-shadow:0 0 0 3px rgba(255, 124, 79, 0.1)}.filterable-table-search-input::placeholder{color:#9ca3af}.dark .filterable-table-search-input{background-color:#1f2937;border-color:#374151;color:#f9fafb}.dark .filterable-table-search-input:focus{border-color:#FF7C4F;box-shadow:0 0 0 3px rgba(255, 124, 79, 0.2)}.dark .filterable-table-search-input::placeholder{color:#6b7280}.filterable-table-filters{display:flex;flex-wrap:wrap;gap:0.75rem;align-items:center}.filterable-table-select{padding:0.625rem 2rem 0.625rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:0.875rem;background-color:#fff;color:#1f2937;cursor:pointer;appearance:none;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right 0.75rem center;transition:border-color 0.2s ease}.filterable-table-select:focus{outline:none;border-color:#FF7C4F}.dark .filterable-table-select{background-color:#1f2937;border-color:#374151;color:#f9fafb;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E\")}.dark .filterable-table-select:focus{border-color:#FF7C4F}.filterable-table-clear-btn{padding:0.625rem 1rem;border:none;border-radius:8px;font-size:0.875rem;background-color:#fee2e2;color:#b91c1c;cursor:pointer;transition:background-color 0.2s ease}.filterable-table-clear-btn:hover{background-color:#fecaca}.dark .filterable-table-clear-btn{background-color:#450a0a;color:#fca5a5}.dark .filterable-table-clear-btn:hover{background-color:#7f1d1d}.filterable-table-results-count{font-size:0.875rem;color:#6b7280;margin-bottom:0.75rem}.dark .filterable-table-results-count{color:#9ca3af}.filterable-table-wrapper{overflow:hidden;border-radius:8px;border:1px solid #e5e7eb}.dark .filterable-table-wrapper{border-color:#374151}table.filterable-table{width:100%;border-collapse:collapse;border-spacing:0;font-size:0.875rem;table-layout:auto;margin:0;padding:0;border:none}table.filterable-table thead{background-color:#f9fafb}.dark table.filterable-table thead{background-color:#1f2937}table.filterable-table th{padding:0.75rem 1rem;text-align:left;font-weight:600;color:#374151;border:none;border-bottom:1px solid #e5e7eb;white-space:nowrap;background-color:#f9fafb}.dark table.filterable-table th{color:#e5e7eb;border-bottom-color:#374151;background-color:#1f2937}table.filterable-table td{padding:0.75rem 1rem;color:#4b5563;border:none;border-bottom:1px solid #e5e7eb;vertical-align:top;background-color:#fff}.dark table.filterable-table td{background-color:#111827;color:#d1d5db;border-bottom-color:#374151}table.filterable-table tbody tr:hover td{background-color:#f3f4f6}.dark table.filterable-table tbody tr:hover td{background-color:#1f2937}table.filterable-table tbody tr:last-child td{border-bottom:none}table.filterable-table th:first-child,table.filterable-table td:first-child{padding-left:1.25rem}table.filterable-table th:last-child,table.filterable-table td:last-child{padding-right:1.25rem}table.filterable-table code{font-size:0.8125rem;padding:0.125rem 0.375rem;border-radius:4px;background-color:#f3f4f6;color:#1f2937;font-family:ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace}.dark table.filterable-table code{background-color:#374151;color:#e5e7eb}.filterable-table-compatibility{font-size:0.8125rem;line-height:1.75}.filterable-table-no-results{text-align:center;padding:2rem 1rem;color:#6b7280}.dark .filterable-table-no-results{color:#9ca3af}"},{"filePath":"css/componentTree.css","content":".component-tree-container{border-radius:8px;padding:20px;border:1px solid #e5e7eb}.component-tree-connector{color:#9ca3af;user-select:none}.component-tree-name{font-weight:500;color:#111827}.component-tree-goes-into{margin-left:10px;padding:2px 8px;border-radius:4px;background-color:#f3f4f6;color:#6b7280;font-size:11px;font-weight:400}.component-tree-slot{margin-left:8px;padding:2px 8px;border-radius:4px;background-color:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:500}.component-tree-note{margin-left:10px;color:#6b7280;font-size:12px;font-style:italic}.component-tree-legend{display:flex;align-items:center;gap:20px;padding-top:16px;margin-top:16px;border-top:1px solid #e5e7eb;font-size:12px;color:#6b7280}.dark .component-tree-container{border-color:#374151}.dark .component-tree-connector{color:#6b7280}.dark .component-tree-name{color:#f9fafb}.dark .component-tree-goes-into{background-color:#374151;color:#d1d5db}.dark .component-tree-slot{background-color:#1e3a8a;color:#93c5fd}.dark .component-tree-note{color:#9ca3af}.dark .component-tree-legend{border-top-color:#374151;color:#9ca3af}"},{"filePath":"css/designSystem.css","content":":root{--ds-color-brand: #2f98ff;--ds-color-brand-light: #e8f2ff;--ds-color-brand-muted: rgba(47, 152, 255, 0.12);--ds-color-success: #1a8a5c;--ds-color-success-light: #edf8f2;--ds-color-success-muted: rgba(26, 138, 92, 0.12);--ds-color-warning: #c47a20;--ds-color-warning-light: #fef6eb;--ds-color-warning-muted: rgba(196, 122, 32, 0.12);--ds-color-error: #c44040;--ds-color-error-light: #fef0f0;--ds-color-text: #1c1b18;--ds-color-text-secondary: #5c5953;--ds-color-text-muted: #9d9a92;--ds-color-border: #e4e2dd;--ds-color-border-hover: #d0cec8;--ds-color-bg-page: #f5f4f1;--ds-color-bg-surface: #ffffff;--ds-color-bg-subtle: #fafaf8}.dark{--ds-color-brand: #60a5fa;--ds-color-brand-light: #1e3a8a;--ds-color-brand-muted: rgba(96, 165, 250, 0.15);--ds-color-success: #34d399;--ds-color-success-light: #064e3b;--ds-color-success-muted: rgba(52, 211, 153, 0.15);--ds-color-warning: #fbbf24;--ds-color-warning-light: #78350f;--ds-color-warning-muted: rgba(251, 191, 36, 0.15);--ds-color-error: #f87171;--ds-color-error-light: #7f1d1d;--ds-color-text: #f3f4f6;--ds-color-text-secondary: #d1d5db;--ds-color-text-muted: #9ca3af;--ds-color-border: #374151;--ds-color-border-hover: #4b5563;--ds-color-bg-page: #0a0a0a;--ds-color-bg-surface: #111827;--ds-color-bg-subtle: #1f2937}.ds-token-row-btn{display:block;width:100%;padding:12px;border:none;border-bottom:1px solid var(--ds-color-bg-subtle);background:var(--ds-color-bg-surface);cursor:pointer;text-align:left;transition:background 120ms ease}.ds-token-row-btn:last-child{border-bottom:none}.ds-token-row-btn:hover{background:var(--ds-color-bg-subtle)}.ds-token-row-btn.selected{background:var(--ds-color-brand-light)}.ds-token-row-name{font-family:ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:11px;color:var(--ds-color-text);font-weight:500}.ds-token-row-value{font-size:11px;color:var(--ds-color-text-muted);margin-top:2px;display:flex;justify-content:space-between;align-items:center}.ds-token-color-swatch{display:inline-flex;align-items:center;gap:4px}.ds-token-color-box{width:12px;height:12px;border-radius:2px;border:1px solid var(--ds-color-border)}.ds-mode-toggle-group{display:inline-flex;background:var(--ds-color-bg-subtle);border-radius:8px;padding:3px;border:1px solid var(--ds-color-border)}.ds-mode-toggle-btn{padding:8px 14px;border:none;border-radius:6px;background:transparent;color:var(--ds-color-text-muted);font-weight:500;font-size:12px;cursor:pointer;transition:all 120ms ease}.ds-mode-toggle-btn.active{background:var(--ds-color-bg-surface);color:var(--ds-color-text);box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.ds-category-pills{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}.ds-category-pill{padding:5px 10px;border:none;border-radius:6px;background:var(--ds-color-bg-subtle);color:var(--ds-color-text-secondary);font-size:11px;font-weight:500;cursor:pointer;text-transform:capitalize;transition:all 120ms ease}.ds-category-pill.active{background:var(--ds-color-brand);color:#fff}.ds-tree-item{border-radius:8px;padding:10px 12px;margin:4px 0;cursor:pointer;transition:all 120ms ease;background:var(--ds-color-bg-subtle);border:2px solid var(--ds-color-border)}.ds-tree-item.depth-2{padding:6px 8px}.ds-tree-item.selected{background:var(--ds-color-warning-light);border-color:var(--ds-color-warning);box-shadow:0 0 0 3px rgba(196, 122, 32, 0.1)}.ds-tree-item.highlighted{background:var(--ds-color-success-light);border-color:var(--ds-color-success);box-shadow:0 0 0 3px rgba(26, 138, 92, 0.1)}.ds-tree-item.default{cursor:default}.ds-tree-item-label{font-family:ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-weight:600;font-size:12px;color:var(--ds-color-text-secondary);display:flex;align-items:center;gap:8px}.ds-tree-item.depth-2 .ds-tree-item-label{font-size:11px}.ds-tree-item.selected .ds-tree-item-label{color:var(--ds-color-warning)}.ds-tree-item.highlighted .ds-tree-item-label{color:var(--ds-color-success)}.ds-tree-item-children{margin-top:8px}.ds-highlight-wrapper{position:relative;border-radius:inherit}.ds-highlight-overlay{position:absolute;inset:-2px;border:2px solid var(--ds-color-success);border-radius:inherit;background:var(--ds-color-success-muted);pointer-events:none;transition:all 200ms ease}.ds-control-panel{display:flex;gap:8px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.ds-reset-btn{padding:8px 12px;border:1px solid rgba(196, 64, 64, 0.4);border-radius:4px;background:var(--ds-color-bg-surface);color:var(--ds-color-error);font-size:12px;cursor:pointer}.ds-token-editor{margin-top:16px;padding:12px;background:var(--ds-color-bg-subtle);border-radius:8px;border:1px solid var(--ds-color-border)}.ds-token-editor-label{font-size:10px;font-weight:700;color:var(--ds-color-text-muted);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:10px}.ds-token-editor-affects{margin-top:10px;font-size:10px;color:var(--ds-color-text-muted)}.ds-token-editor-affects-item{font-family:ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;color:var(--ds-color-success)}.ds-component-selector{padding:12px}.ds-component-selector-empty{color:var(--ds-color-text-muted);font-size:12px;font-style:italic}.ds-component-selector-title{font-family:ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:14px;font-weight:600;margin-bottom:12px}.ds-component-token-item{padding:10px;background:var(--ds-color-bg-subtle);border-radius:4px;margin-bottom:8px}.ds-component-token-name{font-family:ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;font-size:11px;font-weight:500;margin-bottom:8px;color:var(--ds-color-text)}.ds-main-grid{display:grid;grid-template-columns:260px 1fr;gap:20px}.ds-preview-section{display:flex;flex-direction:column;gap:16px}.ds-preview-card{padding:20px;background:var(--ds-color-bg-page);border-radius:0 0 12px 12px}.ds-legend{display:flex;gap:16px;font-size:11px;color:var(--ds-color-text-muted)}.ds-legend-item{display:flex;align-items:center;gap:8px}.ds-legend-box{width:14px;height:14px;border-radius:4px}.ds-legend-box.affected{background:var(--ds-color-success-light);border:2px solid var(--ds-color-success)}.ds-legend-box.selected{background:var(--ds-color-warning-light);border:2px solid var(--ds-color-warning)}.ds-preview-label{display:block;font-weight:500}.ds-preview-input{background:var(--ds-color-bg-surface)}"},{"filePath":"css/stylingVariables.css","content":".token-swatch{display:inline-block;width:24px;height:24px;border-radius:4px;border:1px solid #e0e0e0;vertical-align:middle}.dark .token-swatch{border-color:#4b5563}.token-radius{display:inline-block;width:32px;height:32px;background:#2f98ff;vertical-align:middle}.dark .token-radius{background:#60a5fa}.token-space{display:inline-block;height:24px;background:#2f98ff;vertical-align:middle}.dark .token-space{background:#60a5fa}.tokens-grid{margin:1rem 0}.tokens-grid table{width:100%}.tokens-grid td:first-child{width:100px}"},{"filePath":"css/themeBuilder.css","content":".theme-builder-container{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fafafa}.theme-builder-header{background:white;padding:16px 20px;border-bottom:1px solid #e5e7eb}.theme-builder-title{margin:0 0 12px 0;font-size:16px;font-weight:600;color:#1a1a1a}.theme-builder-presets{display:flex;flex-wrap:wrap;gap:8px}.theme-builder-preset-btn{padding:6px 12px;border:1px solid #e5e7eb;border-radius:6px;background:white;color:#1a1a1a;cursor:pointer;font-size:13px;font-weight:500}.theme-builder-preset-btn.active{border:2px solid #2f98ff;background:#eff6ff;color:#2f98ff}.theme-builder-grid{display:grid;grid-template-columns:1fr 1fr;min-height:500px}.theme-builder-tokens{border-right:1px solid #e5e7eb;background:white;overflow:auto;max-height:600px}.theme-builder-group{border-bottom:1px solid #e5e7eb}.theme-builder-group-header{width:100%;padding:12px 16px;background:none;border:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:14px;font-weight:600;color:#1a1a1a}.theme-builder-group-content{padding:0 16px 16px}.theme-builder-token-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid #f3f4f6}.theme-builder-token-label{font-size:13px;color:#4b5563}.theme-builder-preview-panel{padding:20px;background:#f8f9fa;transition:background 200ms ease}.theme-builder-preview-panel.dark-bg{background:#0f0f0f}.theme-builder-preview-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.theme-builder-preview-label{font-size:14px;font-weight:600;color:#1a1a1a}.theme-builder-theme-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #e5e7eb;border-radius:6px;background:white;color:#6b7280;cursor:pointer;font-size:11px;font-weight:500}.theme-builder-theme-toggle.dark{border-color:#374151;background:#1f2937;color:#e5e7eb}.code-preview-container{margin-top:16px;border-radius:8px;overflow:hidden;border:1px solid #e5e7eb}.code-preview-header{display:flex;align-items:center;justify-content:space-between;background:#f8f9fa;border-bottom:1px solid #e5e7eb;padding:0 12px}.code-preview-tabs{display:flex;gap:0}.code-preview-tab{padding:10px 16px;background:transparent;border:none;border-bottom:2px solid transparent;color:#6b7280;cursor:pointer;font-size:13px;font-weight:500;font-family:monospace}.code-preview-tab.active{border-bottom-color:#2f98ff;color:#2f98ff}.code-preview-copy-btn{display:flex;align-items:center;gap:6px;padding:6px 10px;background:transparent;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;font-size:12px;font-weight:500;transition:all 150ms ease}.code-preview-copy-btn.copied{background:#dcfce7;border-color:#86efac;color:#16a34a}.code-preview-code{background:#1a1a1a;color:#e5e7eb;padding:16px;margin:0;overflow:auto;font-size:12px;font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;max-height:280px;line-height:1.5}.theme-builder-input-text{padding:6px 8px;border:1px solid #e5e7eb;border-radius:4px;font-size:12px;background:white;color:#1a1a1a}.theme-builder-input-text.monospace{font-family:monospace}.dark .theme-builder-container{background:#1f2937;border-color:#374151}.dark .theme-builder-header{background:#111827;border-bottom-color:#374151}.dark .theme-builder-title{color:#f3f4f6}.dark .theme-builder-preset-btn{background:#1f2937;border-color:#4b5563;color:#e5e7eb}.dark .theme-builder-preset-btn.active{background:#1e3a8a;border-color:#3b82f6;color:#93c5fd}.dark .theme-builder-tokens{background:#111827;border-right-color:#374151}.dark .theme-builder-group{border-bottom-color:#374151}.dark .theme-builder-group-header{color:#f3f4f6}.dark .theme-builder-token-row{border-top-color:#374151}.dark .theme-builder-token-label{color:#9ca3af}.dark .theme-builder-preview-panel{background:#0a0a0a}.dark .theme-builder-preview-label{color:#f3f4f6}.dark .theme-builder-theme-toggle{background:#1f2937;border-color:#4b5563;color:#e5e7eb}.dark .code-preview-container{border-color:#374151}.dark .code-preview-header{background:#1f2937;border-bottom-color:#374151}.dark .code-preview-tab{color:#9ca3af}.dark .code-preview-tab.active{color:#60a5fa;border-bottom-color:#60a5fa}.dark .code-preview-copy-btn{background:#1f2937;border-color:#4b5563;color:#9ca3af}.dark .code-preview-copy-btn.copied{background:#064e3b;border-color:#059669;color:#6ee7b7}.dark .theme-builder-input-text{background:#1f2937;border-color:#4b5563;color:#e5e7eb}"}],"page":{"pagePath":"sdk/react-native/v2.x.x/common-objects/PrimerSettings","slug":"/sdk/react-native/v2.x.x/common-objects/PrimerSettings","pageMetadata":{"title":"PrimerSettings","og:title":"React Native SDK PrimerSettings | Primer","description":null,"href":"/sdk/react-native/v2.x.x/common-objects/PrimerSettings"},"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`,br:`br`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ResponseField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`159`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`159`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` PrimerSettings`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` paymentHandling`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'AUTO'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'MANUAL'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` localeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerLocaleData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` paymentMethodOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerPaymentMethodOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` uiOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerUIOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` debugOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerDebugOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` clientSessionCachingEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiVersion`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerApiVersion`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` // Dropin UI`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onBeforeClientSessionUpdate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onClientSessionUpdate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`clientSession`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerClientSession`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onBeforePaymentCreate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutPaymentMethodData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutPaymentMethodData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerPaymentCreationHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutComplete`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onTokenizeSuccess`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`paymentMethodTokenData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerPaymentMethodTokenData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerTokenizationHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onResumeSuccess`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`resumeToken`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerResumeHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onResumePending`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`additionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutReceivedAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`additionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerError`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`null`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerErrorHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`undefined`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onDismiss`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` headlessUniversalCheckoutCallbacks`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onAvailablePaymentMethodsLoad`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`availablePaymentMethods`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`any`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[]) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onTokenizationStart`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`paymentMethodType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onTokenizationSuccess`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`paymentMethodTokenData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerPaymentMethodTokenData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerHeadlessUniversalCheckoutResumeHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutResume`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`resumeToken`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerHeadlessUniversalCheckoutResumeHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutPending`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`additionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`additionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutAdditionalInfo`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onError`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerError`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`null`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onCheckoutComplete`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onBeforeClientSessionUpdate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onClientSessionUpdate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`clientSession`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerClientSession`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onBeforePaymentCreate`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`checkoutPaymentMethodData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerCheckoutPaymentMethodData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`handler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerPaymentCreationHandler`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onPreparationStart`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`paymentMethodType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` onPaymentMethodShow`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`paymentMethodType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` void`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerLocaleData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` languageCode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` localeCode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerPaymentMethodOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` iOS`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` urlScheme`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` android`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` redirectScheme`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apayaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerApayaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` applePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerApplePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` /**`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` * `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`@obsoleted`}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` The IPrimerCardPaymentOptions is obsoleted on v.2.14.0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` cardPaymentOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerCardPaymentOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` goCardlessOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerGoCardlessOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` googlePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerGooglePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` klarnaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerKlarnaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` threeDsOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerThreeDsOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` stripeOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerStripeOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerApayaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` webViewTitle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerApplePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` merchantIdentifier`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` merchantName`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isCaptureBillingAddressEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` showApplePayForUnsupportedDevice`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` checkProvidedNetworks`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` shippingOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` shippingContactFields`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`RequiredContactField`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` requireShippingMethod`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` billingOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` requiredBillingContactFields`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`RequiredContactField`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` allowedCardTypes`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerWalletCardType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` RequiredContactField`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'name'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'emailAddress'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'phoneNumber'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'postalAddress'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`type`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` PrimerWalletCardType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'credit'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'debit'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'prepaid'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerCardPaymentOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` is3DSOnVaultingEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerGoCardlessOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` businessName`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` businessAddress`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerGooglePayOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` merchantName`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` allowedCardTypes`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerWalletCardType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isCaptureBillingAddressEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isExistingPaymentMethodRequired`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` shippingAddressParameters`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerGoogleShippingAddressParameters`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` requireShippingMethod`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` emailAddressRequired`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` buttonOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerGooglePayButtonOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerGooglePayButtonOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` buttonType`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`number`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` buttonTheme`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`number`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerGoogleShippingAddressParameters`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isPhoneNumberRequired`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerKlarnaOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` recurringPaymentDescription`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` webViewTitle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerUIOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isInitScreenEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isSuccessScreenEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isErrorScreenEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` dismissalMechanism`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`DismissalMechanism`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` appearanceMode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerAppearanceMode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` theme`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerTheme`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` cardFormUIOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`IPrimerCardFormUIOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` DismissalMechanism`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'gestures'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'closeButton'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` PrimerAppearanceMode`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'SYSTEM'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'LIGHT'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'DARK'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerDebugOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` is3DSSanityCheckEnabled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` type`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` PrimerApiVersion`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'2.4'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` | `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'latest'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerThreeDsOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` iOS`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` threeDsAppRequestorUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` android`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` threeDsAppRequestorUrl`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`string`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` IPrimerCardFormUIOptions`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` payButtonAddNewCard`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`?: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`boolean`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`appearance-mode-configuration`,children:`Appearance Mode Configuration`}),`\n`,_jsxs(_components.p,{children:[`You can control the SDK’s appearance mode independently of the system setting using the `,_jsx(_components.code,{children:`appearanceMode`}),` property in `,_jsx(_components.code,{children:`uiOptions`}),`. This is particularly useful for apps that implement their own theme management.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Primer`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`PrimerSettings`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@primer-io/react-native'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` settings`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`PrimerSettings`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` paymentHandling:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'AUTO'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` uiOptions:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` appearanceMode:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'LIGHT'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// Options: 'SYSTEM' (default), 'LIGHT', 'DARK'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isInitScreenEnabled:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isSuccessScreenEnabled:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` isErrorScreenEnabled:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// Configure Primer with the settings`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` Primer`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`configure`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`settings`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This feature is especially helpful when:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Your app has an “Always Light” or “Always Dark” mode setting`}),`\n`,_jsx(_components.li,{children:`You want to maintain consistent appearance across the payment flow`}),`\n`,_jsx(_components.li,{children:`You need to override the system’s dark mode setting for specific user preferences`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`⚠️ If no settings are provided, the SDK will initialize with its default settings. `,_jsx(`br`,{}),`\nUse `,_jsx(_components.code,{children:`PrimerSettings`}),` to provide different options based on your use case.`]}),`\n`,_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`paymentHandling`,type:`String`,post:[`optional`],id:`param-payment-handling`,children:_jsxs(_components.p,{children:[`Can be set to `,_jsx(_components.code,{children:`'MANUAL'`}),` or `,_jsx(_components.code,{children:`'AUTO'`}),`\nForce the SDK locale. By default, the locale will be set to the device’s locale.`]})}),_jsxs(ResponseField,{name:`localeData`,type:`IPrimerLocaleData`,post:[`optional`],id:`param-locale-data`,children:[`Forces some payment methods' locale.`,_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`languageCode`,type:`String`,id:`param-language-code`,children:_jsxs(_components.p,{children:[`Forces the language code (e.g. `,_jsx(_components.code,{children:`en`}),`). Defaults on your app’s language code if available.`]})}),_jsx(ResponseField,{name:`localeCode`,type:`String`,id:`param-locale-code`,children:_jsxs(_components.p,{children:[`Forces the locale code (e.g. `,_jsx(_components.code,{children:`US`}),`). Defaults on your app’s country locale code if available.`]})})]})]}),_jsxs(ResponseField,{name:`paymentMethodOptions`,type:`IPrimerPaymentMethodOptions`,post:[`optional`],id:`param-payment-method-options`,children:[_jsx(_components.p,{children:`Customize the appearance and behavior of the card fields in the checkout form for various payment methods`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`iOS`,type:`object`,post:[`optional`],id:`param-i-os`,children:_jsx(Expandable,{title:`Properties`,children:_jsxs(ResponseField,{name:`urlScheme`,type:`String`,post:[`optional`],id:`param-url-scheme`,children:[_jsxs(_components.p,{children:[`⚠️ Required for some payment methods (e.g. PayPal). `,_jsx(`br`,{})]}),_jsx(`br`,{}),_jsx(_components.p,{children:`This option sets the deeplink schema used when redirecting back from 3rd\nparty applications to your app.`})]})})}),_jsx(ResponseField,{name:`android`,type:`object`,post:[`optional`],id:`param-android`,children:_jsx(Expandable,{title:`Properties`,children:_jsxs(ResponseField,{name:`redirectScheme`,type:`String`,post:[`optional`],id:`param-redirect-scheme`,children:[_jsxs(_components.p,{children:[`⚠️ Required for some payment methods (e.g. PayPal). `,_jsx(`br`,{})]}),_jsx(`br`,{}),_jsx(_components.p,{children:`This option sets the deeplink schema used when redirecting back from 3rd\nparty applications to your app.`})]})})}),_jsxs(ResponseField,{name:`applePayOptions`,type:`IPrimerApplePayOptions`,post:[`optional`],id:`param-apple-pay-options`,children:[_jsx(_components.p,{children:`Options for using Apple Pay as a payment method.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`merchantIdentifier`,type:`String`,id:`param-merchant-identifier`,children:`Set it to the merchant identifier as it is shown in your Apple Pay certificate.`}),_jsx(ResponseField,{name:`merchantName`,type:`String`,id:`param-merchant-name`,children:`Deprecated: Use Client Session API to provide merchant name value.`}),_jsxs(ResponseField,{name:`isCaptureBillingAddressEnabled`,type:`Boolean`,id:`param-is-capture-billing-address-enabled`,children:[_jsxs(_components.p,{children:[`Defaults to `,_jsx(_components.code,{children:`false`}),`. Set to `,_jsx(_components.code,{children:`true`}),` to let Apple Pay capture the customer’s billing address.`]}),`Deprecated: Use BillingOptions to configure required billing fields.`]}),_jsxs(ResponseField,{name:`showApplePayForUnsupportedDevice`,type:`Boolean`,id:`param-show-apple-pay-for-unsupported-device`,children:[_jsxs(_components.p,{children:[`If in some cases you don’t want to present ApplePay option if the device is not supporting it set this to `,_jsx(_components.code,{children:`false`}),`. The default value is `,_jsx(_components.code,{children:`true`}),`.`]}),\"Default value is `true`. Set to `false` if you do not want to present Apple Pay option on unsupported devices.\"]}),_jsxs(ResponseField,{name:`checkProvidedNetworks`,type:`Boolean`,id:`param-check-provided-networks`,children:[_jsx(Warning,{children:_jsx(_components.p,{children:`This is an advanced configuration flag. You should discuss it with the Primer team before using it.`})}),_jsxs(_components.p,{children:[`If set to `,_jsx(_components.code,{children:`true`}),`, only merchant-allowed card networks can be used when paying with Apple Pay. If set to `,_jsx(_components.code,{children:`false`}),` any network can be used provided the device supports Apple Pay.`]}),_jsxs(_components.p,{children:[`Merchant-allowed networks are provided using `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/client-session-api/create-a-client-session#body-payment-method-ordered-allowed-card-networks`,children:_jsx(_components.code,{children:`orderedAllowedCardNetworks`})}),` when creating the client session.`]}),\"Default value is `true`. This flag supports the old behavior where Apple Pay flow might not present if there are no cards in the Wallet.\"]}),_jsxs(ResponseField,{name:`shippingOptions`,type:`ShippingOptions`,id:`param-shipping-options`,children:[`Configure shipping options for Apple Pay.`,_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`shippingContactFields`,type:`Array of RequiredContactField`,id:`param-shipping-contact-fields`,children:`Specify which contact fields are required for shipping.`}),_jsx(ResponseField,{name:`requireShippingMethod`,type:`Boolean`,id:`param-require-shipping-method`,children:`Indicate if a shipping method is required.`})]})]}),_jsxs(ResponseField,{name:`billingOptions`,type:`BillingOptions`,id:`param-billing-options`,children:[`Configure billing options for Apple Pay.`,_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`requiredBillingContactFields`,type:`Array of RequiredContactField`,id:`param-required-billing-contact-fields`,children:`Specify which contact fields are required for billing.`})})]}),_jsx(ResponseField,{name:`allowedCardTypes`,type:`Array of PrimerWalletCardType`,id:`param-allowed-card-types`,children:_jsxs(_components.p,{children:[`Restrict the card types Apple Pay offers. Supported values: `,_jsx(_components.code,{children:`credit`}),`, `,_jsx(_components.code,{children:`debit`}),`. When omitted or empty, all card types are offered.`]})})]})]}),_jsxs(ResponseField,{name:`cardPaymentOptions`,type:`IPrimerCardPaymentOptions`,deprecated:true,id:`param-card-payment-options`,children:[_jsxs(_components.p,{children:[`⚠️ This option is `,_jsx(_components.code,{children:`Deprecated`}),` since v.2.14.0.`]}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`is3DSOnVaultingEnabled`,type:`Boolean`,id:`param-is3-ds-on-vaulting-enabled`,children:`Enable 3DS flow on vaulted cards.`})})]}),_jsxs(ResponseField,{name:`goCardlessOptions`,type:`IPrimerGoCardlessOptions`,post:[`optional`],id:`param-go-cardless-options`,children:[_jsx(_components.p,{children:`⚠️ Required when using Go Cardless in your integration.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`businessName`,type:`String`,id:`param-business-name`,children:`Business name.`}),_jsx(ResponseField,{name:`businessAddress`,type:`String`,id:`param-business-address`,children:`Business address.`})]})]}),_jsxs(ResponseField,{name:`googlePayOptions`,type:`IPrimerGooglePayOptions`,post:[`optional`],id:`param-google-pay-options`,children:[_jsx(_components.p,{children:`⚠️ Required when using Google Pay in your integration.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`merchantName`,type:`String`,id:`param-merchant-name-1`,children:_jsx(_components.p,{children:`Set it the merchant name that you want to be shown on the Google Pay\nscreen.`})}),_jsxs(ResponseField,{name:`allowedCardTypes`,type:`Array of PrimerWalletCardType`,id:`param-allowed-card-types-1`,children:[_jsxs(_components.p,{children:[`Restrict the card types Google Pay offers. Supported values: `,_jsx(_components.code,{children:`credit`}),`, `,_jsx(_components.code,{children:`debit`}),`, `,_jsx(_components.code,{children:`prepaid`}),`. When omitted or empty, all card types are offered.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Google Pay has no flag to disallow debit cards, so debit cards are always offered even if `,_jsx(_components.code,{children:`debit`}),` is not included.`]})})]}),_jsx(ResponseField,{name:`isCaptureBillingAddressEnabled`,type:`Boolean`,post:[`Default false`],id:`param-is-capture-billing-address-enabled-1`,children:_jsx(_components.p,{children:`Sets whether user’s billing address should be captured from Google Pay.`})}),_jsx(ResponseField,{name:`isExistingPaymentMethodRequired`,type:`Boolean`,post:[`Default false`],id:`param-is-existing-payment-method-required`,children:_jsxs(_components.p,{children:[`If set to `,_jsx(_components.code,{children:`true`}),`, this specifies that Google Pay can only be used for payments if the user’s Google Pay wallet already contains allowed payment methods.`]})})]})]}),_jsxs(ResponseField,{name:`klarnaOptions`,type:`IPrimerKlarnaOptions`,post:[`optional`],id:`param-klarna-options`,children:[_jsx(_components.p,{children:`⚠️ Required when using Klarna in your integration.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`recurringPaymentDescription`,type:`String`,post:[`optional`],id:`param-recurring-payment-description`,children:_jsx(_components.p,{children:`Set the payment description that will be shown on the Klarna screen.`})}),_jsx(ResponseField,{name:`webViewTitle`,type:`String`,post:[`optional`],id:`param-web-view-title`,children:_jsxs(_components.p,{children:[`⚠️ This option is `,_jsx(_components.code,{children:`Deprecated`}),`.`,_jsx(`br`,{}),`Sets the toolbar title of the Activity displaying Klarna views.`]})})]})]}),_jsxs(ResponseField,{name:`threeDsOptions`,type:`IPrimerThreeDsOptions`,id:`param-three-ds-options`,children:[_jsx(_components.p,{children:`Sets the 3DS options in the SDK.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`iOS`,type:`object`,post:[`optional`],id:`param-i-os-1`,children:_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`threeDsAppRequestorUrl`,type:`String`,post:[`optional`],id:`param-three-ds-app-requestor-url`,children:_jsxs(_components.p,{children:[`Set the `,_jsx(_components.a,{href:`https://developer.apple.com/ios/universal-links/`,children:`iOS Universal Link`}),` that’s used to call your app after an `,_jsx(_components.strong,{children:`out-of-band (OOB)`}),` authentication.`]})})})}),_jsx(ResponseField,{name:`android`,type:`object`,post:[`optional`],id:`param-android-1`,children:_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`threeDsAppRequestorUrl`,type:`String`,post:[`optional`],id:`param-three-ds-app-requestor-url-1`,children:_jsxs(_components.p,{children:[`Set the `,_jsx(_components.a,{href:`https://developer.android.com/training/app-links`,children:`App link`}),` that’s used to call your app after an `,_jsx(_components.strong,{children:`out-of-band (OOB)`}),` authentication.`]})})})})]})]}),_jsxs(ResponseField,{name:`stripeOptions`,type:`IPrimerStripeOptions`,post:[`optional`],id:`param-stripe-options`,children:[_jsx(_components.p,{children:`⚠️ Required when using Stripe ACH in your integration.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`publishableKey`,type:`String`,post:[`required`],id:`param-publishable-key`,children:_jsxs(_components.p,{children:[`Set the `,_jsx(_components.a,{href:`https://docs.stripe.com/keys#obtain-api-keys`,children:`Stripe publishable\nkey`}),`.`]})}),_jsxs(ResponseField,{name:`mandateData`,type:`IPrimerStripeTemplateMandateData | IPrimerFullMandateData`,post:[`optional`],id:`param-mandate-data`,children:[_jsx(_components.p,{children:`Data used for mandate in Drop-in`}),_jsxs(Expandable,{children:[_jsxs(ResponseField,{name:`IPrimerStripeTemplateMandateData`,id:`param-i-primer-stripe-template-mandate-data`,children:[_jsx(_components.p,{children:`Data for the mandate allowing you to specify the name of the\nmerchant that would be used in a predefined mandate template.`}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`merchantName`,type:`String`,post:[`required`],id:`param-merchant-name-2`,children:_jsx(_components.p,{children:`The name of the merchant.`})})})]}),_jsxs(ResponseField,{name:`IPrimerFullMandateData`,id:`param-i-primer-full-mandate-data`,children:[_jsx(_components.p,{children:`Data for the mandate allowing you to specify the full mandate.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`fullMandateText`,type:`String`,post:[`required`],id:`param-full-mandate-text`,children:_jsx(_components.p,{children:`The string resource pointing to the full mandate. Supported on\nAndroid and iOS.`})}),_jsx(ResponseField,{name:`fullMandateStringResourceName`,type:`String`,post:[`optional`],id:`param-full-mandate-string-resource-name`,children:_jsx(_components.p,{children:`The name of the Android string resource pointing to the full\nmandate. Supported only on Android.`})})]})]})]})]})]})]})]})]}),_jsx(ResponseField,{name:`uiOptions`,type:`IPrimerUIOptions`,post:[`optional`],id:`param-ui-options`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`isInitScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-init-screen-enabled`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`false`}),` to hide the loading screen before the Universal Checkout or the Vault Manager. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isSuccessScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-success-screen-enabled`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`false`}),` to hide the screen after a successful payment, or tokenization on the vault flow. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isErrorScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-error-screen-enabled`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`false`}),` to hide the error screen when an error occurs. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsxs(ResponseField,{name:`dismissalMechanism`,type:`DismissalMechanism[]`,post:[`Default: [gestures]`],id:`param-dismissal-mechanism`,children:[_jsx(_components.p,{children:`Set the mechanism for dismissing Universal Checkout. Options are:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`gestures`}),`: The dialog can be dismissed by tapping outside or by swiping down.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`closeButton`}),`: A close button is provided, allowing users to dismiss the dialog manually.`]}),`\n`]})]}),_jsx(ResponseField,{name:`theme`,type:`IPrimerTheme`,post:[`optional`],id:`param-theme`,children:`Set a custom theme for Primer SDK.`}),_jsxs(ResponseField,{name:`cardFormUIOptions`,type:`IPrimerCardFormUIOptions`,post:[`optional`],id:`param-card-form-ui-options`,children:[_jsx(_components.p,{children:`Configure the card form UI options.`}),_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`payButtonAddNewCard`,type:`Boolean`,post:[`optional`],id:`param-pay-button-add-new-card`,children:_jsx(_components.p,{children:`When set to true, the Drop-In’s card form pay button will show “Add new card”; otherwise it will show “Pay $x.xx”.`})})})]})]})}),_jsx(ResponseField,{name:`debugOptions`,type:`IPrimerDebugOptions`,post:[`optional`],id:`param-debug-options`,children:_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`is3DSSanityCheckEnabled`,type:`Boolean`,post:[`optional`],id:`param-is3-ds-sanity-check-enabled`,children:`Debug option on 3DS for Primer SDK.`})})}),_jsxs(ResponseField,{name:`clientSessionCachingEnabled`,type:`boolean`,post:[`optional`],id:`param-client-session-caching-enabled`,children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Before enabling flag to true it’s recommended to reach out to Primer support\nfor additional verification since there are edge cases where it’s not advised.`})}),_jsx(_components.p,{children:`Indicates whether client session caching is enabled.`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, responses from the server will be cached on the client side, allowing for faster subsequent\naccess to the same data within the cache duration. When set to `,_jsx(_components.code,{children:`false`}),`, every request to the server will be\nprocessed without utilizing any client-side cache, ensuring that the client always receives the most up-to-date data.`]})]}),_jsxs(ResponseField,{name:`apiVersion`,type:`PrimerApiVersion`,post:[`optional`],id:`param-api-version`,children:[_jsx(_components.p,{children:`Indicates the API version to use when interacting with the Primer backend. Options are:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`2.4`}),` - will use ApiVersion 2.4`]}),`\n`]}),_jsxs(_components.p,{children:[`Note that this is optional, if a value is not supplied, ApiVersion `,_jsx(_components.code,{children:`V2.4`}),` will be used by default.`]})]}),_jsx(ResponseField,{name:`onBeforeClientSessionUpdate`,type:`() => void`,post:[`optional`],id:`param-on-before-client-session-update`,children:`Called when the client session is in the process of being updated. Use it to show a loading indicator on your UI.`}),_jsx(ResponseField,{name:`onClientSessionUpdate`,type:`(clientSession: PrimerClientSession) => void`,post:[`optional`],id:`param-on-client-session-update`,children:`Called when the client session has been updated by the checkout. Returns the updated client session which can be used to inform your UI. For example updating tax, shipping or discount amounts displayed to your customers.`}),_jsxs(ResponseField,{name:`onBeforePaymentCreate`,type:`(checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void`,post:[`optional`],id:`param-on-before-payment-create`,children:[_jsxs(_components.p,{children:[`Called when a payment will be created.\nUse as an opportunity to update UI accordingly - for example, to display a “loading” component.\nThe `,_jsx(_components.code,{children:`handler`}),` must be used to then abort or continue with payment creation.\nPrimer will continue with payment creation if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is not implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`checkoutPaymentMethodData`,type:`PrimerCheckoutPaymentMethodData`,id:`param-checkout-payment-method-data`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`paymentMethodType`,type:`String`,id:`param-payment-method-type`,children:_jsxs(_components.p,{children:[`The type of the payment method Primer will use for payment creation, one of `,_jsx(_components.a,{href:`/sdk/web/v2.x.x/constants/payment-method-types`,children:`PaymentMethodType`})]})}),_jsx(ResponseField,{name:`paymentMethod`,type:`String`,id:`param-payment-method`,children:_jsx(_components.p,{children:`The name of the payment method Primer will use for payment creation.`})})]})}),_jsxs(ResponseField,{name:`handler`,type:`PrimerPaymentCreationHandler`,id:`param-handler`,children:[_jsxs(_components.p,{children:[`Provides two methods to continue or abort the payment.`,_jsx(`br`,{}),` You MUST call one of the methods of the handler if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`abortPaymentCreation`,type:`(errorMessage: string | null) => void`,id:`param-abort-payment-creation`,children:_jsx(_components.p,{children:`Choose to abort a payment.`})}),_jsx(ResponseField,{name:`continuePaymentCreation`,type:`() => void`,id:`param-continue-payment-creation`,children:_jsx(_components.p,{children:`Choose to continue with payment creation`})})]})]})]})]}),_jsxs(ResponseField,{name:`onCheckoutComplete`,type:`(checkoutData: PrimerCheckoutData) => void`,post:[`optional`],id:`param-on-checkout-complete`,children:[_jsx(_components.p,{children:`Called when a payment has been created. Move on to next step in your checkout flow, such as showing a success message, etc.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-1`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-2`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference`})]})})]})]})]})})})]}),` `,_jsxs(ResponseField,{name:`onTokenizeSuccess`,type:`(paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerTokenizationHandler) => void`,post:[`optional`],id:`param-on-tokenize-success`,children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`If you set `,_jsx(_components.code,{children:`paymentHandling`}),` to `,_jsx(_components.code,{children:`MANUAL`}),`, implementing this is mandatory.`]})}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`paymentMethodTokenData`,type:`PrimerPaymentMethodTokenData`,id:`param-payment-method-token-data`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`analyticsId`,type:`string`,id:`param-analytics-id`,children:_jsx(_components.p,{children:`An unique identifier for the payment instrument token.`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Payment method identifier.`})}),_jsx(ResponseField,{name:`isVaulted`,type:`boolean`,id:`param-is-vaulted`,children:_jsx(_components.p,{children:`Indicating the use of vaulted instruments for the payment method.`})}),_jsxs(ResponseField,{name:`paymentInstrumentData`,type:`PaymentInstrumentData`,id:`param-payment-instrument-data`,children:[_jsx(_components.p,{children:`Additional information about the payment instrument.\nDepending on the payment method type, only some of the following properties are present on the object.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`network`,type:`string?`,id:`param-network`,children:_jsx(_components.p,{children:`The human readable representation of card network (e.g., Visa, Mastercard).`})}),_jsx(ResponseField,{name:`cardholderName`,type:`string?`,id:`param-cardholder-name`,children:_jsx(_components.p,{children:`The name of the cardholder.`})}),_jsx(ResponseField,{name:`first6Digits`,type:`number?`,id:`param-first6-digits`,children:_jsx(_components.p,{children:`The first 6 digits of the card number.`})}),_jsx(ResponseField,{name:`firstDigits`,type:`number?`,id:`param-first-digits`,children:_jsx(_components.p,{children:`The first 6 or 8 digits of the card number within PCI guidelines.`})}),_jsx(ResponseField,{name:`last4Digits`,type:`number?`,id:`param-last4-digits`,children:_jsx(_components.p,{children:`The last 4 digits of the card number.`})}),_jsx(ResponseField,{name:`accountNumberLast4Digits`,type:`number?`,id:`param-account-number-last4-digits`,children:_jsx(_components.p,{children:`The last 4 digits of the account number.`})}),_jsx(ResponseField,{name:`expirationMonth`,type:`number?`,id:`param-expiration-month`,children:_jsx(_components.p,{children:`The expiration month of the card, in 2-digit format.`})}),_jsx(ResponseField,{name:`expirationYear`,type:`number?`,id:`param-expiration-year`,children:_jsx(_components.p,{children:`The expiration year of the card, in 4-digit format.`})}),_jsxs(ResponseField,{name:`externalPayerInfo`,type:`IExternalPayerInfo?`,id:`param-external-payer-info`,children:[_jsx(_components.p,{children:`Additional PayPal data.`}),_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The payer’s email address.`})}),_jsx(ResponseField,{name:`externalPayerId`,type:`string?`,id:`param-external-payer-id`,children:_jsx(_components.p,{children:`The payer’s unique ID.`})}),_jsx(ResponseField,{name:`firstName`,type:`string?`,id:`param-first-name`,children:_jsx(_components.p,{children:`The payer’s given name.`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`The payer’s given surname.`})})]})]}),_jsx(ResponseField,{name:`klarnaCustomerToken`,type:`string?`,id:`param-klarna-customer-token`}),_jsx(ResponseField,{name:`sessionData`,type:`IKlarnaSessionData?`,id:`param-session-data`}),_jsx(ResponseField,{name:`paymentMethodType`,type:`string?`,id:`param-payment-method-type-1`,children:_jsxs(_components.p,{children:[`A unique string identifier for the payment method. (e.g. `,_jsx(_components.code,{children:`PAYPAL`}),`, `,_jsx(_components.code,{children:`GOOGLE_PAY`}),`)`]})}),_jsxs(ResponseField,{name:`binData`,type:`IBinData?`,id:`param-bin-data`,children:[_jsx(_components.p,{children:`Additional BIN data.`}),_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`network`,type:`string?`,id:`param-network-1`,children:_jsx(_components.p,{children:`The card network (e.g., VISA, MASTERCARD, AMEX).`})})})]}),_jsx(ResponseField,{name:`bankName`,type:`string?`,id:`param-bank-name`,children:_jsx(_components.p,{children:`The name of the bank.`})})]})]}),_jsxs(ResponseField,{name:`paymentInstrumentType`,type:`string`,id:`param-payment-instrument-type`,children:[_jsx(_components.p,{children:`The type of the payment instrument.`}),_jsx(_components.p,{children:`Example of possible values (new values could be added as we add new payment methods):`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`APPLE_PAY`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CARD_OFF_SESSION_PAYMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`GOOGLE_PAY`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`KLARNA_CUSTOMER_TOKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`OFF_SESSION_PAYMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYMENT_CARD`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYPAL_BILLING_AGREEMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYPAL_ORDER`})}),`\n`]})]}),_jsx(ResponseField,{name:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`The payment instrument token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/create-a-payment`,children:`create a payment request`}),` from your backend.`]})}),_jsx(ResponseField,{name:`tokenType`,type:`\"SINGLE_USE\" | \"MULTI_USE\"`,id:`param-token-type`,children:_jsx(_components.p,{children:`Whether this payment method token can be used only once or multiple times.`})}),_jsx(ResponseField,{name:`threeDSecureAuthentication`,type:`ThreeDSAuthenticationData`,id:`param-three-d-secure-authentication`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsxs(ResponseField,{name:`responseCode`,type:`ThreeDSecureStatus`,id:`param-response-code`,children:[_jsxs(_components.p,{children:[`Indicates the outcome of the 3D Secure authentication process.`,_jsx(_components.br,{}),`\n`,`Possible values:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AUTH_SUCCESS`}),`: The authentication was successful.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AUTH_FAILED`}),`: The authentication process failed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SKIPPED`}),`: The authentication was skipped.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CHALLENGE`}),`: A challenge was issued during the authentication process.`]}),`\n`]})]}),_jsx(ResponseField,{name:`reasonCode`,type:`string`,id:`param-reason-code`,children:_jsx(_components.p,{children:`An optional code indicating the reason for the outcome of the 3D Secure authentication.`})}),_jsx(ResponseField,{name:`reasonText`,type:`string`,id:`param-reason-text`,children:_jsx(_components.p,{children:`An optional text description providing further details about the reason for the authentication outcome.`})}),_jsx(ResponseField,{name:`protocolVersion`,type:`string`,id:`param-protocol-version`,children:_jsx(_components.p,{children:`Specifies the version of the 3D Secure protocol that was used.`})}),_jsxs(ResponseField,{name:`challengeIssued`,type:`boolean`,id:`param-challenge-issued`,children:[_jsx(_components.p,{children:`Indicates whether a challenge was issued as part of the authentication process.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: A challenge was issued.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: No challenge was issued.`]}),`\n`]})]})]})}),_jsx(ResponseField,{name:`vaultData`,type:`PrimerVaultData`,id:`param-vault-data`,children:_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`customerId`,type:`string`,id:`param-customer-id`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`customerId`}),` associated to the payment method, if vaulted.`]})})})})]})}),_jsx(ResponseField,{name:`handler`,type:`OnTokenizeSuccessHandler`,id:`param-handler-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`handleSuccess`,type:`() => void`,id:`param-handle-success`,children:_jsx(_components.p,{children:`Display a success screen.`})}),_jsx(ResponseField,{name:`handleFailure`,type:`(errorMessage: string) => void`,id:`param-handle-failure`,children:_jsxs(_components.p,{children:[`Display `,_jsx(_components.code,{children:`errorMessage`}),` as an error or failure message.`]})}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]}),_jsxs(_components.p,{children:[`Called after a customer submitted their payment data and the payment details have been tokenized.\nYou’ll receive a `,_jsx(_components.code,{children:`paymentMethodToken`}),` in `,_jsx(_components.code,{children:`onTokenizeSuccess()`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/create-a-payment`,children:`Create a payment request`}),` passing the `,_jsx(_components.code,{children:`paymentMethodToken`}),` to your backend`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If the payment is successful, call `,_jsx(_components.code,{children:`handler.handleSuccess()`}),` in order to display a success screen`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If the payment is unsuccessful, call `,_jsx(_components.code,{children:`handler.handleFailure(errorMessage)`}),` to display an error or failure message`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Payments API may return a new `,_jsx(_components.code,{children:`clientToken`}),` for additional steps (in the `,_jsx(_components.code,{children:`requiredActions`}),` on the response). In this case, call `,_jsx(_components.code,{children:`handler.continueWithNewClientToken(clientToken)`}),` to continue with the payment flow`]}),`\n`]}),`\n`]})]}),` `,_jsx(ResponseField,{name:`onResumeSuccess`,type:`(resumeToken: string, handler: PrimerResumeHandler) => void`,post:[`optional`],id:`param-on-resume-success`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`resumeToken`,type:`string`,id:`param-resume-token`,children:_jsxs(_components.p,{children:[`The resume token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/resume-a-payment`,children:`resume the payment flow`}),` on your backend.`]})}),_jsx(ResponseField,{name:`handler`,id:`param-handler-2`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`handleSuccess`,type:`() => void`,id:`param-handle-success-1`,children:_jsx(_components.p,{children:`Display a success screen.`})}),_jsx(ResponseField,{name:`handleFailure`,type:`(errorMessage: string) => void`,id:`param-handle-failure-1`,children:\"Display `errorMessage` as an error or failure message.\"}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token-1`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]})}),_jsxs(ResponseField,{name:`onResumePending`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,post:[`optional`],id:`param-on-resume-pending`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`MANUAL`})]})}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-1`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-3`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-1`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-1`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-1`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-4`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-1`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-1`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-2`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-5`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-1`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-1`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-3`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onCheckoutReceivedAdditionalInfo`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,post:[`optional`],id:`param-on-checkout-received-additional-info`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`AUTO`})]})}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-2`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-4`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-6`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-2`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-2`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-5`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-7`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-2`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-2`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-6`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-8`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-2`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-2`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-1`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-7`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onError`,type:`(error: PrimerError, checkoutData: PrimerCheckoutData | null, handler: PrimerErrorHandler | undefined) => void`,post:[`optional`],id:`param-on-error`,children:[_jsxs(_components.p,{children:[`This method will be called when an error occurs. It may return `,_jsx(_components.code,{children:`PrimerCheckoutData`}),` if the error occurs after the payment creation.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Please note, that if you `,_jsx(_components.code,{children:`override`}),` this method, you `,_jsx(_components.em,{children:`must`}),` call the `,_jsx(_components.code,{children:`errorHandler`}),` to finalize the flow.`]})}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`error`,type:`PrimerError`,required:true,id:`param-error`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`errorId`,type:`String`,required:true,id:`param-error-id`,children:_jsx(_components.p,{children:`A unique error identifier.`})}),_jsx(ResponseField,{name:`errorCode`,type:`String?`,id:`param-error-code`,children:_jsx(_components.p,{children:`A unique error code.`})}),_jsx(ResponseField,{name:`description`,type:`String`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`A error description.`})})]})}),_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-1`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-1`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-3`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-9`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-3`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-3`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-10`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-3`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-3`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-11`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-3`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-3`})]})})]})]})]})}),_jsx(ResponseField,{name:`handler`,type:`PrimerErrorHandler`,id:`param-handler-3`,children:_jsx(Expandable,{title:`Methods`,children:_jsx(ResponseField,{name:`showErrorMessage(errorMessage: String | null)`,id:`param-show-error-message-error-message-string-null`,children:_jsx(_components.p,{children:`Call with your custom error message.`})})})})]})]}),_jsx(ResponseField,{name:`onDismiss`,type:`() => void`,post:[`optional`],id:`param-on-dismiss`,children:_jsx(_components.p,{children:`This method will be called to notify you that the Primer SDK has been\ndismissed.`})}),_jsx(ResponseField,{name:`headlessUniversalCheckoutCallbacks`,type:`object`,id:`param-headless-universal-checkout-callbacks`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsxs(ResponseField,{name:`onAvailablePaymentMethodsLoad`,type:`(availablePaymentMethods: any[]) => void`,id:`param-on-available-payment-methods-load`,children:[_jsx(_components.p,{children:`Called when the available payment methods have been loaded. Takes an array of objects as its argument.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`paymentMethods`,type:`PaymentMethodInfo[]`,id:`param-payment-methods`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`type`,type:`PaymentMethodType`,required:true,id:`param-type`}),_jsx(ResponseField,{name:`managerType`,type:`\"CARD\" | \"NATIVE\" | \"REDIRECT\"`,required:true,id:`param-manager-type`,children:_jsx(_components.p,{children:`The type of payment manager to use.`})})]})})})]}),_jsxs(ResponseField,{name:`onTokenizationStart`,type:`(paymentMethodType: string) => void`,id:`param-on-tokenization-start`,children:[_jsx(_components.p,{children:`This method will be called with just before the tokenization gets started.`}),_jsx(Expandable,{title:`Attributes`,children:_jsx(ResponseField,{name:`paymentMethodType`,type:`String`,required:true,id:`param-payment-method-type-2`})})]}),_jsx(ResponseField,{name:`onTokenizationSuccess`,type:`(paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void`,id:`param-on-tokenization-success`,children:_jsx(_components.p,{children:`This method will be called when the tokenization was successful.`})}),_jsx(ResponseField,{name:`onCheckoutResume`,type:`(resumeToken: string, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void`,id:`param-on-checkout-resume`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`resumeToken`,type:`string`,id:`param-resume-token-1`,children:_jsxs(_components.p,{children:[`The resume token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/resume-a-payment`,children:`resume the payment flow`}),` on your backend.`]})}),_jsx(ResponseField,{name:`handler`,type:`PrimerHeadlessUniversalCheckoutResumeHandler`,id:`param-handler-4`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`complete`,type:`() => void`,id:`param-complete`,children:_jsx(_components.p,{children:`Complete the payment flow.`})}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token-2`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]})}),_jsxs(ResponseField,{name:`onCheckoutPending`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,id:`param-on-checkout-pending`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`MANUAL`})]})}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-4`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-8`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-12`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-4`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-4`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-9`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-13`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-4`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-4`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-10`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-14`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-4`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-4`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-2`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-11`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onCheckoutAdditionalInfo`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,id:`param-on-checkout-additional-info`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`AUTO`})]})}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-5`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-12`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-15`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-5`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-5`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-13`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-16`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-5`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-5`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-14`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-17`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-5`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-5`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-3`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-15`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onError`,type:`(error: PrimerError, checkoutData: PrimerCheckoutData | null) => void`,id:`param-on-error-1`,children:[_jsxs(_components.p,{children:[`This method will be called when an error occurs. It may return `,_jsx(_components.code,{children:`PrimerCheckoutData`}),` if the error occurs after the payment creation.`]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`error`,type:`PrimerError`,required:true,id:`param-error-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`errorId`,type:`String`,required:true,id:`param-error-id-1`,children:_jsx(_components.p,{children:`A unique error identifier.`})}),_jsx(ResponseField,{name:`errorCode`,type:`String?`,id:`param-error-code-1`,children:_jsx(_components.p,{children:`A unique error code.`})}),_jsx(ResponseField,{name:`description`,type:`String`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`A error description.`})})]})}),_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-2`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-3`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-2`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-2`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-6`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-18`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-6`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-6`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-19`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-6`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-6`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-20`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-6`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-6`})]})})]})]})]})})]})]}),_jsxs(ResponseField,{name:`onCheckoutComplete`,type:`(checkoutData: PrimerCheckoutData) => void`,id:`param-on-checkout-complete-1`,children:[_jsx(_components.p,{children:`Called when a payment has been created. Move on to next step in your checkout flow, such as showing a success message, etc.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-3`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-4`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-3`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-3`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-7`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-21`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-7`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-7`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-22`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-7`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-7`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-23`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-7`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-7`})]})})]})]})]})})})]}),_jsx(ResponseField,{name:`onBeforeClientSessionUpdate`,type:`() => void`,id:`param-on-before-client-session-update-1`,children:_jsx(_components.p,{children:`Called when the client session is in the process of being updated. Use it to show a loading indicator on your app.`})}),_jsx(ResponseField,{name:`onClientSessionUpdate`,type:`(clientSession: PrimerClientSession) => void`,id:`param-on-client-session-update-1`,children:_jsx(_components.p,{children:`Called when the client session has been updated by the checkout. Returns the updated client session which can be\nused to inform your UI. For example updating tax, shipping or discount amounts displayed to your customers.`})}),_jsxs(ResponseField,{name:`onBeforePaymentCreate`,type:`(checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void`,id:`param-on-before-payment-create-1`,children:[_jsxs(_components.p,{children:[`Called when a payment will be created.\nUse as an opportunity to update UI accordingly - for example, to display a “loading” component.\nThe `,_jsx(_components.code,{children:`handler`}),` must be used to then abort or continue with payment creation.\nPrimer will continue with payment creation if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is not implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`checkoutPaymentMethodData`,type:`PrimerCheckoutPaymentMethodData`,id:`param-checkout-payment-method-data-1`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`paymentMethodType`,type:`String`,id:`param-payment-method-type-3`,children:_jsxs(_components.p,{children:[`The type of the payment method Primer will use for payment creation, one of `,_jsx(_components.a,{href:`/sdk/web/v2.x.x/constants/payment-method-types`,children:`PaymentMethodType`})]})}),_jsx(ResponseField,{name:`paymentMethod`,type:`String`,id:`param-payment-method-1`,children:_jsx(_components.p,{children:`The name of the payment method Primer will use for payment creation.`})})]})}),_jsxs(ResponseField,{name:`handler`,type:`PrimerPaymentCreationHandler`,id:`param-handler-5`,children:[_jsxs(_components.p,{children:[`Provides two methods to continue or abort the payment.`,_jsx(`br`,{}),` You MUST call one of the methods of the handler if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`abortPaymentCreation`,type:`(errorMessage: string | null) => void`,id:`param-abort-payment-creation-1`,children:_jsx(_components.p,{children:`Choose to abort a payment.`})}),_jsx(ResponseField,{name:`continuePaymentCreation`,type:`() => void`,id:`param-continue-payment-creation-1`,children:_jsx(_components.p,{children:`Choose to continue with payment creation`})})]})]})]})]}),_jsx(ResponseField,{name:`onPreparationStart`,type:`(paymentMethodType: string) => void`,id:`param-on-preparation-start`,children:_jsx(_components.p,{children:`This method will be called when the SDK starts preparing to tokenize the payment method.`})}),_jsx(ResponseField,{name:`onPaymentMethodShow`,type:`(paymentMethodType: string) => void`,id:`param-on-payment-method-show`,children:_jsx(_components.p,{children:`Called when the payment method is displayed.`})})]})})]})]})}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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"PrimerSettings","og:title":"React Native SDK PrimerSettings | Primer","description":null,"href":"/sdk/react-native/v2.x.x/common-objects/PrimerSettings"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[72644,72645,""],[72754,72794,""],[73349,73350,""],[74982,75326,""],[75428,75429,""],[75632,75725,"}),_jsx(ResponseFiel"],[75841,75842,""],[76097,76211,""],[77116,78201,""],[78579,78580,""],[78712,78713,""],[78833,79052,"}),_jsx(ResponseFiel"],[79170,79171,""],[79259,79533,""],[79882,79884,""],[84586,96449,""],[96491,96816,"The name of the merchant.`})})})]}),_jsxs(ResponseField,{name:`IPrimerFullMandateData`,id:`param-i-primer-full-mandate-d"],[96861,97034,"Data for the mandate allowing you to specify the full mandate.`}),_jsxs(Expandab"],[97093,97138,"fullMandateText`,type:`String`,post:[`required`],id:`param-full-mandate-text`,ch"],[97179,97345,"string resource pointing to the full mandate. Supported on\nAndroid and iOS.`})}),_jsx(ResponseField,{name:`fullMandateStringResourceName`,type:`String`,post:[`optional`],id:`param-full-mandate-string-resource-name`,child"],[97395,102013,"Android string resource pointing to the full\nmandate. Supported only on Android.`})})]})]})]})]})]})]})]})]}),_jsx(ResponseField,{name:`uiOptions`,type:`IPrimerUIOptions`,post:[`optional`],id:`param-ui-options`,children:"],[102064,103877,"(ResponseField,{name:`isInitScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-init-screen-enabled`,children:_jsxs(_components.p,{children:[`Set to `,"],[103920,104177," to hide the loading screen before the Universal Checkout or the Vault Manager. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isSuccessScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-success-screen-enabled`,children:_jsxs(_components.p,{children:[`Set to `,_jsx(_components.code,{children:`false`}),` to hide the screen after a successful payment, or tokenization on the vault flow. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsx(ResponseField,{name:`isErrorScreenEnabled`,type:`Boolean`,post:[`optional`],id:`param-is-error-screen-enabled`,"],[104218,105447,"Set to `,_jsx(_components.code,{children:`false`}),` to hide the error screen when an error occurs. Defaults to `,_jsx(_components.code,{children:`true`}),`.`]})}),_jsxs(ResponseField,{name:`dismissalMechanism`,type:`DismissalMechanism[]`,post:[`Default: [gestures]`],id:`param-dismissal-mechanism`,children:[_jsx(_components.p,{children:`Set the mechanism for dismissing Universal Checkout. Options are:`}),_jsxs(_compo"],[105503,108827,"_jsx(_components.code,{children:`gestures`}),`: The dialog can be dismissed by tapping outside or by swiping down.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`closeButton`}),`: A close button is provided, allowing users to dismiss the dialog manually.`]}),`\n`]})]}),_jsxs(ResponseField,{name:`cardFormUIOptions`,type:`IPrimerCardFormUIOptions`,post:[`optional`],id:`param-card-form-ui-options`,children:[_jsx(_components.p,{children:`Configure the card form UI options.`}),_jsx(Expandable,{t"],[108871,111252,"_jsx(ResponseField,{name:`payButtonAddNewCard`,type:`Boolean`,post:[`optional`],id:`param-pay-button-add-new-card`,children:_jsx(_components.p,{children:`When set to true, the Drop-In’s card form pay button will show “Add new card”; otherwise it will show “Pay $x.xx”.`})})})]})]})}),_jsxs(ResponseField,{name:`clientSessionCachingEnabled`,type:`boolean`,post:[`optional`],id:`param-client-session-caching-enabled`,children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Before enabling flag to true it’s recommended to reach out to Primer support\nfor additional verification since there are edge cases where it’s not advised.`})}),_jsx(_components.p,{children:`Indicates whether client session caching is enabled.`}),_jsxs(_components.p,{children:[`When set to `,_jsx(_components.code,{children:`true`}),`, responses from the server will be cached on the client side, allowing for faster subsequent\naccess to the same data within the cache duration. When set to `,_jsx(_components.code,{children:`false`}),`, every request to the server will be\nprocessed without utilizing any client-side cache, ensuring that the client always receives the most up-to-date data.`]})]}),_jsxs(ResponseField,{name:`apiVersion`,type:`PrimerApiVersion`,post:[`optional`],id:`param-api-version"],[111294,135410,"Indicates the API version to use when interacting with the Primer backend. Options are:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`2.4`}),` - will use ApiVersion 2.4`]}),`\n`]}),_jsxs(_components.p,{children:[`Note that this is optional, if a value is not supplied, ApiVersion `,_jsx(_components.code,{children:`V2.4`}),` will be used by default.`]})]}),_jsxs("],[135569,135613,"post:[`optional`],id:`param-on-before-payment-create`,childr"],[136207,136209,""],[136355,136357,""],[136667,136669,""],[136878,136880,""],[137301,137303,""],[137480,137482,""],[137585,137701,"s(ResponseField,{name:`onCheckoutComplete`,type:`(checkoutData: PrimerCheckoutData) => void`,post:[`optional`],id:`param-on-checkout-complete`,children:[_jsx(_components.p,{children:`Called when a payment has been created. Move on to next step in your checkout flow, such as showing a success message, etc.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`"],[137741,138483,"Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-1`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-2`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference`})]})})]})]})]})})})]}),` `,_jsxs(ResponseField,{name:`onTokenizeSuccess`,type:`(paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerTokenizationHandler) => void`,post:[`optional`],id:`param-on-tokenize-success`,children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`If you set `,_jsx(_components.code,{children:`paymentHandling`}),` to `,_jsx(_components.code,{children:`MANUAL`}),`, implementing this is mandatory.`]})}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`paymentMethodTokenData`,type:`PrimerPaymentMethodTokenData`,id:`param-payment-method-token-data`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`analyticsId`,type:`string`,id:`param-analytics-id`,children:_jsx(_components.p,{children:`An unique identifier for the payment instrument token.`})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Payment method identifier.`})}),_jsx(ResponseField,{name:`isVaulted`,type:`boolean`,id:`param-is-vaulted`,children:_jsx(_components.p,{children:`Indicating the use of vaulted instruments for the payment method.`})}),_jsxs(ResponseField,{name:`paymentInstrumentData`,type:`PaymentInstrumentData`,id:`param-payment-instrument-data`,children:[_jsx(_components.p,{children:`Additional information about the payment instrument.\nDepending on the payment method type, only some of the following properties are present on the object.`}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`network`,type:`string?`,id:`param-network`,children:_jsx(_components.p,{children:`The human readable representation of card network (e.g., Visa, Mastercard).`})}),_jsx(ResponseField,{name:`cardholderName`,type:`string?`,id:`param-cardholder-name`,children:_jsx(_components.p,{children:`The name of the cardholder.`})}),_jsx(ResponseField,{name:`first6Digits`,type:`number?`,id:`param-first6-digits`,children:_jsx(_components.p,{children:`The first 6 digits of the card number.`})}),_jsx(ResponseField,{name:`firstDigits`,type:`number?`,id:`param-first-digits`,children:_jsx(_components.p,{children:`The first 6 or 8 digits of the card number within PCI guidelines.`})}),_jsx(ResponseField,{name:`last4Digits`,type:`number?`,id:`param-last4-digits`,children:_jsx(_components.p,{children:`The last 4 digits of the card number.`})}),_jsx(ResponseField,{name:`accountNumberLast4Digits`,type:`number?`,id:`param-account-number-last4-digits`,children:_jsx(_components.p,{children:`The last 4 digits of the account number.`})}),_jsx(ResponseField,{name:`expirationMonth`,type:`number?`,id:`param-expiration-month`,children:_jsx(_components.p,{children:`The expiration month of the card, in 2-digit format.`})}),_jsx(ResponseField,{name:`expirationYear`,type:`number?`,id:`param-expiration-year`,children:_jsx(_components.p,{children:`The expiration year of the card, in 4-digit format.`})}),_jsxs(ResponseField,{name:`externalPayerInfo`,type:`IExternalPayerInfo?`,id:`param-external-payer-info`,children:[_jsx(_components.p,{children:`Additional PayPal data.`}),_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsx(_components.p,{children:`The payer’s email address.`})}),_jsx(ResponseField,{name:`externalPayerId`,type:`string?`,id:`param-external-payer-id`,children:_jsx(_components.p,{children:`The payer’s unique ID.`})}),_jsx(ResponseField,{name:`firstName`,type:`string?`,id:`param-first-name`,children:_jsx(_components.p,{children:`The payer’s given name.`})}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:_jsx(_components.p,{children:`The payer’s given surname.`})})]})]}),_jsx(ResponseField,{name:`klarnaCustomerToken`,type:`string?`,id:`param-klarna-customer-token`}),_jsx(ResponseField,{name:`sessionData`,type:`IKlarnaSessionData?`,id:`param-session-data`}),_jsx(ResponseField,{name:`paymentMethodType`,type:`string?`,id:`param-payment-method-type-1`,children:_jsxs(_components.p,{children:[`A unique string identifier for the payment method. (e.g. `,_jsx(_components.code,{children:`PAYPAL`}),`, `,_jsx(_components.code,{children:`GOOGLE_PAY`}),`)`]})}),_jsxs(ResponseField,{name:`binData`,type:`IBinData?`,id:`param-bin-data`,children:[_jsx(_components.p,{children:`Additional BIN data.`}),_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`network`,type:`string?`,id:`param-network-1`,children:_jsx(_components.p,{children:`The card network (e.g., VISA, MASTERCARD, AMEX).`})})})]}),_jsx(ResponseField,{name:`bankName`,type:`string?`,id:`param-bank-name`,children:_jsx(_components.p,{children:`The name of the bank.`})})]})]}),_jsxs(ResponseField,{name:`paymentInstrumentType`,type:`string`,id:`param-payment-instrument-type`,children:[_jsx(_components.p,{children:`The type of the payment instrument.`}),_jsx(_components.p,{children:`Example of possible values (new values could be added as we add new payment methods):`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`APPLE_PAY`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CARD_OFF_SESSION_PAYMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`GOOGLE_PAY`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`KLARNA_CUSTOMER_TOKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`OFF_SESSION_PAYMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYMENT_CARD`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYPAL_BILLING_AGREEMENT`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAYPAL_ORDER`})}),`\n`]})]}),_jsx(ResponseField,{name:`token`,type:`string`,required:true,id:`param-token`,children:_jsxs(_components.p,{children:[`The payment instrument token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/create-a-payment`,children:`create a payment request`}),` from your backend.`]})}),_jsx(ResponseField,{name:`tokenType`,type:`\"SINGLE_USE\" | \"MULTI_USE\"`,id:`param-token-type`,children:_jsx(_components.p,{children:`Whether this payment method token can be used only once or multiple times.`})}),_jsx(ResponseField,{name:`threeDSecureAuthentication`,type:`ThreeDSAuthenticationData`,id:`param-three-d-secure-authentication`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsxs(ResponseField,{name:`responseCode`,type:`ThreeDSecureStatus`,id:`param-response-code`,children:[_jsxs(_components.p,{children:[`Indicates the outcome of the 3D Secure authentication process.`,_jsx(_components.br,{}),`\n`,`Possible values:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AUTH_SUCCESS`}),`: The authentication was successful.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AUTH_FAILED`}),`: The authentication process failed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SKIPPED`}),`: The authentication was skipped.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CHALLENGE`}),`: A challenge was issued during the authentication process.`]}),`\n`]})]}),_jsx(ResponseField,{name:`reasonCode`,type:`string`,id:`param-reason-code`,children:_jsx(_components.p,{children:`An optional code indicating the reason for the outcome of the 3D Secure authentication.`})}),_jsx(ResponseField,{name:`reasonText`,type:`string`,id:`param-reason-text`,children:_jsx(_components.p,{children:`An optional text description providing further details about the reason for the authentication outcome.`})}),_jsx(ResponseField,{name:`protocolVersion`,type:`string`,id:`param-protocol-version`,children:_jsx(_components.p,{children:`Specifies the version of the 3D Secure protocol that was used.`})}),_jsxs(ResponseField,{name:`challengeIssued`,type:`boolean`,id:`param-challenge-issued`,children:[_jsx(_components.p,{children:`Indicates whether a challenge was issued as part of the authentication process.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: A challenge was issued.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),`: No challenge was issued.`]}),`\n`]})]})]})}),_jsx(ResponseField,{name:`vaultData`,type:`PrimerVaultData`,id:`param-vault-data`,children:_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`customerId`,type:`string`,id:`param-customer-id`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`customerId`}),` associated to the payment method, if vaulted.`]})})})})]})}),_jsx(ResponseField,{name:`handler`,type:`OnTokenizeSuccessHandler`,id:`param-handler-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`handleSuccess`,type:`() => void`,id:`param-handle-success`,children:_jsx(_components.p,{children:`Display a success screen.`})}),_jsx(ResponseField,{name:`handleFailure`,type:`(errorMessage: string) => void`,id:`param-handle-failure`,children:_jsxs(_components.p,{children:[`Display `,_jsx(_components.code,{children:`errorMessage`}),` as an error or failure message.`]})}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]}),_jsxs(_components.p,{children:[`Called after a customer submitted their payment data and the payment details have been tokenized.\nYou’ll receive a `,_jsx(_components.code,{children:`paymentMethodToken`}),` in `,_jsx(_components.code,{children:`onTokenizeSuccess()`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/create-a-payment`,children:`Create a payment request`}),` passing the `,_jsx(_components.code,{children:`paymentMethodToken`}),` to your backend`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If the payment is successful, call `,_jsx(_components.code,{children:`handler.handleSuccess()`}),` in order to display a success screen`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If the payment is unsuccessful, call `,_jsx(_components.code,{children:`handler.handleFailure(errorMessage)`}),` to display an error or failure message`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Payments API may return a new `,_jsx(_components.code,{children:`clientToken`}),` for additional steps (in the `,_jsx(_components.code,{children:`requiredActions`}),` on the response). In this case, call `,_jsx(_components.code,{children:`handler.continueWithNewClientToken(clientToken)`}),` to continue with the payment flow`]}),`\n`]}),`\n`]})]}),` `,_jsx(ResponseField,{name:`onResumeSuccess`,type:`(resumeToken: string, handler: PrimerResumeHandler) => void`,post:[`optional`],id:`param-on-resume-success`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`resumeToken`,type:`string`,id:`param-resume-token`,children:_jsxs(_components.p,{children:[`The resume token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/resume-a-payment`,children:`resume the payment flow`}),` on your backend.`]})}),_jsx(ResponseField,{name:`handler`,id:`param-handler-2`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`handleSuccess`,type:`() => void`,id:`param-handle-success-1`,children:_jsx(_components.p,{children:`Display a success screen.`})}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token-1`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]})}),_jsxs(ResponseField,{name:`onResumePending`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,post:[`optional`],id:`param-on-resume-pending`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`MANUAL`})]})}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-1`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-3`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-1`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-1`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-1`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-4`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-1`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-1`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-2`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-5`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-1`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-1`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-3`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onCheckoutReceivedAdditionalInfo`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,post:[`optional`],id:`param-on-checkout-received-additional-info`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`AUTO`})]})}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-2`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-4`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-6`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-2`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-2`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-5`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-7`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-2`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-2`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-6`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-8`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-2`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-2`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-1`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-7`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onError`,type:`(error: PrimerError, checkoutData: PrimerCheckoutData | null, handler: PrimerErrorHandler | undefined) => void`,post:[`optional`],id:`param-on-error`,children:[_jsxs(_components.p,{children:[`This method will be called when an error occurs. It may return `,_jsx(_components.code,{children:`PrimerCheckoutData`}),` if the error occurs after the payment creation.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Please note, that if you `,_jsx(_components.code,{children:`override`}),` this method, you `,_jsx(_components.em,{children:`must`}),` call the `,_jsx(_components.code,{children:`errorHandler`}),` to finalize the flow.`]})}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`error`,type:`PrimerError`,required:true,id:`param-error`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`errorId`,type:`String`,required:true,id:`param-error-id`,children:_jsx(_components.p,{children:`A unique error identifier.`})}),_jsx(ResponseField,{name:`errorCode`,type:`String?`,id:`param-error-code`,children:_jsx(_components.p,{children:`A unique error code.`})}),_jsx(ResponseField,{name:`description`,type:`String`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`A error description.`})})]})}),_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-1`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-1`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-1`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-3`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-9`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-3`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-3`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-10`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-3`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-3`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-11`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-3`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-3`})]})})]})]})]})}),_jsx(ResponseField,{name:`handler`,type:`PrimerErrorHandler`,id:`param-handler-3`,children:_jsx(Expandable,{title:`Methods`,children:_jsx(ResponseField,{name:`showErrorMessage(errorMessage: String | null)`,id:`param-show-error-message-error-message-string-null`,children:_jsx(_components.p,{children:`Call with your custom error message.`})})})})]})]}),_jsx(ResponseField,{name:`onDismiss`,type:`() => void`,post:[`optional`],id:`param-on-dismiss`,children:_jsx(_components.p,{children:`This method will be called to notify you that the Primer SDK has been\ndismissed.`})}),_jsx(ResponseField,{name:`headlessUniversalCheckoutCallbacks`,type:`object`,id:`param-headless-universal-checkout-callbacks`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsxs(ResponseField,{name:`onAvailablePaymentMethodsLoad`,type:`(availablePaymentMethods: any[]) => void`,id:`param-on-available-payment-methods-load`,children:[_jsx(_components.p,{children:`Called when the available payment methods have been loaded. Takes an array of objects as its argument.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`paymentMethods`,type:`PaymentMethodInfo[]`,id:`param-payment-methods`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`type`,type:`PaymentMethodType`,required:true,id:`param-type`}),_jsx(ResponseField,{name:`managerType`,type:`\"CARD\" | \"NATIVE\" | \"REDIRECT\"`,required:true,id:`param-manager-type`,children:_jsx(_components.p,{children:`The type of payment manager to use.`})})]})})})]}),_jsxs(ResponseField,{name:`onTokenizationStart`,type:`(paymentMethodType: string) => void`,id:`param-on-tokenization-start`,children:[_jsx(_components.p,{children:`This method will be called with just before the tokenization gets started.`}),_jsx(Expandable,{title:`Attributes`,children:_jsx(ResponseField,{name:`paymentMethodType`,type:`String`,required:true,id:`param-payment-method-type-2`})})]}),_jsx(ResponseField,{name:`onTokenizationSuccess`,type:`(paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void`,id:`param-on-tokenization-success`,children:_jsx(_components.p,{children:`This method will be called when the tokenization was successful.`})}),_jsx(ResponseField,{name:`onCheckoutResume`,type:`(resumeToken: string, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void`,id:`param-on-checkout-resume`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`resumeToken`,type:`string`,id:`param-resume-token-1`,children:_jsxs(_components.p,{children:[`The resume token you can use to `,_jsx(_components.a,{href:`/api-reference/v2.4/api-reference/payments-api/resume-a-payment`,children:`resume the payment flow`}),` on your backend.`]})}),_jsx(ResponseField,{name:`handler`,type:`PrimerHeadlessUniversalCheckoutResumeHandler`,id:`param-handler-4`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`complete`,type:`() => void`,id:`param-complete`,children:_jsx(_components.p,{children:`Complete the payment flow.`})}),_jsx(ResponseField,{name:`continueWithNewClientToken`,type:`(clientToken: string) => void`,id:`param-continue-with-new-client-token-2`,children:_jsxs(_components.p,{children:[`Continue the payment flow using the given `,_jsx(_components.code,{children:`clientToken`}),`.`]})})]})})]})}),_jsxs(ResponseField,{name:`onCheckoutPending`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,id:`param-on-checkout-pending`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`MANUAL`})]})}),_jsx(Expandable,{title:`Properties`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-4`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-8`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-12`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-4`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-4`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-9`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-13`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-4`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-4`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-4`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-10`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-14`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-4`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-4`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-2`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-11`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onCheckoutAdditionalInfo`,type:`(additionalInfo: PrimerCheckoutAdditionalInfo) => void`,id:`param-on-checkout-additional-info`,children:[_jsx(_components.p,{children:`This callback is triggered when the payment is not authorized as it’s an asynchronous alternative payment method, such as a voucher payment method.`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`This method will be called only when using the `,_jsx(_components.code,{children:`PrimerPaymentHandling`}),` is set to `,_jsx(_components.code,{children:`AUTO`})]})}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`additionalInfo`,type:`PrimerCheckoutAdditionalInfo`,required:true,id:`param-additional-info-5`,children:_jsxs(Expandable,{title:`variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`XenditCheckoutVoucherAdditionalInfo`,id:`param-additional-info-name-12`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-15`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-5`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-5`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`PromptPayCheckoutAdditionalInfo`,id:`param-additional-info-name-13`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-16`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-5`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-5`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-5`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`additionalInfoName`,type:`MultibancoCheckoutAdditionalInfo`,id:`param-additional-info-name-14`,children:_jsx(_components.p,{children:`The name of this additional info.`})}),_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-17`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-5`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-5`})]})}),_jsx(ResponseField,{name:`DisplayStripeAchMandateAdditionalInfo`,id:`param-display-stripe-ach-mandate-additional-info-3`,children:_jsx(Expandable,{title:`Properties`,defaultOpen:true,children:_jsx(ResponseField,{name:`additionalInfoName`,type:`DisplayStripeAchMandateAdditionalInfo`,id:`param-additional-info-name-15`,children:_jsx(_components.p,{children:`The name of this additional info.`})})})})]})})})]}),_jsxs(ResponseField,{name:`onError`,type:`(error: PrimerError, checkoutData: PrimerCheckoutData | null) => void`,id:`param-on-error-1`,children:[_jsxs(_components.p,{children:[`This method will be called when an error occurs. It may return `,_jsx(_components.code,{children:`PrimerCheckoutData`}),` if the error occurs after the payment creation.`]}),_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`error`,type:`PrimerError`,required:true,id:`param-error-1`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`errorId`,type:`String`,required:true,id:`param-error-id-1`,children:_jsx(_components.p,{children:`A unique error identifier.`})}),_jsx(ResponseField,{name:`errorCode`,type:`String?`,id:`param-error-code-1`,children:_jsx(_components.p,{children:`A unique error code.`})}),_jsx(ResponseField,{name:`description`,type:`String`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`A error description.`})})]})}),_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-2`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-2`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-3`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-2`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-2`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-6`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-18`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-6`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-6`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-19`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-6`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-6`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-6`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-20`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-6`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-6`})]})})]})]})]})})]})]}),_jsxs(ResponseField,{name:`onCheckoutComplete`,type:`(checkoutData: PrimerCheckoutData) => void`,id:`param-on-checkout-complete-1`,children:[_jsx(_components.p,{children:`Called when a payment has been created. Move on to next step in your checkout flow, such as showing a success message, etc.`}),_jsx(Expandable,{title:`Parameters`,children:_jsx(ResponseField,{name:`checkoutData`,type:`PrimerCheckoutData`,id:`param-checkout-data-3`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`payment`,type:`IPrimerCheckoutDataPayment`,id:`param-payment-3`,children:_jsxs(Expandable,{title:`Properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-4`,children:_jsx(_components.p,{children:`Primer’s unique identifier for the payment.`})}),_jsx(ResponseField,{name:`orderId`,type:`string`,id:`param-order-id-3`,children:_jsx(_components.p,{children:`Your order identifier as provided in the client session.`})}),_jsx(ResponseField,{name:`paymentFailureReason`,type:`PrimerPaymentErrorCode`,id:`param-payment-failure-reason-3`,children:_jsxs(_components.p,{children:[`Can be either `,_jsx(_components.code,{children:`payment-failed`}),` which is an error from the PSP side, or `,_jsx(_components.code,{children:`cancelled-by-customer`}),` which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.`]})})]})}),_jsxs(ResponseField,{name:`additionalInfo`,type:`object`,id:`param-additional-info-7`,children:[_jsx(_components.p,{children:`Custom information, that depends on the payment method.`}),_jsxs(Expandable,{title:`Variations`,children:[_jsx(ResponseField,{name:`XenditCheckoutVoucherAdditionalInfo`,id:`param-xendit-checkout-voucher-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-21`}),_jsx(ResponseField,{name:`couponCode`,type:`String`,required:true,id:`param-coupon-code-7`}),_jsx(ResponseField,{name:`retailerName`,type:`String`,required:true,id:`param-retailer-name-7`})]})}),_jsx(ResponseField,{name:`PromptPayCheckoutAdditionalInfo`,id:`param-prompt-pay-checkout-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-22`}),_jsx(ResponseField,{name:`qrCodeUrl`,type:`String?`,id:`param-qr-code-url-7`}),_jsx(ResponseField,{name:`qrCodeBase64`,type:`String`,required:true,id:`param-qr-code-base64-7`})]})}),_jsx(ResponseField,{name:`MultibancoCheckoutAdditionalInfo`,id:`param-multibanco-checkout-additional-info-7`,children:_jsxs(Expandable,{title:`Properties`,defaultOpen:true,children:[_jsx(ResponseField,{name:`expiresAt`,type:`String`,required:true,id:`param-expires-at-23`}),_jsx(ResponseField,{name:`entity`,type:`String`,required:true,id:`param-entity-7`}),_jsx(ResponseField,{name:`reference`,type:`String`,required:true,id:`param-reference-7`})]})})]})]})]})})})]}),_jsx(ResponseField,{name:`onBeforeClientSessionUpdate`,type:`() => void`,id:`param-on-before-client-session-update`,children:_jsx(_components.p,{children:`Called when the client session is in the process of being updated. Use it to show a loading indicator on your app.`})}),_jsx(ResponseField,{name:`onClientSessionUpdate`,type:`(clientSession: PrimerClientSession) => void`,id:`param-on-client-session-update`,children:_jsx(_components.p,{children:`Called when the client session has been updated by the checkout. Returns the updated client session which can be\nused to inform your UI. For example updating tax, shipping or discount amounts displayed to your customers.`})}),_jsxs(ResponseField,{name:`onBeforePaymentCreate`,type:`(checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void`,id:`param-on-before-payment-create-1`,children:[_jsxs(_components.p,{children:[`Called when a payment will be created.\nUse as an opportunity to update UI accordingly - for example, to display a “loading” component.\nThe `,_jsx(_components.code,{children:`handler`}),` must be used to then abort or continue with payment creation.\nPrimer will continue with payment creation if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is not implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`checkoutPaymentMethodData`,type:`PrimerCheckoutPaymentMethodData`,id:`param-checkout-payment-method-data-1`,children:_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`paymentMethodType`,type:`String`,id:`param-payment-method-type-3`,children:_jsxs(_components.p,{children:[`The type of the payment method Primer will use for payment creation, one of `,_jsx(_components.a,{href:`/sdk/web/v2.x.x/constants/payment-method-types`,children:`PaymentMethodType`})]})}),_jsx(ResponseField,{name:`paymentMethod`,type:`String`,id:`param-payment-method-1`,children:_jsx(_components.p,{children:`The name of the payment method Primer will use for payment creation.`})})]})}),_jsxs(ResponseField,{name:`handler`,type:`PrimerPaymentCreationHandler`,id:`param-handler-5`,children:[_jsxs(_components.p,{children:[`Provides two methods to continue or abort the payment.`,_jsx(`br`,{}),` You MUST call one of the methods of the handler if `,_jsx(_components.code,{children:`onBeforePaymentCreate`}),` is implemented.`]}),_jsxs(Expandable,{title:`Parameters`,children:[_jsx(ResponseField,{name:`abortPaymentCreation`,type:`(errorMessage: string | null) => void`,id:`param-abort-payment-creation-1`,children:_jsx(_components.p,{children:`Choose to abort a payment.`})}),_jsx(ResponseField,{name:`continuePaymentCreation`,type:`() => void`,id:`param-continue-payment-creation-1`,children:_jsx(_components.p,{children:`Choose to continue with payment creation`})})]})]})]})]}),_jsx(ResponseField,{name:`onPreparationStart`,type:`(paymentMethodType: string) => void`,id:`param-on-preparation-start`,children:_jsx(_components.p,{children:`This method will be called when the SDK starts preparing to tokenize the payment method.`})}),_jsx(ResponseField,{name:`onPaymentMethodShow`,type:`(paymentMethodType: string) => void`,id:`param-on-payment-method-show`,children:_jsx(_components.p,{children:`Called when the payment method is displayed.`})})]})})]})]})}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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Appearance Mode Configuration","slug":"appearance-mode-configuration","depth":2,"children":[{"title":"Example","slug":"example","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/primer-cc826789/f9b3e76a02542eba/js/codeblocklayout.js"],"subdomain":"primer-cc826789","siteName":"Primer","title":"React Native SDK PrimerSettings | Primer","navMaps":{"firstHrefInVersion":{"v2.x.x":{"href":"/sdk/react-native/v2.x.x/common-objects/PrimerSettings","matchLevel":0},"v2.4":{"href":"/api-reference/get-started/v2.4/overview","matchLevel":4},"v2.3":{"href":"/api-reference/get-started/v2.3/overview","matchLevel":4},"v2.2":{"href":"/api-reference/get-started/v2.2/overview","matchLevel":4},"v2.1":{"href":"/api-reference/get-started/v2.1/overview","matchLevel":4},"v2":{"href":"/api-reference/get-started/v2/overview","matchLevel":4},"3.0.0-beta":{"href":"/sdk/ios-checkout/v3.0.0-beta/installation","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T15:06:55.854Z","originalFileLocation":"sdk/react-native/v2.x.x/common-objects/PrimerSettings.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Primer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_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=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"React Native SDK PrimerSettings | Primer\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Primer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://primer-cc826789.mintlify.site/docs/_mintlify/api/og/v2?division=Common+objects\u0026amp;title=PrimerSettings\u0026amp;theme=115d40077fafa3c430405b4c\u0026amp;signature=cae8723bd65e3c020d009b19d9b2bbbe2ed287468adfd41e56951143f149bab6\">\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=\"React Native SDK PrimerSettings | Primer\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://primer-cc826789.mintlify.site/docs/_mintlify/api/og/v2?division=Common+objects\u0026amp;title=PrimerSettings\u0026amp;theme=115d40077fafa3c430405b4c\u0026amp;signature=cae8723bd65e3c020d009b19d9b2bbbe2ed287468adfd41e56951143f149bab6\">\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=\"/docs/mintlify-assets/_mintlify/favicons/primer-cc826789/9meORDX7HOYVFtwE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Primer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF7C4F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://primer.io/#organization\",\"name\":\"Primer\",\"url\":\"https://primer.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/primer-cc826789/fMxS38v0lFyMKyzD/logo/primer_logo.svg?fit=max\u0026auto=format\u0026n=fMxS38v0lFyMKyzD\u0026q=85\u0026s=0010b4ac2a8a90e656efd18fb57c9366\"}},{\"@type\":\"WebSite\",\"@id\":\"https://primer.io/docs#website\",\"name\":\"Primer\",\"url\":\"https://primer.io/docs\",\"publisher\":{\"@id\":\"https://primer.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings#webpage\",\"url\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings\",\"name\":\"PrimerSettings\",\"dateModified\":\"2026-11-06T15:06:55.854Z\",\"isPartOf\":{\"@id\":\"https://primer.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"React Native SDK\",\"item\":\"https://primer.io/docs/sdk/react-native/v2.x.x/installation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PrimerSettings\",\"item\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings#article\",\"headline\":\"PrimerSettings\",\"name\":\"PrimerSettings\",\"url\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings\",\"mainEntityOfPage\":{\"@id\":\"https://primer.io/docs/sdk/react-native/v2.x.x/common-objects/PrimerSettings#webpage\"},\"dateModified\":\"2026-11-06T15:06:55.854Z\",\"publisher\":{\"@id\":\"https://primer.io/#organization\"},\"isPartOf\":{\"@id\":\"https://primer.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Primer\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Primer","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home"}]},{"tab":"Documentation","pages":[{"title":"Documentation","href":"/get-started/overview"}]},{"tab":"API Reference","versions":[{"version":"v2.4","tag":"GA","anchors":[{"anchor":"Getting started","icon":"rocket","groups":[{"group":"Getting started","pages":[{"title":"Overview","href":"/api-reference/get-started/v2.4/overview"},{"title":"API lifecycle","sidebarTitle":"API lifecycle","href":"/api-reference/get-started/api-lifecycle"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/api-reference/get-started/authentication"},{"title":"API Responses","sidebarTitle":"API responses","href":"/api-reference/get-started/api-responses"},{"title":"Idempotency Key","sidebarTitle":"Idempotency key","href":"/api-reference/get-started/idempotency-key"},{"title":"Request requirements","sidebarTitle":"Request requirements","href":"/api-reference/get-started/request-requirements"},{"title":"Configure Webhooks","sidebarTitle":"Configure webhooks","href":"/api-reference/get-started/configure-webhooks"}]}]},{"anchor":"API reference","icon":"book-open","groups":[{"group":"API reference","pages":[{"group":"Client Session API","pages":[{"title":"Retrieve a client session","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml get /client-session","href":"/api-reference/v2.4/api-reference/client-session-api/retrieve-a-client-session"},{"title":"Create a client session","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /client-session","href":"/api-reference/v2.4/api-reference/client-session-api/create-a-client-session"},{"title":"Update client session","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml patch /client-session","href":"/api-reference/v2.4/api-reference/client-session-api/update-client-session"}]},{"group":"Payments API","pages":[{"title":"Search \u0026 list payments","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml get /payments","href":"/api-reference/v2.4/api-reference/payments-api/search-\u0026-list-payments"},{"title":"Create a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments","href":"/api-reference/v2.4/api-reference/payments-api/create-a-payment"},{"title":"Authorize a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/authorize","href":"/api-reference/v2.4/api-reference/payments-api/authorize-a-payment"},{"title":"Capture a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/capture","href":"/api-reference/v2.4/api-reference/payments-api/capture-a-payment"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/cancel","href":"/api-reference/v2.4/api-reference/payments-api/cancel-a-payment"},{"title":"Refund a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/refund","href":"/api-reference/v2.4/api-reference/payments-api/refund-a-payment"},{"title":"Resume a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/resume","href":"/api-reference/v2.4/api-reference/payments-api/resume-a-payment"},{"title":"Adjust authorized amount","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payments/{id}/adjust-authorization","href":"/api-reference/v2.4/api-reference/payments-api/adjust-authorized-amount"},{"title":"Get a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml get /payments/{id}","href":"/api-reference/v2.4/api-reference/payments-api/get-a-payment"}]},{"group":"Payment Attempts API","pages":[{"title":"Approve a payment attempt","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payment-attempts/{id}/approve","href":"/api-reference/v2.4/api-reference/payment-attempts-api/approve-a-payment-attempt"},{"title":"Abort a payment attempt","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payment-attempts/{id}/abort","href":"/api-reference/v2.4/api-reference/payment-attempts-api/abort-a-payment-attempt"},{"title":"Resolve a payment attempt","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payment-attempts/{id}/resolve","href":"/api-reference/v2.4/api-reference/payment-attempts-api/resolve-a-payment-attempt"}]},{"group":"Payment Methods API","pages":[{"title":"Save a payment method token","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payment-instruments/{paymentMethodToken}/vault","href":"/api-reference/v2.4/api-reference/payment-methods-api/save-a-payment-method-token"},{"title":"List saved payment methods","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml get /payment-instruments","href":"/api-reference/v2.4/api-reference/payment-methods-api/list-saved-payment-methods"},{"title":"Delete a saved payment method","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml delete /payment-instruments/{paymentMethodToken}","href":"/api-reference/v2.4/api-reference/payment-methods-api/delete-a-saved-payment-method"},{"title":"Update the default saved payment method","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /payment-instruments/{paymentMethodToken}/default","href":"/api-reference/v2.4/api-reference/payment-methods-api/update-the-default-saved-payment-method"}]},{"group":"Primer Proxy API","pages":[{"title":"Forward a request to a PSP, substituting vaulted card data","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml get /{proxyPath}","href":"/api-reference/v2.4/api-reference/primer-proxy-api/forward-a-request-to-a-psp-substituting-vaulted-card-data"},{"title":"Forward a request to a PSP, substituting vaulted card data","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml put /{proxyPath}","href":"/api-reference/v2.4/api-reference/primer-proxy-api/forward-a-request-to-a-psp-substituting-vaulted-card-data-1"},{"title":"Forward a request to a PSP, substituting vaulted card data","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml post /{proxyPath}","href":"/api-reference/v2.4/api-reference/primer-proxy-api/forward-a-request-to-a-psp-substituting-vaulted-card-data-2"},{"title":"Forward a request to a PSP, substituting vaulted card data","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml delete /{proxyPath}","href":"/api-reference/v2.4/api-reference/primer-proxy-api/forward-a-request-to-a-psp-substituting-vaulted-card-data-3"},{"title":"Forward a request to a PSP, substituting vaulted card data","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.4/openapi.yaml patch /{proxyPath}","href":"/api-reference/v2.4/api-reference/primer-proxy-api/forward-a-request-to-a-psp-substituting-vaulted-card-data-4"}]}]}]},{"anchor":"Webhooks","icon":"webhook","groups":[{"group":"Webhooks","pages":[{"group":"Payment Webhooks","pages":[{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /payment-status","playground":"none","title":"Payment Status Update","href":"/api-reference/endpoints/v2.4/payment-webhooks/payment-status-update"},{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /payment-refund","playground":"none","title":"Payment Refund","href":"/api-reference/endpoints/v2.4/payment-webhooks/payment-refund"},{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /payment-operation-failure","playground":"none","title":"Payment Operation Failure","href":"/api-reference/endpoints/v2.4/payment-webhooks/payment-operation-failure"}]},{"group":"Workflow Webhooks","pages":[{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /workflow-run-failed","playground":"none","title":"Workflow Run Failed","href":"/api-reference/endpoints/v2.4/workflow-webhooks/workflow-run-failed"}]},{"group":"Disputes \u0026 Chargebacks Webhooks","pages":[{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /dispute-opened","playground":"none","title":"Dispute Open","href":"/api-reference/endpoints/v2.4/dispute-and-chargebacks-webhooks/dispute-open"},{"openapi":"https://api.schemas.primer.io/api-reference/v2.4/webhooks.yaml post /dispute-status","playground":"none","title":"Dispute Status","href":"/api-reference/endpoints/v2.4/dispute-and-chargebacks-webhooks/dispute-status"}]}]}]},{"anchor":"Changelogs","icon":"lines-leaning","pages":[{"title":"Changelog","url":"/changelogs/api-changelog","href":"/api-reference/changelog"}]}]},{"version":"v2.3","tag":"Supported","pages":[{"title":"v2.3","href":"/api-reference/get-started/v2.3/overview"}]},{"version":"v2.2","tag":"Supported","pages":[{"title":"v2.2","href":"/api-reference/get-started/v2.2/overview"}]},{"version":"v2.1","tag":"Supported","pages":[{"title":"v2.1","href":"/api-reference/get-started/v2.1/overview"}]},{"version":"v2","tag":"Supported","pages":[{"title":"v2","href":"/api-reference/get-started/v2/overview"}]}]},{"tab":"SDK Reference","anchors":[{"anchor":"Web","icon":"globe","pages":[{"title":"Web","href":"/sdk/primer-checkout-web/sdk-reference-overview"}]},{"anchor":"iOS","icon":"apple","versions":[{"version":"3.0.0-beta","groups":[{"group":"iOS","pages":[{"title":"Installation","sidebarTitle":"Installation","href":"/sdk/ios-checkout/v3.0.0-beta/installation"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/sdk/ios-checkout/v3.0.0-beta/troubleshooting"},{"group":"Guides","pages":[{"title":"Handle the payment result","sidebarTitle":"Handle payment result","href":"/sdk/ios-checkout/v3.0.0-beta/guides/handle-payment-result"},{"title":"Apple Pay integration","sidebarTitle":"Apple Pay","href":"/sdk/ios-checkout/v3.0.0-beta/guides/apple-pay-integration"},{"title":"UIKit integration","sidebarTitle":"UIKit integration","href":"/sdk/ios-checkout/v3.0.0-beta/guides/uikit-integration"},{"title":"SwiftUI navigation","sidebarTitle":"SwiftUI navigation","href":"/sdk/ios-checkout/v3.0.0-beta/guides/swiftui-navigation"}]},{"group":"API Reference","pages":[{"title":"API Reference","sidebarTitle":"API Reference","href":"/sdk/ios-checkout/v3.0.0-beta/api/overview"},{"group":"Core API","pages":[{"title":"PrimerCheckout","sidebarTitle":"PrimerCheckout","href":"/sdk/ios-checkout/v3.0.0-beta/api/primer-checkout"},{"title":"PrimerCheckoutSession","sidebarTitle":"PrimerCheckoutSession","href":"/sdk/ios-checkout/v3.0.0-beta/api/primer-checkout-session"},{"title":"PrimerCheckoutPresenter","sidebarTitle":"PrimerCheckoutPresenter","href":"/sdk/ios-checkout/v3.0.0-beta/api/primer-checkout-presenter"},{"title":"PrimerCheckoutState","sidebarTitle":"PrimerCheckoutState","href":"/sdk/ios-checkout/v3.0.0-beta/api/primer-checkout-state"}]},{"group":"Card Form","pages":[{"title":"PrimerCardForm","sidebarTitle":"PrimerCardForm","href":"/sdk/ios-checkout/v3.0.0-beta/api/card-form/primer-card-form"},{"title":"PrimerCardFormSession","sidebarTitle":"PrimerCardFormSession","href":"/sdk/ios-checkout/v3.0.0-beta/api/card-form/card-form-session"},{"title":"CardFormDefaults","sidebarTitle":"CardFormDefaults","href":"/sdk/ios-checkout/v3.0.0-beta/api/card-form/card-form-defaults"},{"title":"Card Field Components","sidebarTitle":"Card Field Components","href":"/sdk/ios-checkout/v3.0.0-beta/api/card-form/card-field-components"}]},{"group":"Payment Methods","pages":[{"title":"PrimerPaymentMethods","sidebarTitle":"PrimerPaymentMethods","href":"/sdk/ios-checkout/v3.0.0-beta/api/payment-methods/primer-payment-methods"},{"title":"PrimerSelectionSession","sidebarTitle":"PrimerSelectionSession","href":"/sdk/ios-checkout/v3.0.0-beta/api/payment-methods/payment-methods-session"},{"title":"PaymentMethodsDefaults","sidebarTitle":"PaymentMethodsDefaults","href":"/sdk/ios-checkout/v3.0.0-beta/api/payment-methods/payment-methods-defaults"},{"title":"PrimerVaultedPaymentMethods","sidebarTitle":"PrimerVaultedPaymentMethods","href":"/sdk/ios-checkout/v3.0.0-beta/api/payment-methods/vaulted-payment-methods"}]},{"group":"Theming","pages":[{"title":"PrimerCheckoutTheme","sidebarTitle":"PrimerCheckoutTheme","href":"/sdk/ios-checkout/v3.0.0-beta/api/theming/primer-theme"},{"title":"Color Tokens","sidebarTitle":"Color Tokens","href":"/sdk/ios-checkout/v3.0.0-beta/api/theming/color-tokens"},{"title":"Spacing Tokens","sidebarTitle":"Spacing Tokens","href":"/sdk/ios-checkout/v3.0.0-beta/api/theming/spacing-tokens"},{"title":"Typography Tokens","sidebarTitle":"Typography Tokens","href":"/sdk/ios-checkout/v3.0.0-beta/api/theming/typography-tokens"},{"title":"Shape Tokens","sidebarTitle":"Shape Tokens","href":"/sdk/ios-checkout/v3.0.0-beta/api/theming/shape-tokens"}]},{"group":"Common Objects","pages":[{"title":"PrimerSettings","sidebarTitle":"PrimerSettings","href":"/sdk/ios-checkout/v3.0.0-beta/api/common/primer-settings"},{"title":"PrimerError","sidebarTitle":"PrimerError","href":"/sdk/ios-checkout/v3.0.0-beta/api/common/primer-error"},{"title":"Validation","sidebarTitle":"Validation","href":"/sdk/ios-checkout/v3.0.0-beta/api/common/validation-result"},{"title":"PrimerCardNetwork","sidebarTitle":"PrimerCardNetwork","href":"/sdk/ios-checkout/v3.0.0-beta/api/common/primer-card-network"},{"title":"PrimerCountry","sidebarTitle":"PrimerCountry","href":"/sdk/ios-checkout/v3.0.0-beta/api/common/primer-country"}]}]}]}]}]},{"anchor":"Android","icon":"android","versions":[{"version":"3.0.0-beta","groups":[{"group":"Android","pages":[{"title":"Installation","sidebarTitle":"Installation","href":"/sdk/android-checkout/v3.0.0-beta/installation"},{"title":"Troubleshooting","sidebarTitle":"Troubleshooting","href":"/sdk/android-checkout/v3.0.0-beta/troubleshooting"},{"group":"API Reference","pages":[{"title":"API Reference","sidebarTitle":"API Reference","href":"/sdk/android-checkout/v3.0.0-beta/api/overview"},{"group":"Core API","pages":[{"title":"PrimerCheckoutController","sidebarTitle":"PrimerCheckoutController","href":"/sdk/android-checkout/v3.0.0-beta/api/primer-checkout-controller"},{"title":"PrimerCheckoutState","sidebarTitle":"PrimerCheckoutState","href":"/sdk/android-checkout/v3.0.0-beta/api/primer-checkout-state"},{"title":"Payment outcomes","sidebarTitle":"Payment outcomes","href":"/sdk/android-checkout/v3.0.0-beta/api/primer-checkout-event"},{"title":"PrimerCheckoutSheet","sidebarTitle":"PrimerCheckoutSheet","href":"/sdk/android-checkout/v3.0.0-beta/api/primer-checkout-sheet"},{"title":"PrimerCheckoutHost","sidebarTitle":"PrimerCheckoutHost","href":"/sdk/android-checkout/v3.0.0-beta/api/primer-checkout-host"}]},{"group":"Card Form","pages":[{"title":"PrimerCardForm","sidebarTitle":"PrimerCardForm","href":"/sdk/android-checkout/v3.0.0-beta/api/card-form/primer-card-form"},{"title":"PrimerCardFormController","sidebarTitle":"PrimerCardFormController","href":"/sdk/android-checkout/v3.0.0-beta/api/card-form/card-form-controller"},{"title":"CardFormDefaults","sidebarTitle":"CardFormDefaults","href":"/sdk/android-checkout/v3.0.0-beta/api/card-form/card-form-defaults"},{"title":"Card Field Components","sidebarTitle":"Card Field Components","href":"/sdk/android-checkout/v3.0.0-beta/api/card-form/card-field-components"}]},{"group":"Payment Methods","pages":[{"title":"PrimerPaymentMethods","sidebarTitle":"PrimerPaymentMethods","href":"/sdk/android-checkout/v3.0.0-beta/api/payment-methods/primer-payment-methods"},{"title":"PrimerPaymentMethodsController","sidebarTitle":"PrimerPaymentMethodsController","href":"/sdk/android-checkout/v3.0.0-beta/api/payment-methods/payment-methods-controller"},{"title":"PaymentMethodsDefaults","sidebarTitle":"PaymentMethodsDefaults","href":"/sdk/android-checkout/v3.0.0-beta/api/payment-methods/payment-methods-defaults"},{"title":"PrimerVaultedPaymentMethodsController","sidebarTitle":"VaultedPaymentMethodsController","href":"/sdk/android-checkout/v3.0.0-beta/api/payment-methods/vaulted-payment-methods-controller"}]},{"group":"Theming","pages":[{"title":"PrimerTheme","sidebarTitle":"PrimerTheme","href":"/sdk/android-checkout/v3.0.0-beta/api/theming/primer-theme"},{"title":"Color Tokens","sidebarTitle":"Color Tokens","href":"/sdk/android-checkout/v3.0.0-beta/api/theming/color-tokens"},{"title":"SpacingTokens","sidebarTitle":"SpacingTokens","href":"/sdk/android-checkout/v3.0.0-beta/api/theming/spacing-tokens"},{"title":"TypographyTokens","sidebarTitle":"TypographyTokens","href":"/sdk/android-checkout/v3.0.0-beta/api/theming/typography-tokens"},{"title":"Shape Tokens","sidebarTitle":"Shape Tokens","href":"/sdk/android-checkout/v3.0.0-beta/api/theming/shape-tokens"}]},{"group":"Common Objects","pages":[{"title":"PrimerSettings","sidebarTitle":"PrimerSettings","href":"/sdk/android-checkout/v3.0.0-beta/api/common/primer-settings"},{"title":"PrimerError","sidebarTitle":"PrimerError","href":"/sdk/android-checkout/v3.0.0-beta/api/common/primer-error"},{"title":"Validation","sidebarTitle":"Validation","href":"/sdk/android-checkout/v3.0.0-beta/api/common/validation-result"},{"title":"PrimerCardNetwork","sidebarTitle":"PrimerCardNetwork","href":"/sdk/android-checkout/v3.0.0-beta/api/common/primer-card-network"},{"title":"PrimerCountry","sidebarTitle":"PrimerCountry","href":"/sdk/android-checkout/v3.0.0-beta/api/common/primer-country"}]}]}]}]}]},{"anchor":"React Native","icon":"react","versions":[{"version":"v2.x.x","groups":[{"group":"React Native SDK","pages":[{"title":"React Native installation","sidebarTitle":"Installation","href":"/sdk/react-native/v2.x.x/installation"},{"group":"Primer","pages":[{"group":"Methods","pages":[{"title":"configure","href":"/sdk/react-native/v2.x.x/primer/methods/configure"},{"title":"showUniversalCheckout","href":"/sdk/react-native/v2.x.x/primer/methods/showUniversalCheckout"},{"title":"showVaultManager","href":"/sdk/react-native/v2.x.x/primer/methods/showVaultManager"},{"title":"showPaymentMethod","href":"/sdk/react-native/v2.x.x/primer/methods/showPaymentMethod"},{"title":"dismiss","href":"/sdk/react-native/v2.x.x/primer/methods/dismiss"}]}]},{"group":"PrimerHeadlessCheckout","pages":[{"group":"Assets manager","pages":[{"title":"getPaymentMethodResource","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodResource"},{"title":"getPaymentMethodResources","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodResources"},{"title":"getPaymentMethodAssets","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodAssets"},{"title":"getPaymentMethodAsset","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodAsset"},{"title":"getCardNetworkImage","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getCardNetworkImage"}]},{"group":"Native UI manager","pages":[{"title":"constructor","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/native-ui-manager/constructor"},{"title":"configure","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/native-ui-manager/configure"},{"title":"showPaymentMethod","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/native-ui-manager/showPaymentMethod"}]},{"group":"Raw data manager","pages":[{"title":"constructor","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/constructor"},{"title":"configure","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/configure"},{"title":"getRequiredInputElementTypes","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/getRequiredInputElementTypes"},{"title":"setRawData","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/setRawData"},{"title":"submit","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/submit"},{"title":"cleanUp","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/raw-data-manager/cleanup"}]},{"group":"Component with redirect manager","pages":[{"title":"constructor","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/component-with-redirect-manager/constructor"},{"title":"provide","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/component-with-redirect-manager/provide"}]},{"group":"Klarna headless manager","pages":[{"title":"constructor","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/klarna-headless-manager/constructor"},{"title":"provide","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/klarna-headless-manager/provide"}]},{"group":"ACH headless manager","pages":[{"title":"constructor","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/ach-headless-manager/constructor"},{"title":"provide","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/ach-headless-manager/provide"}]},{"group":"Vault manager","pages":[{"title":"configure","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/vault-manager/configure"},{"title":"fetchVaultedPaymentMethods","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/vault-manager/fetchVaultedPaymentMethods"},{"title":"deleteVaultedPaymentMethod","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/vault-manager/deleteVaultedPaymentMethod"},{"title":"validate","href":"/sdk/react-native/v2.x.x/primer-headless-checkout/vault-manager/validate"},{"title":"startPaymentFlow","description":null,"href":"/sdk/react-native/v2.x.x/primer-headless-checkout/vault-manager/startPaymentFlow"}]}]},{"group":"Common objects","pages":[{"title":"PrimerSettings","href":"/sdk/react-native/v2.x.x/common-objects/PrimerSettings"},{"title":"PrimerCheckoutData","description":null,"href":"/sdk/react-native/v2.x.x/common-objects/PrimerCheckoutData"},{"title":"PrimerPaymentMethodTokenData","href":"/sdk/react-native/v2.x.x/common-objects/PrimerPaymentMethodTokenData"},{"title":"PrimerError","href":"/sdk/react-native/v2.x.x/common-objects/PrimerError"}]}]}]}]},{"anchor":"Legacy SDKs","icon":"clock-rotate-left","pages":[{"title":"Legacy SDKs","href":"/sdk/web/v2.x.x/installation"}]},{"anchor":"Lifecycle","icon":"clock","pages":[{"title":"Lifecycle","href":"/sdk/lifecycle"}]}]},{"tab":"Connections","pages":[{"title":"Connections","href":"/connections/processors/overview"}]},{"tab":"Changelogs","pages":[{"title":"Changelogs","href":"/changelogs/api-changelog"}]}]},"basePath":"","title":"React Native SDK PrimerSettings | Primer","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":[],"chunks":[]}