Start a new 3DS authentication session to authenticate a payer. The session
is accepted for asynchronous processing; poll the session resource for the
authentication outcome.
{
"error": {
"code": "PAYMENT_DETAILS_MISMATCH",
"message": "The request was invalid or malformed",
"timestamp": "2024-12-16T10:30:00.000Z",
"details": {},
"correlation_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "PAYMENT_DETAILS_MISMATCH",
"message": "The request was invalid or malformed",
"timestamp": "2024-12-16T10:30:00.000Z",
"details": {},
"correlation_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{
"error": {
"code": "PAYMENT_DETAILS_MISMATCH",
"message": "The request was invalid or malformed",
"timestamp": "2024-12-16T10:30:00.000Z",
"details": {},
"correlation_id": "550e8400-e29b-41d4-a716-446655440000"
}
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"lite Payments API Reference","colors":{"primary":"#6B4EFF","light":"#8B72FF","dark":"#4B2EDF"},"logo":{"light":"https://mintcdn.com/lite-92e7ad3a/uYpyqnuSvOdBocms/logo/lite-light.svg?fit=max\u0026auto=format\u0026n=uYpyqnuSvOdBocms\u0026q=85\u0026s=7d85c532514181dd38e2af8db58c4f3f","dark":"https://mintcdn.com/lite-92e7ad3a/uYpyqnuSvOdBocms/logo/lite-dark.svg?fit=max\u0026auto=format\u0026n=uYpyqnuSvOdBocms\u0026q=85\u0026s=4973ba29b34352c5f80d669c8cbcb89d"},"favicon":"https://mintcdn.com/lite-92e7ad3a/uYpyqnuSvOdBocms/logo/favicon.svg?fit=max\u0026auto=format\u0026n=uYpyqnuSvOdBocms\u0026q=85\u0026s=29f00b6696a904c17b2d3504480bdbc4","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","typescript","Go","PHP"],"prefill":true},"url":"full"},"footer":{"socials":{"github":"https://github.com/lite-sa"},"links":[{"header":"Company","items":[{"label":"Homepage","href":"https://lite.sa"}]}]},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["claude","download-spec"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lite-92e7ad3a","hasAudioNarration":false,"actualSubdomain":"lite-92e7ad3a","customDomains":["docs.lite.sa"],"gitSource":{"type":"github","owner":"lite-sa","repo":"documentation","deployBranch":"dev","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada395ffd1ebb929e8e112d","collectionId":"152c7e09-bac7-4055-9685-69f8d97293dd","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada395ffd1ebb929e8e112d"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ade46ed4b3b1f0c5edc023f","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Payment Acceptance","count":53},{"language":"default","tag":"Data Models","count":45},{"language":"default","tag":"API Reference","count":43},{"language":"default","tag":"Account Settlement","count":23},{"language":"default","tag":"Guides","count":21},{"language":"default","tag":"Accept Payments","count":19},{"language":"default","tag":"Tokenization","count":13},{"language":"default","tag":"Settlement","count":12},{"language":"default","tag":"Server-to-Server Payments","count":11},{"language":"default","tag":"Integration Options","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/3ds-authentication/create-an-authentication-session","slug":"/api-reference/3ds-authentication/create-an-authentication-session","pageMetadata":{"title":"Create an authentication session","description":"Start a new 3DS authentication session to authenticate a payer. The session\nis accepted for asynchronous processing; poll the session resource for the\nauthentication outcome.\n","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /threeds/authenticate","href":"/api-reference/3ds-authentication/create-an-authentication-session","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Start a new 3DS authentication session to authenticate a payer. The session\\nis accepted for asynchronous processing; poll the session resource for the\\nauthentication outcome.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an authentication session","description":"Start a new 3DS authentication session to authenticate a payer. The session\nis accepted for asynchronous processing; poll the session resource for the\nauthentication outcome.\n","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /threeds/authenticate","href":"/api-reference/3ds-authentication/create-an-authentication-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"lite.3ds.createAuthentication","summary":"Create an authentication session","description":"Start a new 3DS authentication session to authenticate a payer. The session\nis accepted for asynchronous processing; poll the session resource for the\nauthentication outcome.\n","tags":["3DS Authentication"],"parameters":["301ecc52-ced5-4ad0-824d-53bd0ff357c3","265f4f9b-2975-41a9-be50-f16f20f6d19a"],"requestBody":"ce7639c8-33c3-45f0-a74e-23623b723f50","responses":{"202":"094092ba-344a-4b75-bf42-667fa4ed4e59","400":"fbe3bfba-8e7e-4227-bedf-0a80e816bb8a","401":"6c38adc3-c7d8-4274-8425-44c26cd040cb","500":"6bd02875-b393-45cc-bcf5-7cb0e8ce5d3b"},"method":"post","type":"path","servers":["58372e5d-e9ba-456c-b011-0b2ba37c00ab"],"security":["855f167a-230a-48f4-a5d4-c5db35bd37fd"],"path":"/threeds/authenticate","baseUrlOptions":["https://api.lite.sa"],"title":"Create an authentication session","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","typescript","go","php"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.instrument_id":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","body.customer.id":"cust_a1b2c3d4e5f6","body.customer.email":"john.doe@email.com","body.customer.first_name":"John","body.customer.last_name":"Doe","body.customer.phone_country_code":"+966","body.customer.phone_number":"555123456","body.order.reference":"ORD-123456","body.order.\\items.products.items.0.id":"prod_123","body.order.\\items.products.items.0.price":5000,"body.order.\\items.products.items.0.quantity":2,"body.order.\\items.products.items.0.name":"T-Shirt","body.order.\\items.products.items.0.metadata":{"color":"Blue","size":"L"},"body.order.\\items.vat.amount":750,"body.order.\\items.shipping.amount":1000,"body.order.shipping_address.name":"John Doe","body.order.shipping_address.email":"john@example.com","body.order.shipping_address.street":"123 Main St","body.order.shipping_address.city":"Riyadh","body.order.shipping_address.state":"Riyadh Region","body.order.shipping_address.zip":"12213","body.order.shipping_address.country":"SA","body.order.billing_address.name":"John Doe","body.order.billing_address.email":"john@example.com","body.order.billing_address.street":"123 Main St","body.order.billing_address.city":"Riyadh","body.order.billing_address.state":"Riyadh Region","body.order.billing_address.zip":"12213","body.order.billing_address.country":"SA","body.order.amount":10000,"body.order.currency":"SAR","body.order.description":"Order description","body.return_url":"https://example.com/threeds/callback","body.provider":"mpgs-threeds"}],"urlDisplay":"full"},"dependencies":{"parameters":{"301ecc52-ced5-4ad0-824d-53bd0ff357c3":{"name":"x-correlation-id","in":"header","required":false,"description":"Unique identifier for request tracing. Generated by the client or server if not provided.","schema":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000","isRequired":false,"description":"Unique identifier for request tracing. Generated by the client or server if not provided.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"265f4f9b-2975-41a9-be50-f16f20f6d19a":{"name":"x-idempotency-key","in":"header","required":false,"description":"Unique key for idempotent request processing. Duplicate requests with the same key are safely ignored.","schema":{"type":"string","format":"uuid","example":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","isRequired":false,"description":"Unique key for idempotent request processing. Duplicate requests with the same key are safely ignored.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"description":"Create a new 3DS authentication session","content":{"application/json":{"schema":{"type":"object","required":["instrument_id","customer","order","return_url"],"properties":{"instrument_id":{"type":"string","format":"uuid","description":"Instrument ID","example":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","isRequired":true,"uniqueKey":"instrument_id","typeLabel":"string\u003cuuid>"},"customer":{"type":"object","description":"Customer details","properties":{"id":{"type":"string","description":"Customer ID","example":"cust_a1b2c3d4e5f6","uniqueKey":"customer.id","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Customer email","example":"john.doe@email.com","uniqueKey":"customer.email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","description":"Customer first name","example":"John","uniqueKey":"customer.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"Customer last name","example":"Doe","uniqueKey":"customer.last_name","typeLabel":"string"},"phone_country_code":{"type":"string","description":"Phone country code","example":"+966","uniqueKey":"customer.phone_country_code","typeLabel":"string"},"phone_number":{"type":"string","description":"Phone number","example":"555123456","uniqueKey":"customer.phone_number","typeLabel":"string"}},"isRequired":true,"uniqueKey":"customer","typeLabel":"object"},"order":{"type":"object","description":"Order details","required":["reference"],"properties":{"reference":{"type":"string","description":"Order reference","example":"ORD-123456","isRequired":true,"uniqueKey":"order.reference","typeLabel":"string"},"items":{"type":"object","description":"Order line items","properties":{"products":{"type":"array","description":"Product line items","items":{"type":"object","required":["id","price","quantity"],"properties":{"id":{"type":"string","description":"Item ID","example":"prod_123","isRequired":true,"uniqueKey":"order.\\items.products.items.[INDEX].id","typeLabel":"string"},"price":{"type":"integer","minimum":0,"description":"Item price in minor units","example":5000,"isRequired":true,"uniqueKey":"order.\\items.products.items.[INDEX].price","typeLabel":"integer"},"quantity":{"type":"integer","minimum":1,"description":"Quantity","example":2,"isRequired":true,"uniqueKey":"order.\\items.products.items.[INDEX].quantity","typeLabel":"integer"},"name":{"type":"string","description":"Item name","example":"T-Shirt","uniqueKey":"order.\\items.products.items.[INDEX].name","typeLabel":"string"},"metadata":{"type":"object","description":"Item metadata","example":{"color":"Blue","size":"L"},"uniqueKey":"order.\\items.products.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"order.\\items.products.items.[INDEX]","typeLabel":"object"},"uniqueKey":"order.\\items.products","typeLabel":"object[]"},"vat":{"type":"object","description":"VAT details","properties":{"amount":{"type":"integer","description":"VAT amount in minor units","minimum":0,"example":750,"uniqueKey":"order.\\items.vat.amount","typeLabel":"integer"}},"uniqueKey":"order.\\items.vat","typeLabel":"object"},"shipping":{"type":"object","description":"Shipping details","properties":{"amount":{"type":"integer","description":"Shipping amount in minor units","minimum":0,"example":1000,"uniqueKey":"order.\\items.shipping.amount","typeLabel":"integer"}},"uniqueKey":"order.\\items.shipping","typeLabel":"object"}},"uniqueKey":"order.\\items","typeLabel":"object"},"shipping_address":{"type":"object","description":"Address information","properties":{"name":{"type":"string","description":"Contact name","example":"John Doe","uniqueKey":"order.shipping_address.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email","example":"john@example.com","uniqueKey":"order.shipping_address.email","typeLabel":"string\u003cemail>"},"street":{"type":"string","description":"Street address","example":"123 Main St","uniqueKey":"order.shipping_address.street","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Riyadh","uniqueKey":"order.shipping_address.city","typeLabel":"string"},"state":{"type":"string","description":"State/region","example":"Riyadh Region","uniqueKey":"order.shipping_address.state","typeLabel":"string"},"zip":{"type":"string","description":"Zip/postal code","example":"12213","uniqueKey":"order.shipping_address.zip","typeLabel":"string"},"country":{"type":"string","description":"Country code (ISO 3166 alpha-2)","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$","example":"SA","uniqueKey":"order.shipping_address.country","typeLabel":"string"}},"uniqueKey":"order.shipping_address","typeLabel":"object"},"billing_address":{"type":"object","description":"Address information","properties":{"name":{"type":"string","description":"Contact name","example":"John Doe","uniqueKey":"order.billing_address.name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email","example":"john@example.com","uniqueKey":"order.billing_address.email","typeLabel":"string\u003cemail>"},"street":{"type":"string","description":"Street address","example":"123 Main St","uniqueKey":"order.billing_address.street","typeLabel":"string"},"city":{"type":"string","description":"City","example":"Riyadh","uniqueKey":"order.billing_address.city","typeLabel":"string"},"state":{"type":"string","description":"State/region","example":"Riyadh Region","uniqueKey":"order.billing_address.state","typeLabel":"string"},"zip":{"type":"string","description":"Zip/postal code","example":"12213","uniqueKey":"order.billing_address.zip","typeLabel":"string"},"country":{"type":"string","description":"Country code (ISO 3166 alpha-2)","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$","example":"SA","uniqueKey":"order.billing_address.country","typeLabel":"string"}},"uniqueKey":"order.billing_address","typeLabel":"object"},"amount":{"type":"integer","description":"Order amount in minor units","minimum":100,"example":10000,"uniqueKey":"order.amount","typeLabel":"integer"},"currency":{"type":"string","description":"Currency code (ISO 4217)","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$","example":"SAR","uniqueKey":"order.currency","typeLabel":"string"},"description":{"type":"string","description":"Order description","example":"Order description","uniqueKey":"order.description","typeLabel":"string"}},"isRequired":true,"uniqueKey":"order","typeLabel":"object"},"return_url":{"type":"string","format":"uri","description":"Return URL for 3DS challenge completion","example":"https://example.com/threeds/callback","isRequired":true,"uniqueKey":"return_url","typeLabel":"string\u003curi>"},"device":{"type":"object","description":"Device information (required for 3DS and risk assessment)","required":["user_agent","accept_header","language","screen_height","screen_width","color_depth","timezone","java_enabled","java_script_enabled"],"properties":{"user_agent":{"type":"string","description":"User agent string","example":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36","isRequired":true,"uniqueKey":"device.user_agent","typeLabel":"string"},"accept_header":{"type":"string","description":"Accept header from HTTP request","example":"text/html,application/xhtml+xml,application/xml;q=0.9","isRequired":true,"uniqueKey":"device.accept_header","typeLabel":"string"},"language":{"type":"string","description":"Browser language setting","example":"en-US","isRequired":true,"uniqueKey":"device.language","typeLabel":"string"},"screen_height":{"type":"integer","description":"Screen height in pixels","example":1080,"isRequired":true,"uniqueKey":"device.screen_height","typeLabel":"integer"},"screen_width":{"type":"integer","description":"Screen width in pixels","example":1920,"isRequired":true,"uniqueKey":"device.screen_width","typeLabel":"integer"},"color_depth":{"type":"integer","description":"Color depth in bits","example":24,"isRequired":true,"uniqueKey":"device.color_depth","typeLabel":"integer"},"timezone":{"type":"integer","description":"Timezone offset in minutes","example":-180,"isRequired":true,"uniqueKey":"device.timezone","typeLabel":"integer"},"java_enabled":{"type":"boolean","description":"Whether Java is enabled in the browser","example":false,"isRequired":true,"uniqueKey":"device.java_enabled","typeLabel":"boolean"},"java_script_enabled":{"type":"boolean","description":"Whether JavaScript is enabled in the browser","example":true,"isRequired":true,"uniqueKey":"device.java_script_enabled","typeLabel":"boolean"},"ip":{"type":"string","description":"Device IP address. When omitted on a payment, the address the request was sent from is used when available","example":"192.168.1.100","uniqueKey":"device.ip","typeLabel":"string"},"device_data":{"type":"object","description":"Opaque device metadata payload","uniqueKey":"device.device_data","typeLabel":"object"},"device_fingerprint":{"type":"string","description":"Device fingerprint identifier","example":"fp_123","uniqueKey":"device.device_fingerprint","typeLabel":"string"},"ip_country":{"type":"string","description":"IP country code","example":"SA","uniqueKey":"device.ip_country","typeLabel":"string"},"ip_city":{"type":"string","description":"IP city","example":"Riyadh","uniqueKey":"device.ip_city","typeLabel":"string"},"ip_region":{"type":"string","description":"IP region","example":"Riyadh Region","uniqueKey":"device.ip_region","typeLabel":"string"},"ip_postal_code":{"type":"string","description":"IP postal code","example":"12213","uniqueKey":"device.ip_postal_code","typeLabel":"string"},"ip_latitude":{"type":"number","description":"IP latitude","example":24.7136,"uniqueKey":"device.ip_latitude","typeLabel":"number"},"ip_longitude":{"type":"number","description":"IP longitude","example":46.6753,"uniqueKey":"device.ip_longitude","typeLabel":"number"},"terminal_id":{"type":"string","description":"POS terminal ID (TID) for in-person payments. Not the online terminal sent as the top-level `terminal_id`.","example":"1234567890123456","uniqueKey":"device.terminal_id","typeLabel":"string"}},"uniqueKey":"device","typeLabel":"object"},"provider":{"type":"string","description":"3DS provider. If not provided, the default provider is used.","enum":["mpgs-threeds"],"example":"mpgs-threeds","uniqueKey":"provider","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"instrument_id":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","customer":{"id":"cust_a1b2c3d4e5f6","email":"john.doe@email.com","first_name":"John","last_name":"Doe","phone_country_code":"+966","phone_number":"555123456"},"order":{"reference":"ORD-123456","items":{"products":[{"id":"prod_123","price":5000,"quantity":2,"name":"T-Shirt","metadata":{"color":"Blue","size":"L"}}],"vat":{"amount":750},"shipping":{"amount":1000}},"shipping_address":{"name":"John Doe","email":"john@example.com","street":"123 Main St","city":"Riyadh","state":"Riyadh Region","zip":"12213","country":"SA"},"billing_address":{"name":"John Doe","email":"john@example.com","street":"123 Main St","city":"Riyadh","state":"Riyadh Region","zip":"12213","country":"SA"},"amount":10000,"currency":"SAR","description":"Order description"},"return_url":"https://example.com/threeds/callback","provider":"mpgs-threeds"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"094092ba-344a-4b75-bf42-667fa4ed4e59":{"description":"Authentication session accepted for processing.","content":{"application/json":{"schema":{"type":"object","required":["threeds"],"properties":{"threeds":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string","format":"uuid","description":"Unique 3DS authentication ID","example":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","isRequired":true,"uniqueKey":"threeds.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"3DS authentication status","enum":["PENDING","CHALLENGE_REQUIRED","AUTHENTICATED","EXPIRED","FAILED"],"example":"PENDING","isRequired":true,"uniqueKey":"threeds.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"threeds","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"threeds":{"id":"baf6a8e2-0c89-46ef-9ca5-faa65b99bcd5","status":"PENDING"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fbe3bfba-8e7e-4227-bedf-0a80e816bb8a":{"description":"The request was invalid or malformed.\n\nReturned when:\n- Request validation fails (missing required fields, invalid field formats)\n- Payment details do not match the session (amount, currency, order reference mismatch)\n- The operation is not allowed given the current resource state\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","timestamp"],"properties":{"code":{"type":"string","description":"Error code identifying the type of error","example":"PAYMENT_DETAILS_MISMATCH","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description","example":"The request was invalid or malformed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when the error occurred","example":"2024-12-16T10:30:00.000Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","description":"Additional error details","uniqueKey":"error.details","typeLabel":"object"},"correlation_id":{"type":"string","format":"uuid","description":"Correlation ID for tracking the request","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.correlation_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PAYMENT_DETAILS_MISMATCH","message":"The request was invalid or malformed","timestamp":"2024-12-16T10:30:00.000Z","details":{},"correlation_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6c38adc3-c7d8-4274-8425-44c26cd040cb":{"description":"Authentication failed — missing or invalid token.\n\nReturned when:\n- The JWT bearer token is missing, expired, or has an invalid signature\n- The API key is missing or invalid\n- The authenticated session token is invalid\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","timestamp"],"properties":{"code":{"type":"string","description":"Error code identifying the type of error","example":"PAYMENT_DETAILS_MISMATCH","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description","example":"The request was invalid or malformed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when the error occurred","example":"2024-12-16T10:30:00.000Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","description":"Additional error details","uniqueKey":"error.details","typeLabel":"object"},"correlation_id":{"type":"string","format":"uuid","description":"Correlation ID for tracking the request","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.correlation_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PAYMENT_DETAILS_MISMATCH","message":"The request was invalid or malformed","timestamp":"2024-12-16T10:30:00.000Z","details":{},"correlation_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"},"6bd02875-b393-45cc-bcf5-7cb0e8ce5d3b":{"description":"An unexpected error occurred on the server.\n\nReturned when an unhandled exception or infrastructure failure prevents the request from being processed. Retry the request with exponential backoff.\n","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","timestamp"],"properties":{"code":{"type":"string","description":"Error code identifying the type of error","example":"PAYMENT_DETAILS_MISMATCH","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description","example":"The request was invalid or malformed","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"Timestamp when the error occurred","example":"2024-12-16T10:30:00.000Z","isRequired":true,"uniqueKey":"error.timestamp","typeLabel":"string\u003cdate-time>"},"details":{"type":"object","description":"Additional error details","uniqueKey":"error.details","typeLabel":"object"},"correlation_id":{"type":"string","format":"uuid","description":"Correlation ID for tracking the request","example":"550e8400-e29b-41d4-a716-446655440000","uniqueKey":"error.correlation_id","typeLabel":"string\u003cuuid>"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"PAYMENT_DETAILS_MISMATCH","message":"The request was invalid or malformed","timestamp":"2024-12-16T10:30:00.000Z","details":{},"correlation_id":"550e8400-e29b-41d4-a716-446655440000"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"855f167a-230a-48f4-a5d4-c5db35bd37fd":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for service-to-service or merchant authentication.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"58372e5d-e9ba-456c-b011-0b2ba37c00ab":{"url":"https://api.lite.sa","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for service-to-service or merchant authentication.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key for service-to-service or merchant authentication.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi/payment-acceptance.json"},"subdomain":"lite-92e7ad3a","siteName":"lite Payments API Reference","title":"Create an authentication session - lite Payments API Reference","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T09:33:57.598Z","originalFileLocation":"api-reference/3ds-authentication/create-an-authentication-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=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Start a new 3DS authentication session to authenticate a payer. The session is accepted for asynchronous processing; poll the session resource for the authentication outcome.\">\u003cmeta data-mint-head name=\"application-name\" content=\"lite Payments API Reference\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an authentication session - lite Payments API Reference\">\u003cmeta data-mint-head property=\"og:description\" content=\"Start a new 3DS authentication session to authenticate a payer. The session is accepted for asynchronous processing; poll the session resource for the authentication outcome.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"lite Payments API Reference\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lite-92e7ad3a.mintlify.app/_mintlify/api/og/v2?division=3DS+Authentication\u0026amp;title=Create+an+authentication+session\u0026amp;description=Start+a+new+3DS+authentication+session+to+authenticate+a+payer.+The+session%0Ais+accepted+for+asynchronous+processing%3B+poll+the+session+resource+for+the%0Aauthentic\u0026amp;theme=7b869e5752aa04978885b3e8\u0026amp;signature=fb27627dc9b26fc8351eeb823c34f4a4f491f6b94cf55e16407bb26a85e24dd4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an authentication session - lite Payments API Reference\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Start a new 3DS authentication session to authenticate a payer. The session is accepted for asynchronous processing; poll the session resource for the authentication outcome.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lite-92e7ad3a.mintlify.app/_mintlify/api/og/v2?division=3DS+Authentication\u0026amp;title=Create+an+authentication+session\u0026amp;description=Start+a+new+3DS+authentication+session+to+authenticate+a+payer.+The+session%0Ais+accepted+for+asynchronous+processing%3B+poll+the+session+resource+for+the%0Aauthentic\u0026amp;theme=7b869e5752aa04978885b3e8\u0026amp;signature=fb27627dc9b26fc8351eeb823c34f4a4f491f6b94cf55e16407bb26a85e24dd4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lite-92e7ad3a/0vj2oEL4xflrXeuz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"lite Payments API Reference\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B4EFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/3ds-authentication/create-an-authentication-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lite.sa/#organization\",\"name\":\"lite Payments API Reference\",\"url\":\"https://docs.lite.sa\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lite-92e7ad3a/uYpyqnuSvOdBocms/logo/lite-light.svg?fit=max\u0026auto=format\u0026n=uYpyqnuSvOdBocms\u0026q=85\u0026s=7d85c532514181dd38e2af8db58c4f3f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lite.sa#website\",\"name\":\"lite Payments API Reference\",\"url\":\"https://docs.lite.sa\",\"publisher\":{\"@id\":\"https://docs.lite.sa/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session#webpage\",\"url\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session\",\"name\":\"Create an authentication session\",\"description\":\"Start a new 3DS authentication session to authenticate a payer. The session is accepted for asynchronous processing; poll the session resource for the authentication outcome.\",\"dateModified\":\"2026-10-22T09:33:57.598Z\",\"isPartOf\":{\"@id\":\"https://docs.lite.sa#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"lite Payments API Reference\",\"item\":\"https://docs.lite.sa\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an authentication session\",\"item\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session#apireference\",\"headline\":\"Create an authentication session\",\"name\":\"Create an authentication session\",\"description\":\"Start a new 3DS authentication session to authenticate a payer. The session is accepted for asynchronous processing; poll the session resource for the authentication outcome.\",\"url\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lite.sa/api-reference/3ds-authentication/create-an-authentication-session#webpage\"},\"dateModified\":\"2026-10-22T09:33:57.598Z\",\"publisher\":{\"@id\":\"https://docs.lite.sa/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lite.sa#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"lite Payments API Reference\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"lite Payments API Reference","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/guides/get-started"}]},{"tab":"API Reference","icon":"scroll","groups":[{"group":"Payment Acceptance","pages":[{"group":"3DS Authentication","pages":[{"title":"Create an authentication session","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /threeds/authenticate","href":"/api-reference/3ds-authentication/create-an-authentication-session"},{"title":"Get an authentication session","description":"Retrieves a 3DS authentication session using the provided authentication id\n","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /threeds/{authentication_id}","href":"/api-reference/3ds-authentication/get-an-authentication-session"},{"title":"Confirm challenge completion","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /threeds/{authentication_id}/confirm","href":"/api-reference/3ds-authentication/confirm-challenge-completion"}]},{"group":"Hosted Checkout","pages":[{"title":"Create a checkout session","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /checkout-sessions","href":"/api-reference/hosted-checkout/create-a-checkout-session"},{"title":"Get a checkout session","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /checkout-sessions/{session_id}","href":"/api-reference/hosted-checkout/get-a-checkout-session"},{"title":"Update a checkout session","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json patch /checkout-sessions/{session_id}","href":"/api-reference/hosted-checkout/update-a-checkout-session"},{"title":"Check session validity","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /checkout-sessions/{session_id}/validity","href":"/api-reference/hosted-checkout/check-session-validity"}]},{"group":"Payment Links","pages":[{"title":"List payment links","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payment-links","href":"/api-reference/payment-links/list-payment-links"},{"title":"Create a payment link","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payment-links","href":"/api-reference/payment-links/create-a-payment-link"},{"title":"Get a payment link","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payment-links/{link_id}","href":"/api-reference/payment-links/get-a-payment-link"},{"title":"Update a payment link","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json patch /payment-links/{link_id}","href":"/api-reference/payment-links/update-a-payment-link"},{"title":"List consumption attempts for a payment link","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payment-links/{link_id}/consumptions","href":"/api-reference/payment-links/list-consumption-attempts-for-a-payment-link"}]},{"group":"Server-to-Server Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments","href":"/api-reference/server-to-server-payments/list-payments"},{"title":"Create a new payment","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payments","href":"/api-reference/server-to-server-payments/create-a-new-payment"},{"title":"Get payment by ID","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments/{payment_id}","href":"/api-reference/server-to-server-payments/get-payment-by-id"},{"title":"Get payment by order ID","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments/orders/{order_id}","href":"/api-reference/server-to-server-payments/get-payment-by-order-id"},{"title":"Capture an authorized payment","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payments/{payment_id}/capture","href":"/api-reference/server-to-server-payments/capture-an-authorized-payment"},{"title":"Void an authorized payment","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payments/{payment_id}/void","href":"/api-reference/server-to-server-payments/void-an-authorized-payment"},{"title":"Refund a captured payment","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payments/{payment_id}/refund","href":"/api-reference/server-to-server-payments/refund-a-captured-payment"},{"title":"List payment reports","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments/reports","href":"/api-reference/server-to-server-payments/list-payment-reports"},{"title":"Request a payment report","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json post /payments/reports","href":"/api-reference/server-to-server-payments/request-a-payment-report"},{"title":"Get a single payment report","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments/reports/{report_id}","href":"/api-reference/server-to-server-payments/get-a-single-payment-report"},{"title":"Mint a download URL for a completed report","deprecated":null,"version":null,"openapi":"/openapi/payment-acceptance.json get /payments/reports/{report_id}/download","href":"/api-reference/server-to-server-payments/mint-a-download-url-for-a-completed-report"}]}]},{"group":"Tokenization","pages":[{"group":"Payment Instruments","pages":[{"title":"Lookup instruments","deprecated":null,"version":null,"openapi":"/openapi/payment-instruments.json get /instruments","href":"/api-reference/payment-instruments/lookup-instruments"},{"title":"Create a payment instrument","deprecated":null,"version":null,"openapi":"/openapi/payment-instruments.json post /instruments","href":"/api-reference/payment-instruments/create-a-payment-instrument"},{"title":"Get an instrument by ID","deprecated":null,"version":null,"openapi":"/openapi/payment-instruments.json get /instruments/{instrument_id}","href":"/api-reference/payment-instruments/get-an-instrument-by-id"}]}]},{"group":"Account Settlement","pages":[{"group":"Settlement Windows","pages":[{"title":"List settlement windows","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlement/settlement-windows","href":"/api-reference/settlement-windows/list-settlement-windows"},{"title":"Get settlement window by ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlement/settlement-windows/{id}","href":"/api-reference/settlement-windows/get-settlement-window-by-id"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Get transaction by ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/transactions/{id}","href":"/api-reference/transactions/get-transaction-by-id"},{"title":"Get transaction by external reference ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlement/transactions/external-reference/{external_reference_id}","href":"/api-reference/transactions/get-transaction-by-external-reference-id"}]},{"group":"Settlement","pages":[{"title":"List acceptance accounts","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /accounts/acceptance-accounts","href":"/api-reference/settlement/list-acceptance-accounts"},{"title":"Get acceptance account by ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /accounts/acceptance-accounts/{id}","href":"/api-reference/settlement/get-acceptance-account-by-id"},{"title":"List settlement accounts","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/settlement-accounts","href":"/api-reference/settlement/list-settlement-accounts"},{"title":"Register a settlement account","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json post /settlements/settlement-accounts","href":"/api-reference/settlement/register-a-settlement-account"},{"title":"Get settlement account by ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/settlement-accounts/{id}","href":"/api-reference/settlement/get-settlement-account-by-id"},{"title":"Delete a settlement account","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json delete /settlements/settlement-accounts/{id}","href":"/api-reference/settlement/delete-a-settlement-account"},{"title":"List payouts","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/payouts","href":"/api-reference/settlement/list-payouts"},{"title":"Create a payout","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json post /settlements/payouts","href":"/api-reference/settlement/create-a-payout"},{"title":"Get payout by ID","deprecated":null,"version":null,"openapi":"/openapi/account-settlement.json get /settlements/payouts/{id}","href":"/api-reference/settlement/get-payout-by-id"},{"title":"Payout succeeded","version":null,"deprecated":null,"openapi":"/openapi/account-settlement.json webhook payout.succeeded","href":"/api-reference/settlement/payout-succeeded"},{"title":"Payout failed","version":null,"deprecated":null,"openapi":"/openapi/account-settlement.json webhook payout.failed","href":"/api-reference/settlement/payout-failed"},{"title":"Payout reversed","version":null,"deprecated":null,"openapi":"/openapi/account-settlement.json webhook payout.reversed","href":"/api-reference/settlement/payout-reversed"}]}]}]},{"tab":"Data Models","icon":"scroll","pages":[{"title":"Data Models","href":"/schemas/account-settlement/FeeSummary"}]}]},"title":"Create an authentication session - lite Payments API Reference","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DKJwRUt2.js","utils-CWD_VS3u.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-oFjciODD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C76WsxC3.js","snippetPresets-DvPMxpX_.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-7TwLLapg.js","ApiExamples-CuNQfndH.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BVFpVUoF.js","shallow-t59Jg5Kr.js","getApiPlaygroundDisplay-C_JZ4amX.js","CodeSnippet-CLRDnx_h.js","CodeSnippets-C2myU4kc.js","getPastedJson-B-JaVXw7.js","icon-BA-iDhH3.js","MethodPill-D4qZABFp.js","DuplicateIcon-THIDKO1O.js","createIcon-CYYJwgFd.js","DynamicMarkdown-UGQuxDKp.js","SectionHeading-jYELb23h.js","axios-vUo_bRtp.js","Markdown-DKsLa3wy.js","clsx-CefdjKz2.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BaREnp3o.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sgx_0XzF.js"]}