You can update a clients session created earlier with the PATCH /client-sessionAPI call.
The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-sessionAPI call.
You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed.
If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update.
If you simply wish to clear the value of the field, pass null as your input.
You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported.
The response will contain all the fields of the client session including the ones that were changed.
Client token for use in the Primer-JS SDK obtained via POST /client-session API call.
Its length is not fixed. Treat it as an opaque string and do not rely on a maximum length when storing it.
The amount you would like to charge the customer, in minor units. e.g. for $7, use 700.
Some currencies, such as Japanese Yen, do not have minor units. In this case you should use the value as it is, without any formatting. For example for ¥100, use 100.
If the amount is provided on this level, it would override any amount calculated from the provided line items, shipping and other amounts.
Additional data to be used throughout the payment lifecycle.
Provide the entire object to update it. Anything provided previously will be overwritten.
The size of metadata must not exceed 300 KB (307,200 bytes) when
serialized as JSON. Larger payloads are rejected with a
PaymentMetadataSizeExceeded error.
Each of the fields in this object must be updated in its entirety, i.e. provide the entire object to update it. Anything provided previously will be overwritten.
Each of the fields in this object must be updated in its entirety, i.e. provide the entire object to update it. Anything provided previously will be overwritten.
The amount you are going to charge the customer, in minor units. This amount is calculated from the line items, shipping and other amounts provided in the order.
If a top-level amount is provided, it would override any calculated amount.
Warning messages to indicate missing information that are required for payment methods, checkout modules and other features; or when third-party services are unavailable.
Show child attributes
{"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":"api-reference/v2.3/api-reference/client-session-api/update-client-session","slug":"/api-reference/v2.3/api-reference/client-session-api/update-client-session","pageMetadata":{"title":"Update client session","description":"You can update a clients session created earlier with the `PATCH /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nThe only required field for the request is `clientToken`. Other supported request fields are same as for the `POST /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nYou need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.`lineItems`), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed.\n\nIf you wish to update nested fields on the client session, such as the customer `emailAddress` field, you can pass the `customer` object with only one field, `emailAddress`, to update.\n\nIf you simply wish to clear the value of the field, pass `null` as your input.\n\nYou can update `paymentMethod.vaultOnSuccess` field but updating of the `paymentMethod.options` field through `PATCH /client-session` is not supported.\n\nThe response will contain all the fields of the client session including the ones that were changed.\n","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml patch /client-session","href":"/api-reference/v2.3/api-reference/client-session-api/update-client-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"You can update a clients session created earlier with the \", _jsx(_components.code, {\n children: \"PATCH /client-session\"\n }), \" \", _jsx(_components.a, {\n href: \"#operation/create_client_side_token_client_session_post\",\n children: \"API call\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The only required field for the request is \", _jsx(_components.code, {\n children: \"clientToken\"\n }), \". Other supported request fields are same as for the \", _jsx(_components.code, {\n children: \"POST /client-session\"\n }), \" \", _jsx(_components.a, {\n href: \"#operation/create_client_side_token_client_session_post\",\n children: \"API call\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.\", _jsx(_components.code, {\n children: \"lineItems\"\n }), \"), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"If you wish to update nested fields on the client session, such as the customer \", _jsx(_components.code, {\n children: \"emailAddress\"\n }), \" field, you can pass the \", _jsx(_components.code, {\n children: \"customer\"\n }), \" object with only one field, \", _jsx(_components.code, {\n children: \"emailAddress\"\n }), \", to update.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"If you simply wish to clear the value of the field, pass \", _jsx(_components.code, {\n children: \"null\"\n }), \" as your input.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"You can update \", _jsx(_components.code, {\n children: \"paymentMethod.vaultOnSuccess\"\n }), \" field but updating of the \", _jsx(_components.code, {\n children: \"paymentMethod.options\"\n }), \" field through \", _jsx(_components.code, {\n children: \"PATCH /client-session\"\n }), \" is not supported.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The response will contain all the fields of the client session including the ones that were changed.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Update client session","description":"You can update a clients session created earlier with the `PATCH /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nThe only required field for the request is `clientToken`. Other supported request fields are same as for the `POST /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nYou need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.`lineItems`), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed.\n\nIf you wish to update nested fields on the client session, such as the customer `emailAddress` field, you can pass the `customer` object with only one field, `emailAddress`, to update.\n\nIf you simply wish to clear the value of the field, pass `null` as your input.\n\nYou can update `paymentMethod.vaultOnSuccess` field but updating of the `paymentMethod.options` field through `PATCH /client-session` is not supported.\n\nThe response will contain all the fields of the client session including the ones that were changed.\n","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml patch /client-session","href":"/api-reference/v2.3/api-reference/client-session-api/update-client-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/primer-cc826789/f9b3e76a02542eba/js/codeblocklayout.js"],"openApiReferenceData":{"operation":{"tags":["Client Session API"],"summary":"Update client session","description":"You can update a clients session created earlier with the `PATCH /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nThe only required field for the request is `clientToken`. Other supported request fields are same as for the `POST /client-session` [API call](#operation/create_client_side_token_client_session_post).\n\nYou need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.`lineItems`), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed.\n\nIf you wish to update nested fields on the client session, such as the customer `emailAddress` field, you can pass the `customer` object with only one field, `emailAddress`, to update.\n\nIf you simply wish to clear the value of the field, pass `null` as your input.\n\nYou can update `paymentMethod.vaultOnSuccess` field but updating of the `paymentMethod.options` field through `PATCH /client-session` is not supported.\n\nThe response will contain all the fields of the client session including the ones that were changed.\n","operationId":"update_client_side_token_client_session_patch","requestBody":"4cbc1346-60e2-4205-99e3-31124c333ffa","responses":{"200":"c76c00c6-5b6f-4e82-b97b-ba0a7965717d","400":"15488c1a-279a-4f89-a8ab-5600aa8cd0dc","422":"344e3e05-fdfe-4dfe-bd67-cd3140b21cc6"},"method":"patch","type":"path","servers":["213755bf-442f-4489-82dc-c2ee8545cdf7","d11d2eff-bc57-42ce-8719-afb888ddd6e6"],"security":["2b20ad64-df7b-4569-9766-f56d4a16c3ba"],"path":"/client-session","baseUrlOptions":["https://api.sandbox.primer.io","https://api.primer.io"],"title":"Update client session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"title":"Request","type":"object","required":["clientToken"],"properties":{"clientToken":{"title":"Client token","type":"string","description":"Client token for use in the Primer-JS SDK obtained via `POST` /client-session API call.\nIts length is not fixed. Treat it as an opaque string and do not rely on a maximum length when storing it.","isRequired":true,"uniqueKey":"clientToken","typeLabel":"string"},"customerId":{"title":"The ID of the customer using the checkout.","type":"string","description":"A unique identifier for your customer.","uniqueKey":"customerId","typeLabel":"string"},"orderId":{"title":"Order ID","type":"string","description":"Your reference for the order.","uniqueKey":"orderId","typeLabel":"string"},"currencyCode":{"title":"Currency","type":"string","description":"The 3-letter currency code in [ISO 4217 format](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). e.g. use `USD` for US dollars.\n","uniqueKey":"currencyCode","typeLabel":"string"},"amount":{"title":"Payment amount","minimum":0,"type":"integer","format":"int64","description":"The amount you would like to charge the customer, in minor units. e.g. for $7, use `700`.\n\nSome currencies, such as Japanese Yen, do not have minor units. In this case you should use the value as it is, without any formatting. For example for ¥100, use `100`.\n\nIf the amount is provided on this level, it would override any amount calculated from the provided line items, shipping and other amounts.","uniqueKey":"amount","typeLabel":"integer\u003cint64>"},"metadata":{"title":"Payment Metadata","type":"object","description":"Additional data to be used throughout the payment lifecycle.\n\nProvide the entire object to update it. Anything provided previously will be overwritten.\n\nThe size of `metadata` must not exceed 300 KB (307,200 bytes) when\nserialized as JSON. Larger payloads are rejected with a\n`PaymentMetadataSizeExceeded` error.\n","uniqueKey":"metadata","typeLabel":"Payment Metadata · object"},"customer":{"title":"Customer Details","type":"object","properties":{"emailAddress":{"title":"Email Address","type":"string","description":"Customer email address. \u003cbr />Must be a valid email address. Supports internationalized email addresses.\n","format":"email","uniqueKey":"customer.emailAddress","typeLabel":"string\u003cemail>"},"mobileNumber":{"title":"Mobile Number","type":"string","description":"The customer's mobile number","minLength":1,"maxLength":255,"uniqueKey":"customer.mobileNumber","typeLabel":"string"},"firstName":{"title":"First Name","type":"string","description":"The customer's first name","minLength":1,"maxLength":255,"uniqueKey":"customer.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","description":"The customer's last name","minLength":1,"maxLength":255,"uniqueKey":"customer.lastName","typeLabel":"string"},"billingAddress":{"title":"Billing Address","type":"object","properties":{"firstName":{"title":"First Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.billingAddress.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.billingAddress.lastName","typeLabel":"string"},"addressLine1":{"title":"Address Line 1","type":"string","description":"Street name, Company name or PO Box","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.addressLine1","typeLabel":"string"},"addressLine2":{"title":"Address Line 2","type":"string","description":"Apartment, Unit or Building number","maxLength":255,"uniqueKey":"customer.billingAddress.addressLine2","typeLabel":"string"},"city":{"title":"City","type":"string","description":"Name of the city, district, town or village","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.city","typeLabel":"string"},"state":{"title":"State","type":"string","description":"State, County or Province","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.state","typeLabel":"string"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"Two letter ISO country code","type":"string","uniqueKey":"customer.billingAddress.countryCode","typeLabel":"enum\u003cstring>"},"postalCode":{"title":"Postal Code","type":"string","description":"Postal or ZIP code","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.postalCode","typeLabel":"string"}},"description":"Customer billing address.\n","uniqueKey":"customer.billingAddress","typeLabel":"Billing Address · object"},"shippingAddress":{"title":"Shipping Address","type":"object","properties":{"firstName":{"title":"First Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.shippingAddress.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.shippingAddress.lastName","typeLabel":"string"},"addressLine1":{"title":"Address Line 1","type":"string","description":"Street name, Company name or PO Box","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.addressLine1","typeLabel":"string"},"addressLine2":{"title":"Address Line 2","type":"string","description":"Apartment, Unit or Building number","maxLength":255,"uniqueKey":"customer.shippingAddress.addressLine2","typeLabel":"string"},"city":{"title":"City","type":"string","description":"Name of the city, district, town or village","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.city","typeLabel":"string"},"state":{"title":"State","type":"string","description":"State, County or Province","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.state","typeLabel":"string"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"Two letter ISO country code","type":"string","uniqueKey":"customer.shippingAddress.countryCode","typeLabel":"enum\u003cstring>"},"postalCode":{"title":"Postal Code","type":"string","description":"Postal or ZIP code","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.postalCode","typeLabel":"string"}},"description":"Customer shipping address","uniqueKey":"customer.shippingAddress","typeLabel":"Shipping Address · object"},"taxId":{"title":"Tax ID","type":"string","description":"The customer's tax id number for tax exemptions","maxLength":255,"uniqueKey":"customer.taxId","typeLabel":"string"},"nationalDocumentId":{"title":"National Document ID","type":"string","description":"The customer's national identification number","maxLength":255,"uniqueKey":"customer.nationalDocumentId","typeLabel":"string"}},"description":"More information associated with the customer.\n\nEach of the fields in this object must be updated in its entirety, i.e. provide the entire object to update it. Anything provided previously will be overwritten.\n","uniqueKey":"customer","typeLabel":"Customer Details · object"},"order":{"title":"Order Details","type":"object","properties":{"lineItems":{"title":"Line Items","type":"array","items":{"title":"OrderLineItemsAPISchema","description":"The details of the line items of the order.\n\nThe total amount of a line item is calculated like so: \n````\n totalAmount = (amount * quantity) - discountAmount + taxAmount\n```\n","type":"object","required":["amount"],"properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The amount charged to the customer, in minor units. The minimum amount is 0. The maximum amount is the limit of `int64`.","isRequired":true,"uniqueKey":"order.lineItems.items.[INDEX].amount","typeLabel":"integer\u003cint64>"},"itemId":{"title":"Item ID","type":"string","description":"A unique identifier for the line item.","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].itemId","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"A name of the item.","maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].name","typeLabel":"string"},"description":{"title":"Item ID","type":"string","description":"A description of the item.","maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"integer","description":"The number of the particular line item that is being ordered.","default":1,"uniqueKey":"order.lineItems.items.[INDEX].quantity","typeLabel":"integer"},"discountAmount":{"title":"Discount Amount","minimum":0,"type":"integer","format":"int64","description":"Any discount applicable to this item, in minor units. This discount is applied for the entire line item, and not per `quantity`.","uniqueKey":"order.lineItems.items.[INDEX].discountAmount","typeLabel":"integer\u003cint64>"},"taxAmount":{"title":"Tax Amount","minimum":0,"type":"integer","format":"int64","description":"The tax charged on this item, in minor units. This tax amount is applied for the entire line item, and not per `quantity`.","uniqueKey":"order.lineItems.items.[INDEX].taxAmount","typeLabel":"integer\u003cint64>"},"taxCode":{"title":"Tax Code","type":"string","description":"The tax code associated with this item, in minor units. This is required for Primer-initiated tax calculations.","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].taxCode","typeLabel":"string"},"productType":{"title":"Product Type","enum":["PHYSICAL","DIGITAL"],"type":"string","description":"An identifier for the product type.","uniqueKey":"order.lineItems.items.[INDEX].productType","typeLabel":"enum\u003cstring>"},"productData":{"title":"Product Data","description":"Details related to the product","type":"object","properties":{"sku":{"title":"SKU","type":"string","description":"The product SKU","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.sku","typeLabel":"string"},"brand":{"title":"Brand","type":"string","description":"The product brand","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.brand","typeLabel":"string"},"color":{"title":"Color","type":"string","description":"The product color","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.color","typeLabel":"string"},"globalTradeItemNumber":{"title":"Global Trade Item Number","type":"string","description":"The product Global Trade Item Number (e.g. ISBN)","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.globalTradeItemNumber","typeLabel":"string"},"manufacturerPartNumber":{"title":"Manufacturer Part Number","type":"string","description":"The product Manufacturer Part Number","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.manufacturerPartNumber","typeLabel":"string"},"weight":{"title":"Weight","type":"number","description":"The product weight","minimum":0,"uniqueKey":"order.lineItems.items.[INDEX].productData.weight","typeLabel":"number"},"weightUnit":{"title":"Weight Unit","type":"string","description":"The product weight unit (e.g. kg, g)","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.weightUnit","typeLabel":"string"}},"uniqueKey":"order.lineItems.items.[INDEX].productData","typeLabel":"Product Data · object"}},"uniqueKey":"order.lineItems.items.[INDEX]","typeLabel":"OrderLineItemsAPISchema · object"},"description":"The details of the line items of the order.","uniqueKey":"order.lineItems","typeLabel":"OrderLineItemsAPISchema · object[]"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"The country of the order, as an ISO 3166-1 alpha-2 code. In most cases, set\nit to your own country as the merchant. If you sell across borders, see\nbelow.\n\nPayment methods use this value in different ways:\n\n- **Apple Pay** and **Google Pay** use it as the merchant's country, where\n the transaction is processed. They are not offered without it.\n- **Klarna** uses it as the purchase country, which Klarna expects to match\n the customer's billing country.\n- Some **alternative payment methods processed through Adyen** use it as the\n payment country, ahead of the customer's billing address.\n\nFor most merchants these are the same country. They differ when you sell\nacross borders, for example a UK business selling to customers in Germany:\nApple Pay and Google Pay need your country (`GB`), while Klarna needs the\ncustomer's (`DE`). In that case, set `countryCode` to your own country and\ncontact Primer to have Klarna use the country of the customer's billing\naddress instead. The customer's billing address must then be set on the\nclient session.\n\nThis is not the same as `retailerCountryCode`, which is the country of the\nretailer and is passed only to some processors and to fraud checks.","type":"string","uniqueKey":"order.countryCode","typeLabel":"enum\u003cstring>"},"retailerCountryCode":{"title":"Retailer Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"The country code of the retailer","type":"string","uniqueKey":"order.retailerCountryCode","typeLabel":"enum\u003cstring>"},"fees":{"title":"Fee Details","type":"array","items":{"title":"OrderFeesAPISchema","type":"object","required":["amount"],"properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The fee amount charged to the customer, in minor units. e.g. for $7, use `700`.","isRequired":true,"uniqueKey":"order.fees.items.[INDEX].amount","typeLabel":"integer\u003cint64>"},"type":{"type":"string","description":"The type of fee.","minLength":1,"maxLength":255,"uniqueKey":"order.fees.items.[INDEX].type","typeLabel":"string"},"description":{"type":"string","description":"A description of the fee, e.g. \"Currency Conversion Fee\".","minLength":1,"maxLength":255,"uniqueKey":"order.fees.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"order.fees.items.[INDEX]","typeLabel":"OrderFeesAPISchema · object"},"description":"The details of fees charged.","uniqueKey":"order.fees","typeLabel":"OrderFeesAPISchema · object[]"},"shipping":{"title":"Shipping Details","type":"object","properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The shipping amount charged to the customer, in minor units. e.g. for $7, use `700`.","uniqueKey":"order.shipping.amount","typeLabel":"integer\u003cint64>"},"methodId":{"type":"string","description":"Your unique identifier of the shipping method selected by the customer.","uniqueKey":"order.shipping.methodId","typeLabel":"string"},"methodName":{"type":"string","description":"The display label for the selected shipping method (e.g. \"Standard Shipping\").","uniqueKey":"order.shipping.methodName","typeLabel":"string"},"methodDescription":{"type":"string","description":"The descriptive text that is displayed alongside the shipping method name.","uniqueKey":"order.shipping.methodDescription","typeLabel":"string"}},"description":"The details of shipping charged.","uniqueKey":"order.shipping","typeLabel":"Shipping Details · object"}},"description":"More information associated with the order.\n\nEach of the fields in this object must be updated in its entirety, i.e. provide the entire object to update it. Anything provided previously will be overwritten.\n","uniqueKey":"order","typeLabel":"Order Details · object"},"paymentMethod":{"title":"Payment Method Options","type":"object","properties":{"vaultOnSuccess":{"type":"boolean","description":"Whether the payment method should be vaulted on a successful payment or not.","default":false,"uniqueKey":"paymentMethod.vaultOnSuccess","typeLabel":"boolean"},"vaultOn3DS":{"type":"boolean","description":"Whether the payment method should be vaulted after a successful 3DS authentication or not.","default":false,"uniqueKey":"paymentMethod.vaultOn3DS","typeLabel":"boolean"},"descriptor":{"title":"Payment descriptor","type":"string","description":"A description of the payment, as it would typically appear on a bank statement.","maxLength":255,"uniqueKey":"paymentMethod.descriptor","typeLabel":"string"},"paymentType":{"title":"Recurring Payment Type","type":"string","enum":["FIRST_PAYMENT","ECOMMERCE","SUBSCRIPTION","UNSCHEDULED"],"description":"Payment types, primarily to be used for recurring payments.\nNote: If you successfully vault a `SINGLE_USE` token on payment creation, then there's no need to set a value for this field and it will be flagged as `FIRST_PAYMENT`. In all other cases, this field will default to `ECOMMERCE`, unless you set the field explicitly. See the table below for all possible values.\n\n| paymentType | Use case |\n| --- | --- |\n| `FIRST_PAYMENT` | a customer-initiated payment which is the first in a series of recurring payments or subscription, or a card on file scenario.\n| `ECOMMERCE` | a customer-initiated payment using stored payment details where the cardholder is present.\n| `SUBSCRIPTION` | a merchant-initiated payment as part of a series of payments on a fixed schedule and a set amount.\n| `UNSCHEDULED` | a merchant-initiated payment using stored payment details with no fixed schedule or amount.","uniqueKey":"paymentMethod.paymentType","typeLabel":"enum\u003cstring>"},"orderedAllowedCardNetworks":{"title":"Allowed card networks","type":"array","items":{"title":"CardNetworkEnum","enum":["AMEX","DANKORT","DINERS_CLUB","DISCOVER","EFTPOS","ENROUTE","ELO","HIPER","INTERAC","JCB","MAESTRO","MASTERCARD","MIR","PRIVATE_LABEL","UNIONPAY","VISA","CARTES_BANCAIRES","OTHER"],"type":"string","description":"The list of available card networks.\n","uniqueKey":"paymentMethod.orderedAllowedCardNetworks.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"If provided, the checkout will run the validation on the entered card number and raise an error in case the card network is not supported.\n\nThe order sets the default card network that should be used in the case of co-badged cards. \ne.g. in the case of `[\"VISA\", \"CARTES_BANCAIRES\", \"MASTERCARD\"]` - if the user enters a \"Visa\" / \"Cartes Bancaires\" card: the default is Visa.\n\nValues should be unique. \n\nIf `null` or nothing passed in the request, the following list with all card networks will be returned in the response:\n\n`[\"VISA\", \"MASTERCARD\", \"AMEX\", \"MAESTRO\", \"UNIONPAY\", \"CARTES_BANCAIRES\", \"DANKORT\", \"DINERS_CLUB\", \"DISCOVER\", \"EFTPOS\", \"ENROUTE\", \"ELO\", \"HIPER\", \"INTERAC\", \"JCB\", \"MIR\", \"OTHER\"]`\n","uniqueKey":"paymentMethod.orderedAllowedCardNetworks","typeLabel":"enum\u003cstring>[]"},"options":{"title":"Payment Method Options","type":"object","description":"Additional options for the payment methods represented as dictionary \nwith key of [available payment methods](/connections/payment-methods/available-payment-methods) and value of corresponding options.\n","properties":{"\u003cPAYMENT_METHOD_TYPE>":{"title":"PaymentMethodOptionAPISchema","type":"object","description":"Options for the payment method of type `PAYMENT_METHOD_TYPE`.\n","required":["surcharge"],"properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","isRequired":true,"uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.surcharge","typeLabel":"Surcharge · object"},"extraMerchantData":{"title":"Extra Merchant Data","type":"object","additionalProperties":true,"description":"For payments using the Klarna payment method, depending on the merchant segment and/or \nthe services available to consumers, Klarna may require additional information regarding \nthe customer, the merchant and/or the purchase. This information, referred to as extra merchant \ndata (EMD), consist of data that is typically not available at the checkout, but which enables \nKlarna to complete an assertive risk assessment, enable new promotional products and improve \nconversion rates for a boost in performance.\n","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.extraMerchantData","typeLabel":"Extra Merchant Data · object"},"merchantName":{"title":"Merchant name","type":"string","description":"For payments using the Apple Pay payment method, use this field to override the default merchant \nname for the Primer account from showing on the Apple Pay flow. For example, if your merchant \nname on your account is \"Company X\" but you want to display a specific store name on the Apple Pay \nflow, you can set the `merchantName` to \"Store name A\".\n","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.merchantName","typeLabel":"string"}},"uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>","typeLabel":"PaymentMethodOptionAPISchema · object"},"PAYMENT_CARD":{"title":"Payment Method Card Option","type":"object","properties":{"networks":{"title":"Card networks","type":"object","properties":{"AMEX":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX","typeLabel":"object"},"CARTES_BANCAIRES":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES","typeLabel":"object"},"DANKORT":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT","typeLabel":"object"},"DINERS_CLUB":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB","typeLabel":"object"},"DISCOVER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER","typeLabel":"object"},"ENROUTE":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE","typeLabel":"object"},"ELO":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO","typeLabel":"object"},"HIPER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER","typeLabel":"object"},"INTERAC":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC","typeLabel":"object"},"JCB":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB","typeLabel":"object"},"MAESTRO":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO","typeLabel":"object"},"MASTERCARD":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD","typeLabel":"object"},"MIR":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR","typeLabel":"object"},"PRIVATE_LABEL":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL","typeLabel":"object"},"UNIONPAY":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY","typeLabel":"object"},"VISA":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA","typeLabel":"object"},"OTHER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER","typeLabel":"object"}},"additionalProperties":false,"description":"Dictionary of available card networks as a key with value of Payment Method Card Network Option.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks","typeLabel":"Card networks · object"},"captureVaultedCardCvv":{"type":"boolean","description":"Whether to capture CVV for vaulted card.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.captureVaultedCardCvv","typeLabel":"boolean"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD","typeLabel":"Payment Method Card Option · object"}},"uniqueKey":"paymentMethod.options","typeLabel":"Payment Method Options · object"},"authorizationType":{"title":"Authorization Type","enum":["ESTIMATED","FINAL"],"type":"string","description":"Allows to adjust the authorized amount after the authorization, if supported by payment method.\n`FINAL` - the authorized amount is final and can not be adjusted. Adjusting the amount can be only done via canceling the payment and re-authorization with new amount.\n`ESTIMATED` - the amount can be adjusted after the authorization, if supported by payment method.\n","uniqueKey":"paymentMethod.authorizationType","typeLabel":"enum\u003cstring>"}},"description":"Enable certain options associated with the payment method. Provide the entire object to update it. Anything provided previously will be overwritten.","uniqueKey":"paymentMethod","typeLabel":"Payment Method Options · object"}},"additionalProperties":false,"example":{"clientToken":"client-session-token","customerId":"customer-123","orderId":"order-abc","customer":{"emailAddress":"john@primer.io"},"amount":500,"paymentMethod":{"authorizationType":"FINAL"},"order":{"lineItems":[{"itemId":"shoe-123","description":"Blue Shoe","amount":100,"quantity":10}],"countryCode":"FR"}},"uniqueKey":"","typeLabel":"Request · object"},"examples":{"Example":{"title":"Example","value":{"clientToken":"client-session-token","customerId":"customer-123","orderId":"order-abc","customer":{"emailAddress":"john@primer.io"},"amount":500,"paymentMethod":{"authorizationType":"FINAL"},"order":{"lineItems":[{"itemId":"shoe-123","description":"Blue Shoe","amount":100,"quantity":10}],"countryCode":"FR"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c76c00c6-5b6f-4e82-b97b-ba0a7965717d":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"ClientSessionAPIResponse","type":"object","properties":{"customerId":{"title":"The ID of the customer using the checkout","type":"string","description":"A unique identifier for your customer.","maxLength":255,"uniqueKey":"customerId","typeLabel":"string"},"orderId":{"title":"Order ID","type":"string","description":"Your reference for the payment.","maxLength":255,"uniqueKey":"orderId","typeLabel":"string"},"currencyCode":{"title":"Currency","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MKD","MMK","MNT","MOP","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VED","VES","VND","VUV","WST","XAF","XCD","XCG","XOF","XPF","YER","ZAR","ZMW","ZWG","ZWL"],"description":"The 3-letter currency code in [ISO 4217 format](https://en.wikipedia.org/wiki/ISO_4217#Active_codes). e.g. use `USD` for US dollars.\n","type":"string","uniqueKey":"currencyCode","typeLabel":"enum\u003cstring>"},"amount":{"title":"Payment amount","minimum":0,"type":"integer","format":"int64","description":"The amount you are going to charge the customer, in minor units. This amount is calculated from the line items, shipping and other amounts provided in the `order`. \nIf a top-level amount is provided, it would override any calculated amount.","uniqueKey":"amount","typeLabel":"integer\u003cint64>"},"metadata":{"title":"Payment Metadata","type":"object","description":"Additional data to be used throughout the payment lifecycle.\n","uniqueKey":"metadata","typeLabel":"Payment Metadata · object"},"customer":{"title":"Customer Details","type":"object","properties":{"emailAddress":{"title":"Email Address","type":"string","description":"Customer email address.\n\nNote: It is recommended to include this field if a 3DS check will be performed\n","format":"email","uniqueKey":"customer.emailAddress","typeLabel":"string\u003cemail>"},"mobileNumber":{"title":"Mobile Number","type":"string","description":"The customer's mobile number","maxLength":255,"uniqueKey":"customer.mobileNumber","typeLabel":"string"},"firstName":{"title":"First Name","type":"string","description":"The customer's first name","maxLength":255,"uniqueKey":"customer.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","description":"The customer's last name","maxLength":255,"uniqueKey":"customer.lastName","typeLabel":"string"},"billingAddress":{"title":"Billing Address","type":"object","properties":{"firstName":{"title":"First Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.billingAddress.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.billingAddress.lastName","typeLabel":"string"},"addressLine1":{"title":"Address Line 1","type":"string","description":"Street name, Company name or PO Box","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.addressLine1","typeLabel":"string"},"addressLine2":{"title":"Address Line 2","type":"string","description":"Apartment, Unit or Building number","maxLength":255,"uniqueKey":"customer.billingAddress.addressLine2","typeLabel":"string"},"city":{"title":"City","type":"string","description":"Name of the city, district, town or village","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.city","typeLabel":"string"},"state":{"title":"State","type":"string","description":"State, County or Province","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.state","typeLabel":"string"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"Two letter ISO country code","type":"string","uniqueKey":"customer.billingAddress.countryCode","typeLabel":"enum\u003cstring>"},"postalCode":{"title":"Postal Code","type":"string","description":"Postal or ZIP code","minLength":1,"maxLength":255,"uniqueKey":"customer.billingAddress.postalCode","typeLabel":"string"}},"description":"Customer billing address.\n\nNote: It is recommended to include this field if a 3DS check will be performed\n","uniqueKey":"customer.billingAddress","typeLabel":"Billing Address · object"},"shippingAddress":{"title":"Shipping Address","type":"object","properties":{"firstName":{"title":"First Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.shippingAddress.firstName","typeLabel":"string"},"lastName":{"title":"Last Name","type":"string","minLength":1,"maxLength":512,"uniqueKey":"customer.shippingAddress.lastName","typeLabel":"string"},"addressLine1":{"title":"Address Line 1","type":"string","description":"Street name, Company name or PO Box","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.addressLine1","typeLabel":"string"},"addressLine2":{"title":"Address Line 2","type":"string","description":"Apartment, Unit or Building number","maxLength":255,"uniqueKey":"customer.shippingAddress.addressLine2","typeLabel":"string"},"city":{"title":"City","type":"string","description":"Name of the city, district, town or village","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.city","typeLabel":"string"},"state":{"title":"State","type":"string","description":"State, County or Province","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.state","typeLabel":"string"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"Two letter ISO country code","type":"string","uniqueKey":"customer.shippingAddress.countryCode","typeLabel":"enum\u003cstring>"},"postalCode":{"title":"Postal Code","type":"string","description":"Postal or ZIP code","minLength":1,"maxLength":255,"uniqueKey":"customer.shippingAddress.postalCode","typeLabel":"string"}},"description":"Customer shipping address","uniqueKey":"customer.shippingAddress","typeLabel":"Shipping Address · object"},"taxId":{"title":"Tax ID","type":"string","description":"The customer's tax id number for tax exemptions","maxLength":255,"uniqueKey":"customer.taxId","typeLabel":"string"},"nationalDocumentId":{"title":"National Document ID","type":"string","description":"The customer's national identification number","maxLength":255,"uniqueKey":"customer.nationalDocumentId","typeLabel":"string"}},"description":"More information associated with the customer.","uniqueKey":"customer","typeLabel":"Customer Details · object"},"order":{"title":"Order Details","type":"object","properties":{"lineItems":{"title":"Line Items","type":"array","items":{"title":"OrderLineItemsAPISchema","description":"The details of the line items of the order.\n\nThe total amount of a line item is calculated like so: \n````\n totalAmount = (amount * quantity) - discountAmount + taxAmount\n```\n","type":"object","required":["amount"],"properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The amount charged to the customer, in minor units. The minimum amount is 0. The maximum amount is the limit of `int64`.","isRequired":true,"uniqueKey":"order.lineItems.items.[INDEX].amount","typeLabel":"integer\u003cint64>"},"itemId":{"title":"Item ID","type":"string","description":"A unique identifier for the line item.","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].itemId","typeLabel":"string"},"name":{"title":"Name","type":"string","description":"A name of the item.","maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].name","typeLabel":"string"},"description":{"title":"Item ID","type":"string","description":"A description of the item.","maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].description","typeLabel":"string"},"quantity":{"type":"integer","description":"The number of the particular line item that is being ordered.","default":1,"uniqueKey":"order.lineItems.items.[INDEX].quantity","typeLabel":"integer"},"discountAmount":{"title":"Discount Amount","minimum":0,"type":"integer","format":"int64","description":"Any discount applicable to this item, in minor units. This discount is applied for the entire line item, and not per `quantity`.","uniqueKey":"order.lineItems.items.[INDEX].discountAmount","typeLabel":"integer\u003cint64>"},"taxAmount":{"title":"Tax Amount","minimum":0,"type":"integer","format":"int64","description":"The tax charged on this item, in minor units. This tax amount is applied for the entire line item, and not per `quantity`.","uniqueKey":"order.lineItems.items.[INDEX].taxAmount","typeLabel":"integer\u003cint64>"},"taxCode":{"title":"Tax Code","type":"string","description":"The tax code associated with this item, in minor units. This is required for Primer-initiated tax calculations.","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].taxCode","typeLabel":"string"},"productType":{"title":"Product Type","enum":["PHYSICAL","DIGITAL"],"type":"string","description":"An identifier for the product type.","uniqueKey":"order.lineItems.items.[INDEX].productType","typeLabel":"enum\u003cstring>"},"productData":{"title":"Product Data","description":"Details related to the product","type":"object","properties":{"sku":{"title":"SKU","type":"string","description":"The product SKU","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.sku","typeLabel":"string"},"brand":{"title":"Brand","type":"string","description":"The product brand","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.brand","typeLabel":"string"},"color":{"title":"Color","type":"string","description":"The product color","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.color","typeLabel":"string"},"globalTradeItemNumber":{"title":"Global Trade Item Number","type":"string","description":"The product Global Trade Item Number (e.g. ISBN)","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.globalTradeItemNumber","typeLabel":"string"},"manufacturerPartNumber":{"title":"Manufacturer Part Number","type":"string","description":"The product Manufacturer Part Number","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.manufacturerPartNumber","typeLabel":"string"},"weight":{"title":"Weight","type":"number","description":"The product weight","minimum":0,"uniqueKey":"order.lineItems.items.[INDEX].productData.weight","typeLabel":"number"},"weightUnit":{"title":"Weight Unit","type":"string","description":"The product weight unit (e.g. kg, g)","minLength":1,"maxLength":255,"uniqueKey":"order.lineItems.items.[INDEX].productData.weightUnit","typeLabel":"string"}},"uniqueKey":"order.lineItems.items.[INDEX].productData","typeLabel":"Product Data · object"}},"uniqueKey":"order.lineItems.items.[INDEX]","typeLabel":"OrderLineItemsAPISchema · object"},"description":"The details of the line items of the order.","uniqueKey":"order.lineItems","typeLabel":"OrderLineItemsAPISchema · object[]"},"countryCode":{"title":"Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"The country of the order, as an ISO 3166-1 alpha-2 code. In most cases, set\nit to your own country as the merchant. If you sell across borders, see\nbelow.\n\nPayment methods use this value in different ways:\n\n- **Apple Pay** and **Google Pay** use it as the merchant's country, where\n the transaction is processed. They are not offered without it.\n- **Klarna** uses it as the purchase country, which Klarna expects to match\n the customer's billing country.\n- Some **alternative payment methods processed through Adyen** use it as the\n payment country, ahead of the customer's billing address.\n\nFor most merchants these are the same country. They differ when you sell\nacross borders, for example a UK business selling to customers in Germany:\nApple Pay and Google Pay need your country (`GB`), while Klarna needs the\ncustomer's (`DE`). In that case, set `countryCode` to your own country and\ncontact Primer to have Klarna use the country of the customer's billing\naddress instead. The customer's billing address must then be set on the\nclient session.\n\nThis is not the same as `retailerCountryCode`, which is the country of the\nretailer and is passed only to some processors and to fraud checks.","type":"string","uniqueKey":"order.countryCode","typeLabel":"enum\u003cstring>"},"retailerCountryCode":{"title":"Retailer Country Code","enum":["AW","AF","AO","AI","AX","AL","AD","AE","AR","AM","AS","AQ","TF","AG","AU","AT","AZ","BI","BE","BJ","BQ","BF","BD","BG","BH","BS","BA","BL","BY","BZ","BM","BO","BR","BB","BN","BT","BV","BW","CF","CA","CC","CH","CL","CN","CI","CM","CD","CG","CK","CO","KM","CV","CR","CU","CW","CX","KY","CY","CZ","DE","DJ","DM","DK","DO","DZ","EC","EG","ER","EH","ES","EE","ET","FI","FJ","FK","FR","FO","FM","GA","GB","GE","GG","GH","GI","GN","GP","GM","GW","GQ","GR","GD","GL","GT","GF","GU","GY","HK","HM","HN","HR","HT","HU","ID","IM","IN","IO","IE","IR","IQ","IS","IL","IT","JM","JE","JO","JP","KZ","KE","KG","KH","KI","KN","KR","KW","LA","LB","LR","LY","LC","LI","LK","LS","LT","LU","LV","MO","MF","MA","MC","MD","MG","MV","MX","MH","MK","ML","MT","MM","ME","MN","MP","MZ","MR","MS","MQ","MU","MW","MY","YT","NA","NC","NE","NF","NG","NI","NU","NL","NO","NP","NR","NZ","OM","PK","PA","PN","PE","PH","PW","PG","PL","PR","KP","PT","PY","PS","PF","QA","RE","RO","RU","RW","SA","SD","SN","SG","GS","SH","SJ","SB","SL","SV","SM","SO","PM","RS","SS","ST","SR","SK","SI","SE","SZ","SX","SC","SY","TC","TD","TG","TH","TJ","TK","TM","TL","TO","TT","TN","TR","TV","TW","TZ","UG","UA","UM","UY","US","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"],"description":"The country code of the retailer","type":"string","uniqueKey":"order.retailerCountryCode","typeLabel":"enum\u003cstring>"},"fees":{"title":"Fee Details","type":"array","items":{"title":"OrderFeesAPISchema","type":"object","required":["amount"],"properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The fee amount charged to the customer, in minor units. e.g. for $7, use `700`.","isRequired":true,"uniqueKey":"order.fees.items.[INDEX].amount","typeLabel":"integer\u003cint64>"},"type":{"type":"string","description":"The type of fee.","minLength":1,"maxLength":255,"uniqueKey":"order.fees.items.[INDEX].type","typeLabel":"string"},"description":{"type":"string","description":"A description of the fee, e.g. \"Currency Conversion Fee\".","minLength":1,"maxLength":255,"uniqueKey":"order.fees.items.[INDEX].description","typeLabel":"string"}},"uniqueKey":"order.fees.items.[INDEX]","typeLabel":"OrderFeesAPISchema · object"},"description":"The details of fees charged.","uniqueKey":"order.fees","typeLabel":"OrderFeesAPISchema · object[]"},"shipping":{"title":"Shipping Details","type":"object","properties":{"amount":{"minimum":0,"type":"integer","format":"int64","description":"The shipping amount charged to the customer, in minor units. e.g. for $7, use `700`.","uniqueKey":"order.shipping.amount","typeLabel":"integer\u003cint64>"},"methodId":{"type":"string","description":"Your unique identifier of the shipping method selected by the customer.","uniqueKey":"order.shipping.methodId","typeLabel":"string"},"methodName":{"type":"string","description":"The display label for the selected shipping method (e.g. \"Standard Shipping\").","uniqueKey":"order.shipping.methodName","typeLabel":"string"},"methodDescription":{"type":"string","description":"The descriptive text that is displayed alongside the shipping method name.","uniqueKey":"order.shipping.methodDescription","typeLabel":"string"}},"description":"The details of shipping charged.","uniqueKey":"order.shipping","typeLabel":"Shipping Details · object"}},"description":"More information associated with the order.","uniqueKey":"order","typeLabel":"Order Details · object"},"paymentMethod":{"title":"Payment Method Options","type":"object","properties":{"vaultOnSuccess":{"type":"boolean","description":"Whether the payment method should be vaulted on a successful payment or not.","default":false,"uniqueKey":"paymentMethod.vaultOnSuccess","typeLabel":"boolean"},"vaultOn3DS":{"type":"boolean","description":"Whether the payment method should be vaulted after a successful 3DS authentication or not.","default":false,"uniqueKey":"paymentMethod.vaultOn3DS","typeLabel":"boolean"},"descriptor":{"title":"Payment descriptor","type":"string","description":"A description of the payment, as it would typically appear on a bank statement.","maxLength":255,"uniqueKey":"paymentMethod.descriptor","typeLabel":"string"},"paymentType":{"title":"Recurring Payment Type","type":"string","enum":["FIRST_PAYMENT","ECOMMERCE","SUBSCRIPTION","UNSCHEDULED"],"description":"Payment types, primarily to be used for recurring payments.\nNote: If you successfully vault a `SINGLE_USE` token on payment creation, then there's no need to set a value for this field and it will be flagged as `FIRST_PAYMENT`. In all other cases, this field will default to `ECOMMERCE`, unless you set the field explicitly. See the table below for all possible values.\n\n| paymentType | Use case |\n| --- | --- |\n| `FIRST_PAYMENT` | a customer-initiated payment which is the first in a series of recurring payments or subscription, or a card on file scenario.\n| `ECOMMERCE` | a customer-initiated payment using stored payment details where the cardholder is present.\n| `SUBSCRIPTION` | a merchant-initiated payment as part of a series of payments on a fixed schedule and a set amount.\n| `UNSCHEDULED` | a merchant-initiated payment using stored payment details with no fixed schedule or amount.","uniqueKey":"paymentMethod.paymentType","typeLabel":"enum\u003cstring>"},"orderedAllowedCardNetworks":{"title":"Allowed card networks","type":"array","items":{"title":"CardNetworkEnum","enum":["AMEX","DANKORT","DINERS_CLUB","DISCOVER","EFTPOS","ENROUTE","ELO","HIPER","INTERAC","JCB","MAESTRO","MASTERCARD","MIR","PRIVATE_LABEL","UNIONPAY","VISA","CARTES_BANCAIRES","OTHER"],"type":"string","description":"The list of available card networks.\n","uniqueKey":"paymentMethod.orderedAllowedCardNetworks.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"If provided, the checkout will run the validation on the entered card number and raise an error in case the card network is not supported.\n\nThe order sets the default card network that should be used in the case of co-badged cards. \ne.g. in the case of `[\"VISA\", \"CARTES_BANCAIRES\", \"MASTERCARD\"]` - if the user enters a \"Visa\" / \"Cartes Bancaires\" card: the default is Visa.\n\nValues should be unique. \n\nIf `null` or nothing passed in the request, the following list with all card networks will be returned in the response:\n\n`[\"VISA\", \"MASTERCARD\", \"AMEX\", \"MAESTRO\", \"UNIONPAY\", \"CARTES_BANCAIRES\", \"DANKORT\", \"DINERS_CLUB\", \"DISCOVER\", \"EFTPOS\", \"ENROUTE\", \"ELO\", \"HIPER\", \"INTERAC\", \"JCB\", \"MIR\", \"OTHER\"]`\n","uniqueKey":"paymentMethod.orderedAllowedCardNetworks","typeLabel":"enum\u003cstring>[]"},"options":{"title":"Payment Method Options","type":"object","description":"Additional options for the payment methods represented as dictionary \nwith key of [available payment methods](/connections/payment-methods/available-payment-methods) and value of corresponding options.\n","properties":{"\u003cPAYMENT_METHOD_TYPE>":{"title":"PaymentMethodOptionAPISchema","type":"object","description":"Options for the payment method of type `PAYMENT_METHOD_TYPE`.\n","required":["surcharge"],"properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","isRequired":true,"uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.surcharge","typeLabel":"Surcharge · object"},"extraMerchantData":{"title":"Extra Merchant Data","type":"object","additionalProperties":true,"description":"For payments using the Klarna payment method, depending on the merchant segment and/or \nthe services available to consumers, Klarna may require additional information regarding \nthe customer, the merchant and/or the purchase. This information, referred to as extra merchant \ndata (EMD), consist of data that is typically not available at the checkout, but which enables \nKlarna to complete an assertive risk assessment, enable new promotional products and improve \nconversion rates for a boost in performance.\n","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.extraMerchantData","typeLabel":"Extra Merchant Data · object"},"merchantName":{"title":"Merchant name","type":"string","description":"For payments using the Apple Pay payment method, use this field to override the default merchant \nname for the Primer account from showing on the Apple Pay flow. For example, if your merchant \nname on your account is \"Company X\" but you want to display a specific store name on the Apple Pay \nflow, you can set the `merchantName` to \"Store name A\".\n","uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>.merchantName","typeLabel":"string"}},"uniqueKey":"paymentMethod.options.\u003cPAYMENT_METHOD_TYPE>","typeLabel":"PaymentMethodOptionAPISchema · object"},"PAYMENT_CARD":{"title":"Payment Method Card Option","type":"object","properties":{"networks":{"title":"Card networks","type":"object","properties":{"AMEX":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.AMEX","typeLabel":"object"},"CARTES_BANCAIRES":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.CARTES_BANCAIRES","typeLabel":"object"},"DANKORT":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DANKORT","typeLabel":"object"},"DINERS_CLUB":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DINERS_CLUB","typeLabel":"object"},"DISCOVER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.DISCOVER","typeLabel":"object"},"ENROUTE":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ENROUTE","typeLabel":"object"},"ELO":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.ELO","typeLabel":"object"},"HIPER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.HIPER","typeLabel":"object"},"INTERAC":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.INTERAC","typeLabel":"object"},"JCB":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.JCB","typeLabel":"object"},"MAESTRO":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MAESTRO","typeLabel":"object"},"MASTERCARD":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MASTERCARD","typeLabel":"object"},"MIR":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.MIR","typeLabel":"object"},"PRIVATE_LABEL":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.PRIVATE_LABEL","typeLabel":"object"},"UNIONPAY":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.UNIONPAY","typeLabel":"object"},"VISA":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.VISA","typeLabel":"object"},"OTHER":{"type":"object","properties":{"surcharge":{"title":"Surcharge","type":"object","properties":{"amount":{"type":"integer","minimum":0,"format":"int64","description":"The surcharge amount, in minor units. Surcharge amount must be used in conjunction with line item amounts, if a top level amount is passed then surcharge will not be calculated.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER.surcharge.amount","typeLabel":"integer\u003cint64>"}},"description":"Surcharge information","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER.surcharge","typeLabel":"Surcharge · object"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks.OTHER","typeLabel":"object"}},"additionalProperties":false,"description":"Dictionary of available card networks as a key with value of Payment Method Card Network Option.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.networks","typeLabel":"Card networks · object"},"captureVaultedCardCvv":{"type":"boolean","description":"Whether to capture CVV for vaulted card.","uniqueKey":"paymentMethod.options.PAYMENT_CARD.captureVaultedCardCvv","typeLabel":"boolean"}},"uniqueKey":"paymentMethod.options.PAYMENT_CARD","typeLabel":"Payment Method Card Option · object"}},"uniqueKey":"paymentMethod.options","typeLabel":"Payment Method Options · object"},"authorizationType":{"title":"Authorization Type","enum":["ESTIMATED","FINAL"],"type":"string","description":"Allows to adjust the authorized amount after the authorization, if supported by payment method.\n`FINAL` - the authorized amount is final and can not be adjusted. Adjusting the amount can be only done via canceling the payment and re-authorization with new amount.\n`ESTIMATED` - the amount can be adjusted after the authorization, if supported by payment method.\n","uniqueKey":"paymentMethod.authorizationType","typeLabel":"enum\u003cstring>"}},"description":"Enable certain options associated with the payment methods.","uniqueKey":"paymentMethod","typeLabel":"Payment Method Options · object"},"orderedAllowedCardNetworks":{"title":"Allowed card networks","type":"array","items":{"title":"CardNetworkEnum","enum":["AMEX","DANKORT","DINERS_CLUB","DISCOVER","EFTPOS","ENROUTE","ELO","HIPER","INTERAC","JCB","MAESTRO","MASTERCARD","MIR","PRIVATE_LABEL","UNIONPAY","VISA","CARTES_BANCAIRES","OTHER"],"type":"string","description":"The list of available card networks.\n","uniqueKey":"orderedAllowedCardNetworks.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The ordered list of card networks accepted for this client session, as resolved from `paymentMethod.orderedAllowedCardNetworks` and the default list.","uniqueKey":"orderedAllowedCardNetworks","typeLabel":"enum\u003cstring>[]"},"warnings":{"type":"array","items":{"title":"ClientSessionWarningsAPIResponse","type":"object","properties":{"type":{"type":"string","description":"The type of the connection involved","example":"TAXJAR","uniqueKey":"warnings.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"A unique code describing the particular issue","example":"MISSING_DATA","uniqueKey":"warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"More information as to the reason for the warning","uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"ClientSessionWarningsAPIResponse · object"},"description":"Warning messages to indicate missing information that are required for payment methods, checkout modules and other features; or when third-party services are unavailable.","uniqueKey":"warnings","typeLabel":"ClientSessionWarningsAPIResponse · object[]"}},"example":{"customerId":"customer-123","orderId":"order-abc","currencyCode":"GBP","amount":650,"metadata":{"productType":"Clothing"},"customer":{"emailAddress":"john@primer.io"},"order":{"lineItems":[{"itemId":"t-shirt-1","description":"White T-Shirt","amount":500,"quantity":1}],"fees":[{"type":"SURCHARGE","amount":100}],"shipping":{"amount":50},"paymentMethod":{"vaultOnSuccess":false,"vaultOn3DS":false,"options":{"GOOGLE_PAY":{"surcharge":{"amount":100}},"PAYMENT_CARD":{"networks":{"VISA":{"surcharge":{"amount":10}},"MASTERCARD":{"surcharge":{"amount":20}}}},"PAY_NL_IDEAL":{"surcharge":{"amount":50}}}},"authorizationType":"ESTIMATED"}},"uniqueKey":"","typeLabel":"ClientSessionAPIResponse · object"},"examples":{"Example":{"title":"Example","value":{"customerId":"customer-123","orderId":"order-abc","currencyCode":"GBP","amount":650,"metadata":{"productType":"Clothing"},"customer":{"emailAddress":"john@primer.io"},"order":{"lineItems":[{"itemId":"t-shirt-1","description":"White T-Shirt","amount":500,"quantity":1}],"fees":[{"type":"SURCHARGE","amount":100}],"shipping":{"amount":50},"paymentMethod":{"vaultOnSuccess":false,"vaultOn3DS":false,"options":{"GOOGLE_PAY":{"surcharge":{"amount":100}},"PAYMENT_CARD":{"networks":{"VISA":{"surcharge":{"amount":10}},"MASTERCARD":{"surcharge":{"amount":20}}}},"PAY_NL_IDEAL":{"surcharge":{"amount":50}}}},"authorizationType":"ESTIMATED"}}}},"exampleType":"generated"}},"exampleType":"generated"},"15488c1a-279a-4f89-a8ab-5600aa8cd0dc":{"description":"Error Response","content":{"application/json":{"schema":{"title":"400ErrorResponse","type":"object","required":["error"],"properties":{"error":{"type":"object","title":"Error","description":"An object containing information about the error that occurred.","required":["errorId","description"],"properties":{"errorId":{"title":"Error ID","type":"string","description":"An error ID","isRequired":true,"uniqueKey":"error.errorId","typeLabel":"string"},"description":{"title":"Error description","type":"string","description":"A human readable description of the error","isRequired":true,"uniqueKey":"error.description","typeLabel":"string"},"recoverySuggestion":{"title":"Recovery Suggestion","type":"string","description":"A suggestion on how to recover from this error state.","uniqueKey":"error.recoverySuggestion","typeLabel":"string"},"diagnosticsId":{"title":"Error diagnostics ID","type":"string","description":"An ID that you can quote when contacting the Primer support team via our [Support Portal](https://primerapi.atlassian.net/servicedesk/customer/portal/11).","uniqueKey":"error.diagnosticsId","typeLabel":"string"},"validationErrors":{"title":"Validation Errors","type":"array","items":{"type":"object","uniqueKey":"error.validationErrors.items.[INDEX]","typeLabel":"object"},"description":"Returned in case of a badly formed request","uniqueKey":"error.validationErrors","typeLabel":"Validation Errors · object[]"},"paymentId":{"title":"Payment ID","type":"string","description":"Payment ID of the related pay","uniqueKey":"error.paymentId","typeLabel":"string"},"paymentStatus":{"title":"Status","type":"string","description":"Status of the related payment","uniqueKey":"error.paymentStatus","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"uniqueKey":"","typeLabel":"400ErrorResponse · object"},"examples":{"ClientSessionValidationError":{"title":"ClientSessionValidationError","value":{"error":{"errorId":"ClientSessionValidationError","description":"The client token is invalid.","recoverySuggestion":"Please provide a valid client token.","diagnosticsId":"1234567898"}}},"MetadataContainsEmptyKey":{"title":"MetadataContainsEmptyKey","value":{"error":{"errorId":"MetadataContainsEmptyKey","description":"Metadata field contains empty string key.","recoverySuggestion":"Either remove empty string keys or provide non-empty string instead.","diagnosticsId":"1234567898"}}}},"exampleType":"examples"}},"exampleType":"examples"},"344e3e05-fdfe-4dfe-bd67-cd3140b21cc6":{"description":"Error Response","content":{"application/json":{"schema":{"title":"422ErrorResponse","type":"object","required":["error"],"properties":{"error":{"title":"Error","type":"object","description":"An object containing information about the error that occurred.","required":["errorId","description"],"properties":{"errorId":{"title":"Error ID","type":"string","description":"An error ID","isRequired":true,"uniqueKey":"error.errorId","typeLabel":"string"},"description":{"title":"Error description","type":"string","description":"A human readable description of the error","isRequired":true,"uniqueKey":"error.description","typeLabel":"string"},"recoverySuggestion":{"title":"Recovery Suggestion","type":"string","description":"A suggestion on how to recover from this error state.","uniqueKey":"error.recoverySuggestion","typeLabel":"string"},"diagnosticsId":{"title":"Error diagnostics ID","type":"string","description":"An ID that you can quote when contacting the Primer support team via our [Support Portal](https://primerapi.atlassian.net/servicedesk/customer/portal/11).","uniqueKey":"error.diagnosticsId","typeLabel":"string"},"validationErrors":{"title":"Validation Errors","type":"array","items":{"type":"object","uniqueKey":"error.validationErrors.items.[INDEX]","typeLabel":"object"},"description":"Returned in case of a badly formed request","uniqueKey":"error.validationErrors","typeLabel":"Validation Errors · object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"Error · object"}},"uniqueKey":"","typeLabel":"422ErrorResponse · object"},"examples":{"PaymentMetadataSizeExceeded":{"title":"PaymentMetadataSizeExceeded","value":{"error":{"errorId":"PaymentMetadataSizeExceeded","description":"payment_metadata size (327680 bytes) exceeds the maximum allowed size of 307200 bytes.","recoverySuggestion":"Reduce the size of payment_metadata to 307200 bytes or less.","diagnosticsId":"1234567898"}}},"DeprecatedCurrencyError":{"title":"DeprecatedCurrencyError","value":{"error":{"errorId":"DeprecatedCurrencyError","description":"BGN is no longer a supported currency","recoverySuggestion":"Please use a currently supported currency.","diagnosticsId":"1234567898"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2b20ad64-df7b-4569-9766-f56d4a16c3ba":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"213755bf-442f-4489-82dc-c2ee8545cdf7":{"url":"https://api.sandbox.primer.io"},"d11d2eff-bc57-42ce-8719-afb888ddd6e6":{"url":"https://api.primer.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-KEY"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml"},"subdomain":"primer-cc826789","siteName":"Primer","title":"Update client session - Primer","navMaps":{"firstHrefInVersion":{"v2.4":{"href":"/api-reference/v2.4/api-reference/client-session-api/update-client-session","matchLevel":1},"v2.3":{"href":"/api-reference/v2.3/api-reference/client-session-api/update-client-session","matchLevel":0},"v2.2":{"href":"/api-reference/v2.2/api-reference/client-session-api/update-client-session","matchLevel":1},"v2.1":{"href":"/api-reference/v2.1/api-reference/client-session-api/update-client-session","matchLevel":1},"v2":{"href":"/api-reference/v2/api-reference/client-session-api/create-a-client-session","matchLevel":2},"3.0.0-beta":{"href":"/sdk/ios-checkout/v3.0.0-beta/installation","matchLevel":4},"v2.x.x":{"href":"/sdk/react-native/v2.x.x/installation","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T06:23:08.652Z","originalFileLocation":"api-reference/v2.3/api-reference/client-session-api/update-client-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"You can update a clients session created earlier with the PATCH /client-session API call. The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-session API call. You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed. If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update. If you simply wish to clear the value of the field, pass null as your input. You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported. The response will contain all the fields of the client session including the ones that were changed.\">\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=\"Update client session - Primer\">\u003cmeta data-mint-head property=\"og:description\" content=\"You can update a clients session created earlier with the PATCH /client-session API call. The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-session API call. You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed. If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update. If you simply wish to clear the value of the field, pass null as your input. You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported. The response will contain all the fields of the client session including the ones that were changed.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Primer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session\">\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=Client+Session+API\u0026amp;title=Update+client+session\u0026amp;description=You+can+update+a+clients+session+created+earlier+with+the+%60PATCH+%2Fclient-session%60+%5BAPI+call%5D%28%23operation%2Fcreate_client_side_token_client_session_post%29.%0A%0AThe+only\u0026amp;theme=115d40077fafa3c430405b4c\u0026amp;signature=ea2b805c2b4a6ef88dbbd559a207caa6d38cf1efd5b47ffbbbd5a63c2a0aafdb\">\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=\"Update client session - Primer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"You can update a clients session created earlier with the PATCH /client-session API call. The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-session API call. You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed. If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update. If you simply wish to clear the value of the field, pass null as your input. You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported. The response will contain all the fields of the client session including the ones that were changed.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://primer-cc826789.mintlify.site/docs/_mintlify/api/og/v2?division=Client+Session+API\u0026amp;title=Update+client+session\u0026amp;description=You+can+update+a+clients+session+created+earlier+with+the+%60PATCH+%2Fclient-session%60+%5BAPI+call%5D%28%23operation%2Fcreate_client_side_token_client_session_post%29.%0A%0AThe+only\u0026amp;theme=115d40077fafa3c430405b4c\u0026amp;signature=ea2b805c2b4a6ef88dbbd559a207caa6d38cf1efd5b47ffbbbd5a63c2a0aafdb\">\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/api-reference/v2.3/api-reference/client-session-api/update-client-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session.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/api-reference/v2.3/api-reference/client-session-api/update-client-session#webpage\",\"url\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session\",\"name\":\"Update client session\",\"description\":\"You can update a clients session created earlier with the PATCH /client-session API call. The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-session API call. You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed. If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update. If you simply wish to clear the value of the field, pass null as your input. You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported. The response will contain all the fields of the client session including the ones that were changed.\",\"dateModified\":\"2026-10-26T06:23:08.652Z\",\"isPartOf\":{\"@id\":\"https://primer.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/retrieve-a-client-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Client Session API\",\"item\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/retrieve-a-client-session\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update client session\",\"item\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session#apireference\",\"headline\":\"Update client session\",\"name\":\"Update client session\",\"description\":\"You can update a clients session created earlier with the PATCH /client-session API call. The only required field for the request is clientToken. Other supported request fields are same as for the POST /client-session API call. You need to specify only the fields you wish to update. However, if the items to be updated are arrays (e.g.lineItems), you need to provide the entire array, including any new or modified items. Primer will replace the full array with whatever is sent in the request. If you want to keep existing items, make sure to include them in your request, anything omitted will be removed. If you wish to update nested fields on the client session, such as the customer emailAddress field, you can pass the customer object with only one field, emailAddress, to update. If you simply wish to clear the value of the field, pass null as your input. You can update paymentMethod.vaultOnSuccess field but updating of the paymentMethod.options field through PATCH /client-session is not supported. The response will contain all the fields of the client session including the ones that were changed.\",\"url\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session\",\"mainEntityOfPage\":{\"@id\":\"https://primer.io/docs/api-reference/v2.3/api-reference/client-session-api/update-client-session#webpage\"},\"dateModified\":\"2026-10-26T06:23:08.652Z\",\"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","pages":[{"title":"v2.4","href":"/api-reference/v2.4/api-reference/client-session-api/update-client-session"}]},{"version":"v2.3","tag":"Supported","anchors":[{"anchor":"Getting started","icon":"rocket","pages":[{"title":"Getting started","href":"/api-reference/get-started/v2.3/overview"}]},{"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.3/openapi.yaml get /client-session","href":"/api-reference/v2.3/api-reference/client-session-api/retrieve-a-client-session"},{"title":"Create a client session","description":"Creating a client session generates a client token: a temporary key used to initialize [Universal Checkout](/accept-payments/setup-universal-checkout/installation/web) and authenticate it against your account.\n\nUniversal Checkout automatically retrieves all the settings from the client session and the Dashboard to configure the payment methods and the checkout experience.\n\n\u003cb>Note:\u003c/b>\nWhen creating a Client Session, please make sure to provide `currencyCode`, `orderId`, and at least one of `amount` or `lineItems`. \nIf any of these are not yet available, you can provide them when making the payment request.\n\n\u003ccode>POST /client-session\u003c/code> does not have required fields as all fields are not always known when a client session is created. \nUse \u003ccode>PATCH /client-session\u003c/code> to update the parameters throughout the checkout session.\n\nClient tokens expire after 24 hours.\n","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /client-session","href":"/api-reference/v2.3/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.3/openapi.yaml patch /client-session","href":"/api-reference/v2.3/api-reference/client-session-api/update-client-session"}]},{"group":"Payments API","pages":[{"title":"Search \u0026 list payments","description":"\u003cp/>\n\nRetrieve a list of your payments.\n\nResults are paginated, they will only return up to 100 payments maximum.\nTo access the next page of result, set the `cursor` query parameter to the value of `nextCursor` in\nyour current result payload. Use `prevCursor` to go back to the previous page.\n\n**Note:** this endpoint returns a list of\nsummarized payments. Not all payments attributes are present. You can use\nthe query parameters to filter payments. You can separate multiple query parameters with the `\u0026` symbol.\nQuery parameters with types of the form \"Array of strings\" (such as the status parameter) can be specified as a comma-separated list.\n\nFor example, if you wanted to get both `FAILED` and `CANCELLED` payments, for customer `john-123`, you would use:\n```bash\ncurl --location --request GET 'https://api.primer.io/payments?status=FAILED,CANCELLED\u0026customer_id=john-123' \\\n--header 'X-Api-Key: \u003cYOUR_API_KEY>'\n```\n\nYou can alternatively specify a list by repeating the parameter multiple times.\n\nQuery parameters are also accepted in camelCase (for example `customerId`, `fromDate`). If both spellings are supplied, the camelCase value is used.\n\n**Note:** payments will be available within a minute from being created.\n","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml get /payments","href":"/api-reference/v2.3/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.3/openapi.yaml post /payments","href":"/api-reference/v2.3/api-reference/payments-api/create-a-payment"},{"title":"Authorize a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/authorize","href":"/api-reference/v2.3/api-reference/payments-api/authorize-a-payment"},{"title":"Capture a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/capture","href":"/api-reference/v2.3/api-reference/payments-api/capture-a-payment"},{"title":"Cancel a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/cancel","href":"/api-reference/v2.3/api-reference/payments-api/cancel-a-payment"},{"title":"Refund a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/refund","href":"/api-reference/v2.3/api-reference/payments-api/refund-a-payment"},{"title":"Resume a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/resume","href":"/api-reference/v2.3/api-reference/payments-api/resume-a-payment"},{"title":"Adjust authorized amount","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payments/{id}/adjust-authorization","href":"/api-reference/v2.3/api-reference/payments-api/adjust-authorized-amount"},{"title":"Get a payment","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml get /payments/{id}","href":"/api-reference/v2.3/api-reference/payments-api/get-a-payment"}]},{"group":"Payment Methods API","pages":[{"title":"Save a payment method token","deprecated":null,"version":null,"openapi":"https://api.schemas.primer.io/api-reference/v2.3/openapi.yaml post /payment-instruments/{paymentMethodToken}/vault","href":"/api-reference/v2.3/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.3/openapi.yaml get /payment-instruments","href":"/api-reference/v2.3/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.3/openapi.yaml delete /payment-instruments/{paymentMethodToken}","href":"/api-reference/v2.3/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.3/openapi.yaml post /payment-instruments/{paymentMethodToken}/default","href":"/api-reference/v2.3/api-reference/payment-methods-api/update-the-default-saved-payment-method"}]}]}]},{"anchor":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/api-reference/endpoints/v2.3/payment-webhooks/payment-status-update"}]},{"anchor":"Changelogs","icon":"lines-leaning","pages":[{"title":"Changelogs","href":"/api-reference/changelog"}]}]},{"version":"v2.2","tag":"Supported","pages":[{"title":"v2.2","href":"/api-reference/v2.2/api-reference/client-session-api/update-client-session"}]},{"version":"v2.1","tag":"Supported","pages":[{"title":"v2.1","href":"/api-reference/v2.1/api-reference/client-session-api/update-client-session"}]},{"version":"v2","tag":"Supported","pages":[{"title":"v2","href":"/api-reference/v2/api-reference/client-session-api/create-a-client-session"}]}]},{"tab":"SDK Reference","anchors":[{"anchor":"Web","icon":"globe","groups":[{"group":"Web","pages":[{"title":"SDK reference overview","sidebarTitle":"Overview","href":"/sdk/primer-checkout-web/sdk-reference-overview"},{"title":"SDK options reference","sidebarTitle":"SDK options","href":"/sdk/primer-checkout-web/sdk-options-reference"},{"title":"Styling variables","href":"/sdk/primer-checkout-web/styling-variables"},{"title":"Events reference","sidebarTitle":"Events reference","href":"/sdk/primer-checkout-web/events-reference"},{"title":"Apple Pay options","sidebarTitle":"Apple Pay","href":"/sdk/primer-checkout-web/apple-pay"},{"title":"PayPal options","sidebarTitle":"PayPal","href":"/sdk/primer-checkout-web/paypal"},{"title":"Google Pay options","sidebarTitle":"Google Pay","href":"/sdk/primer-checkout-web/google-pay"},{"title":"Klarna options","sidebarTitle":"Klarna","href":"/sdk/primer-checkout-web/klarna"},{"title":"Klarna via Adyen options","sidebarTitle":"Klarna via Adyen","href":"/sdk/primer-checkout-web/adyen-klarna"},{"group":"Components","pages":[{"title":"Checkout component","sidebarTitle":"\u003cprimer-checkout>","href":"/sdk/primer-checkout-web/components/primer-checkout"},{"title":"Provider component","sidebarTitle":"\u003cprimer-provider>","href":"/sdk/primer-checkout-web/components/primer-provider"},{"title":"Main component","sidebarTitle":"\u003cprimer-main>","href":"/sdk/primer-checkout-web/components/primer-main"},{"title":"Payment Method Component","sidebarTitle":"\u003cprimer-payment-method>","href":"/sdk/primer-checkout-web/components/primer-payment-method"},{"title":"Payment Method Container","sidebarTitle":"\u003cprimer-payment-method-container>","href":"/sdk/primer-checkout-web/components/primer-payment-method-container"},{"group":"Card Form Components","pages":[{"title":"Card form","sidebarTitle":"\u003cprimer-card-form>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-card-form"},{"title":"Billing Address","sidebarTitle":"\u003cprimer-billing-address>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-billing-address"},{"title":"Card Number Input","sidebarTitle":"\u003cprimer-input-card-number>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-card-number"},{"title":"CVV Input","sidebarTitle":"\u003cprimer-input-cvv>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-cvv"},{"title":"Card Expiry Input","sidebarTitle":"\u003cprimer-input-card-expiry>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-card-expiry"},{"title":"Cardholder Name Input","sidebarTitle":"\u003cprimer-input-card-holder-name>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-card-holder-name"},{"title":"Card Form Submit Button","sidebarTitle":"\u003cprimer-card-form-submit>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-card-form-submit"},{"title":"Input Label","sidebarTitle":"\u003cprimer-input-label>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-label"},{"title":"Input Wrapper","sidebarTitle":"\u003cprimer-input-wrapper>","href":"/sdk/primer-checkout-web/components/primer-card-form/primer-input-wrapper"}]},{"title":"Vault Manager Component","sidebarTitle":"\u003cprimer-vault-manager>","href":"/sdk/primer-checkout-web/components/primer-vault-manager"},{"title":"Show Other Payments Component","sidebarTitle":"\u003cprimer-show-other-payments>","href":"/sdk/primer-checkout-web/components/primer-show-other-payments"},{"title":"Error Message Container","sidebarTitle":"\u003cprimer-error-message-container>","href":"/sdk/primer-checkout-web/components/primer-error-message-container"}]}]}]},{"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","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","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","groups":[{"group":"Web SDK (v2.x.x)","pages":[{"group":"Getting started","pages":[{"title":"Web installation","sidebarTitle":"Installation","href":"/sdk/web/v2.x.x/installation"},{"title":"Handle redirects \u0026 deep links","sidebarTitle":"Handle redirects \u0026 deep links","href":"/sdk/web/v2.x.x/handle-redirects-and-deeplinks"}]},{"group":"Primer","pages":[{"group":"Methods","pages":[{"title":"showUniversalCheckout","href":"/sdk/web/v2.x.x/primer/methods/showUniversalCheckout"},{"title":"createHeadless","href":"/sdk/web/v2.x.x/primer/methods/createHeadless"},{"title":"showVaultManager","href":"/sdk/web/v2.x.x/primer/methods/showVaultManager"}]}]},{"group":"PrimerCheckout","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/sdk/web/v2.x.x/primer-checkout/overview"},{"group":"Methods","pages":[{"title":"refreshClientSession","href":"/sdk/web/v2.x.x/primer-checkout/methods/refreshClientSession"},{"title":"setPaymentCreationEnabled","href":"/sdk/web/v2.x.x/primer-checkout/methods/setPaymentCreationEnabled"},{"title":"setTokenizationEnabled","href":"/sdk/web/v2.x.x/primer-checkout/methods/setTokenizationEnabled"},{"title":"submit","href":"/sdk/web/v2.x.x/primer-checkout/methods/submit"},{"title":"teardown","href":"/sdk/web/v2.x.x/primer-checkout/methods/teardown"}]}]},{"group":"PrimerHeadlessCheckout","pages":[{"group":"Methods","pages":[{"title":"start","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/start"},{"title":"refreshClientSession","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/refreshClientSession"},{"title":"createPaymentMethodManager","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/createPaymentMethodManager"},{"title":"getAssetsManager","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/getAssetsManager"},{"title":"createVaultManager","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/createVaultManager"},{"title":"configure","href":"/sdk/web/v2.x.x/primer-headless-checkout/methods/configure"}]},{"group":"Types","pages":[{"title":"HeadlessHostedInput","href":"/sdk/web/v2.x.x/primer-headless-checkout/types/HeadlessHostedInput"},{"title":"HeadlessPaymentMethodButton","href":"/sdk/web/v2.x.x/primer-headless-checkout/types/HeadlessPaymentMethodButton"}]}]},{"group":"CheckoutStyle","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/sdk/web/v2.x.x/checkout-style/Overview"},{"title":"InputStyle","href":"/sdk/web/v2.x.x/checkout-style/InputStyle"},{"title":"BaseInputStyle","href":"/sdk/web/v2.x.x/checkout-style/BaseInputStyle"},{"title":"TextStyle","href":"/sdk/web/v2.x.x/checkout-style/TextStyle"},{"title":"SavedPaymentMethodButtonStyle","href":"/sdk/web/v2.x.x/checkout-style/SavedPaymentMethodButtonStyle"},{"title":"BaseSavedPaymentMethodButtonStyle","href":"/sdk/web/v2.x.x/checkout-style/BaseSavedPaymentMethodButtonStyle"},{"title":"SubmitButtonStyle","href":"/sdk/web/v2.x.x/checkout-style/SubmitButtonStyle"},{"title":"BaseSubmitButtonStyle","href":"/sdk/web/v2.x.x/checkout-style/BaseSubmitButtonStyle"}]},{"group":"Common objects","pages":[{"title":"PrimerClientError","href":"/sdk/web/v2.x.x/common-objects/PrimerClientError"}]},{"group":"Constants","pages":[{"title":"Card networks","sidebarTitle":"Card networks","href":"/sdk/web/v2.x.x/constants/card-networks"},{"title":"Payment method types","sidebarTitle":"Payment method types","href":"/sdk/web/v2.x.x/constants/payment-method-types"},{"title":"Payment instrument types","sidebarTitle":"Payment instrument types","href":"/sdk/web/v2.x.x/constants/payment-instrument-types"}]}]},{"group":"iOS SDK (v2.x.x)","pages":[{"group":"Getting started","pages":[{"title":"iOS installation","sidebarTitle":"Installation","href":"/sdk/ios/v2.x.x/installation"},{"title":"Handle redirects \u0026 deep links","sidebarTitle":"Handle redirects \u0026 deep links","href":"/sdk/ios/v2.x.x/handle-redirects-and-deeplinks"}]},{"group":"Primer","pages":[{"group":"Methods","pages":[{"title":"configure","href":"/sdk/ios/v2.x.x/primer/methods/configure"},{"title":"showUniversalCheckout","href":"/sdk/ios/v2.x.x/primer/methods/showUniversalCheckout"},{"title":"showVaultManager","href":"/sdk/ios/v2.x.x/primer/methods/showVaultManager"},{"title":"dismiss","href":"/sdk/ios/v2.x.x/primer/methods/dismiss"}]},{"group":"Delegates","pages":[{"title":"PrimerDelegate","href":"/sdk/ios/v2.x.x/primer/delegates/PrimerDelegate"}]},{"group":"Properties","pages":[{"title":"logger","href":"/sdk/ios/v2.x.x/primer/properties/logger"}]}]},{"group":"PrimerHeadlessUniversalCheckout","pages":[{"group":"Properties","pages":[{"title":"delegate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/properties/delegate"}]},{"group":"Methods","pages":[{"title":"start","href":"/sdk/ios/v2.x.x/primer-headless-checkout/methods/start"},{"title":"cleanUp","href":"/sdk/ios/v2.x.x/primer-headless-checkout/methods/cleanUp"}]},{"group":"Delegates","pages":[{"title":"PrimerHeadlessUniversalCheckoutDelegate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/delegates/PrimerHeadlessUniversalCheckoutDelegate"},{"title":"PrimerHeadlessUniversalCheckoutUIDelegate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/delegates/PrimerHeadlessUniversalCheckoutUIDelegate"}]},{"group":"Assets manager","pages":[{"title":"getPaymentMethodAssets","href":"/sdk/ios/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodAssets"},{"title":"getPaymentMethodAsset","href":"/sdk/ios/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodAsset"},{"title":"getCardNetworkAsset","href":"/sdk/ios/v2.x.x/primer-headless-checkout/assets-manager/getCardNetworkAsset"},{"title":"getCardNetworkImage","href":"/sdk/ios/v2.x.x/primer-headless-checkout/assets-manager/getCardNetworkImage"}]},{"group":"Native UI manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/native-ui-manager/init"},{"title":"showPaymentMethod","href":"/sdk/ios/v2.x.x/primer-headless-checkout/native-ui-manager/showPaymentMethod"}]},{"group":"Raw data manager","pages":[{"title":"delegate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager/delegate"},{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager/init"},{"title":"configure","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager/configure"},{"title":"listRequiredInputElementTypes","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager/listRequiredInputElementTypes"},{"title":"submit","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager/submit"}]},{"group":"Raw data manager delegate","pages":[{"title":"PrimerHeadlessUniversalCheckoutRawDataManagerDelegate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/raw-data-manager-delegate/PrimerHeadlessUniversalCheckoutRawDataManagerDelegate"}]},{"group":"NOL pay manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/init"},{"title":"provideNolPayLinkedCardsComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayLinkedCardsComponent"},{"title":"provideNolPayLinkCardComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayLinkCardComponent"},{"title":"provideNolPayUnlinkCardComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayUnlinkCardComponent"},{"title":"provideNolPayPaymentComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayPaymentComponent"},{"title":"PrimerNolPaymentCard","href":"/sdk/ios/v2.x.x/primer-headless-checkout/nol-pay-manager/PrimerNolPaymentCard"}]},{"group":"Component with redirect manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/component-with-redirect-manager/init"},{"title":"provide","href":"/sdk/ios/v2.x.x/primer-headless-checkout/component-with-redirect-manager/provide"},{"title":"provideBanksComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/component-with-redirect-manager/provideBanksComponent"},{"title":"provideComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/component-with-redirect-manager/provideComponent"},{"title":"PrimerHeadlessMainComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/component-with-redirect-manager/PrimerHeadlessMainComponent"}]},{"group":"Klarna headless manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/klarna-headless-manager/init"},{"title":"provideKlarnaComponent","href":"/sdk/ios/v2.x.x/primer-headless-checkout/klarna-headless-manager/provideKlarnaComponent"}]},{"group":"ACH headless manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/ach-headless-manager/init"},{"title":"provide","href":"/sdk/ios/v2.x.x/primer-headless-checkout/ach-headless-manager/provide"}]},{"group":"Vault manager","pages":[{"title":"init","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/init"},{"title":"configure","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/configure"},{"title":"fetchVaultedPaymentMethods","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/fetchVaultedPaymentMethods"},{"title":"deleteVaultedPaymentMethod","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/deleteVaultedPaymentMethod"},{"title":"validate","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/validate"},{"title":"startPaymentFlow","href":"/sdk/ios/v2.x.x/primer-headless-checkout/vault-manager/startPaymentFlow"}]}]},{"group":"Common objects","pages":[{"title":"PrimerSessionIntent","href":"/sdk/ios/v2.x.x/common-objects/PrimerSessionIntent"},{"title":"PrimerSettings","href":"/sdk/ios/v2.x.x/common-objects/PrimerSettings"},{"title":"PrimerPaymentMethodTokenData","href":"/sdk/ios/v2.x.x/common-objects/PrimerPaymentMethodTokenData"},{"title":"PaymentMethod","href":"/sdk/ios/v2.x.x/common-objects/PaymentMethod"},{"title":"PrimerError","href":"/sdk/ios/v2.x.x/common-objects/PrimerError"},{"title":"PrimerValidationError","href":"/sdk/ios/v2.x.x/common-objects/PrimerValidationError"}]}]},{"group":"Android SDK (v2.x.x)","pages":[{"title":"Android installation","sidebarTitle":"Installation","href":"/sdk/android/v2.x.x/installation"},{"group":"Primer","pages":[{"group":"Methods","pages":[{"title":"configure","href":"/sdk/android/v2.x.x/primer/methods/configure"},{"title":"showUniversalCheckout","href":"/sdk/android/v2.x.x/primer/methods/showUniversalCheckout"},{"title":"showVaultManager","href":"/sdk/android/v2.x.x/primer/methods/showVaultManager"},{"title":"showPaymentMethod","href":"/sdk/android/v2.x.x/primer/methods/showPaymentMethod"},{"title":"dismiss","href":"/sdk/android/v2.x.x/primer/methods/dismiss"},{"title":"cleanup","href":"/sdk/android/v2.x.x/primer/methods/cleanup"}]},{"group":"Listeners","pages":[{"title":"PrimerCheckoutListener","href":"/sdk/android/v2.x.x/primer/listeners/PrimerCheckoutListener"}]}]},{"group":"PrimerHeadlessUniversalCheckout","pages":[{"group":"Methods","pages":[{"title":"start","href":"/sdk/android/v2.x.x/primer-headless-checkout/methods/start"},{"title":"setCheckoutListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/methods/setCheckoutListener"},{"title":"setCheckoutUiListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/methods/setCheckoutUiListener"},{"title":"cleanup","href":"/sdk/android/v2.x.x/primer-headless-checkout/methods/cleanup"}]},{"group":"Listeners","pages":[{"title":"PrimerHeadlessUniversalCheckoutListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/listeners/PrimerHeadlessUniversalCheckoutListener"},{"title":"PrimerHeadlessUniversalCheckoutUiListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/listeners/PrimerHeadlessUniversalCheckoutUiListener"}]},{"group":"Assets Managers","pages":[{"title":"getPaymentMethodResources","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getPaymentMethodResources"},{"title":"getPaymentMethodResource","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getPaymentMethodResource"},{"title":"getPaymentMethodAssets","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getPaymentMethodAssets"},{"title":"getPaymentMethodAsset","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getPaymentMethodAsset"},{"title":"getCardNetworkAsset","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getCardNetworkAsset"},{"title":"getCardNetworkImage","href":"/sdk/android/v2.x.x/primer-headless-checkout/assets-managers/getCardNetworkImage"}]},{"group":"Native UI manager","pages":[{"title":"newInstance","href":"/sdk/android/v2.x.x/primer-headless-checkout/native-ui-manager/newInstance"},{"title":"showPaymentMethod","href":"/sdk/android/v2.x.x/primer-headless-checkout/native-ui-manager/showPaymentMethod"}]},{"group":"Raw Data manager","pages":[{"title":"newInstance","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/newInstance"},{"title":"configure","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/configure"},{"title":"getRequiredInputElementTypes","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/getRequiredInputElementTypes"},{"title":"setListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/setListener"},{"title":"setRawData","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/setRawData"},{"title":"submit","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/submit"},{"title":"cleanup","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager/cleanup"}]},{"group":"Raw Data Manager Listener","pages":[{"title":"PrimerHeadlessUniversalCheckoutRawDataManagerListener","href":"/sdk/android/v2.x.x/primer-headless-checkout/raw-data-manager-listener/PrimerHeadlessUniversalCheckoutRawDataManagerListener"}]},{"group":"NOL Pay manager","pages":[{"title":"init","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/init"},{"title":"provideNolPayLinkedCardsComponent","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayLinkedCardsComponent"},{"title":"provideNolPayNfcComponent","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayNfcComponent"},{"title":"provideNolPayLinkCardComponent","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayLinkCardComponent"},{"title":"provideNolPayUnlinkCardComponent","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayUnlinkCardComponent"},{"title":"provideNolPayPaymentComponent","sidebarTitle":"Provide nol Pay Payment Component","href":"/sdk/android/v2.x.x/primer-headless-checkout/nol-pay-manager/provideNolPayPaymentComponent"}]},{"group":"Component With Redirect manager","pages":[{"title":"init","href":"/sdk/android/v2.x.x/primer-headless-checkout/component-with-redirect-manager/init"},{"title":"provide","href":"/sdk/android/v2.x.x/primer-headless-checkout/component-with-redirect-manager/provide"}]},{"group":"Klarna Headless manager","pages":[{"title":"init","href":"/sdk/android/v2.x.x/primer-headless-checkout/klarna-headless-manager/init"},{"title":"provideKlarnaComponent","href":"/sdk/android/v2.x.x/primer-headless-checkout/klarna-headless-manager/provideKlarnaComponent"}]},{"group":"ACH Headless manager","pages":[{"title":"init","href":"/sdk/android/v2.x.x/primer-headless-checkout/ach-headless-manager/init"},{"title":"provide","href":"/sdk/android/v2.x.x/primer-headless-checkout/ach-headless-manager/provide"}]},{"group":"Vault manager","pages":[{"title":"newInstance","href":"/sdk/android/v2.x.x/primer-headless-checkout/vault-manager/newInstance"},{"title":"fetchVaultedPaymentMethods","href":"/sdk/android/v2.x.x/primer-headless-checkout/vault-manager/fetchVaultedPaymentMethods"},{"title":"deleteVaultedPaymentMethod","href":"/sdk/android/v2.x.x/primer-headless-checkout/vault-manager/deleteVaultedPaymentMethod"},{"title":"validate","href":"/sdk/android/v2.x.x/primer-headless-checkout/vault-manager/validate"},{"title":"startPaymentFlow","href":"/sdk/android/v2.x.x/primer-headless-checkout/vault-manager/startPaymentFlow"}]}]},{"group":"Logging","pages":[{"title":"PrimerLogger","href":"/sdk/android/v2.x.x/logging/PrimerLogger"}]},{"group":"Common objects","pages":[{"title":"PrimerSessionIntent","href":"/sdk/android/v2.x.x/common-objects/PrimerSessionIntent"},{"title":"PrimerSettings","href":"/sdk/android/v2.x.x/common-objects/PrimerSettings"},{"title":"PrimerCheckoutData","href":"/sdk/android/v2.x.x/common-objects/PrimerCheckoutData"},{"title":"PrimerPaymentMethodData","href":"/sdk/android/v2.x.x/common-objects/PrimerPaymentMethodData"},{"title":"PrimerPaymentMethodTokenData","href":"/sdk/android/v2.x.x/common-objects/PrimerPaymentMethodTokenData"},{"title":"PrimerError","href":"/sdk/android/v2.x.x/common-objects/PrimerError"},{"title":"PrimerValidationError","href":"/sdk/android/v2.x.x/common-objects/PrimerValidationError"},{"title":"PrimerInputValidationError","href":"/sdk/android/v2.x.x/common-objects/PrimerInputValidationError"}]}]}]},{"anchor":"Lifecycle","icon":"clock","groups":[{"group":"Lifecycle","pages":[{"title":"SDK lifecycle","sidebarTitle":"Overview","href":"/sdk/lifecycle"}]}]}]},{"tab":"Connections","pages":[{"title":"Connections","href":"/connections/processors/overview"}]},{"tab":"Changelogs","pages":[{"title":"Changelogs","href":"/changelogs/api-changelog"}]}]},"basePath":"","title":"Update client session - Primer","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}