Secret associated with your API Key. Used for authenticating requests. Keep this secure.
Body
application/json
Token generation request for Inline Checkout (developer initiator).
Notes
The developer passes the payer's email OR phone+phone_country_code.
The backend resolves or creates the payer user (platform_id=1) and issues the token.
The Unix timestamp (in seconds) indicating when the response was generated.
Example:
1718006400
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Paywint Developer API Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/paywintdocs/5x9G2wP0APpngbqk/logo/app-logo-dark.png?fit=max\u0026auto=format\u0026n=5x9G2wP0APpngbqk\u0026q=85\u0026s=666c257b68c95612680cebbe7640e5ec","dark":"https://mintcdn.com/paywintdocs/5x9G2wP0APpngbqk/logo/app-logo-dark.png?fit=max\u0026auto=format\u0026n=5x9G2wP0APpngbqk\u0026q=85\u0026s=666c257b68c95612680cebbe7640e5ec"},"favicon":"https://mintcdn.com/paywintdocs/5x9G2wP0APpngbqk/favicon.ico?fit=max\u0026auto=format\u0026n=5x9G2wP0APpngbqk\u0026q=85\u0026s=4d441746addcaeabed41519a74501990","api":{"openapi":{"source":"https://api.sandbox.paywint.com/openapi.json","directory":"api-reference"}},"navbar":{"links":[{"href":"https://app.paywint.com","label":"Dashboard"},{"href":"mailto:support@paywint.com","label":"Support"}],"primary":{"type":"button","label":"Platform Docs","href":"https://developer.paywint.com"}},"footer":{"socials":{"youtube":"https://www.youtube.com/@paywint","facebook":"https://www.facebook.com/paywintonline","instagram":"https://www.instagram.com/paywint","x":"https://x.com/paywint","linkedin":"https://www.linkedin.com/company/paywint","threads":"https://www.threads.net/@paywint"}},"seo":{"indexing":"all"},"styling":{"eyebrows":"breadcrumbs","latex":false},"interaction":{"drilldown":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"paywintdocs","hasAudioNarration":false,"actualSubdomain":"paywintdocs","customDomains":["docs.paywint.com"],"gitSource":{"type":"github","owner":"paywint-developer","repo":"user-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae929e8fe890ded1f8db138:success","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":27},{"language":"default","tag":"Payee Addresses","count":7},{"language":"default","tag":"Payee Management","count":6},{"language":"default","tag":"Paywint Cards","count":5},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Payment","count":4},{"language":"default","tag":"Accept Payment","count":3},{"language":"default","tag":"Wallet","count":2}]},"assistantConfig":{},"basePath":"","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":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/payment/checkout/create-checkout-token","slug":"/api-reference/payment/checkout/create-checkout-token","pageMetadata":{"title":"Create Checkout SDK Token","openapi":"POST /api/checkout/token/developer","description":"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout.\n\nThis endpoint performs the following actions:\n- Authenticates the developer using `X-Api-Key` and `X-Api-Secret`\n- Resolves or creates a per-initiator signing secret\n- Issues a signed checkout token embedding initiator and payer context\n- Returns the token and its expiry for use by the frontend SDK\n\nThe returned token must be supplied on all SDK-facing calls as:","href":"/api-reference/payment/checkout/create-checkout-token"},"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 code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"This endpoint performs the following actions:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Authenticates the developer using \", _jsx(_components.code, {\n children: \"X-Api-Key\"\n }), \" and \", _jsx(_components.code, {\n children: \"X-Api-Secret\"\n })]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Resolves or creates a per-initiator signing secret\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Issues a signed checkout token embedding initiator and payer context\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Returns the token and its expiry for use by the frontend SDK\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The returned token must be supplied on all SDK-facing calls as:\"\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":{"config":{},"pageMetadata":{"title":"Create Checkout SDK Token","openapi":"POST /api/checkout/token/developer","description":"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout.\n\nThis endpoint performs the following actions:\n- Authenticates the developer using `X-Api-Key` and `X-Api-Secret`\n- Resolves or creates a per-initiator signing secret\n- Issues a signed checkout token embedding initiator and payer context\n- Returns the token and its expiry for use by the frontend SDK\n\nThe returned token must be supplied on all SDK-facing calls as:","href":"/api-reference/payment/checkout/create-checkout-token"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Inline Checkout"],"summary":"Generate Checkout Token (Developer)","description":"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout.\n\nThis endpoint performs the following actions:\n- Authenticates the developer using `X-Api-Key` and `X-Api-Secret`\n- Resolves or creates a per-initiator signing secret\n- Issues a signed checkout token embedding initiator and payer context\n- Returns the token and its expiry for use by the frontend SDK\n\nThe returned token must be supplied on all SDK-facing calls as:","operationId":"create_developer_checkout_token_api_checkout_token_developer_post","parameters":["f66bf031-3671-48d9-bd8a-d3ccb6d1cdb7","fd798dc6-fa80-45da-9f95-841cbf8940f0"],"requestBody":"a51fbbe4-8b72-4805-8b44-c66a1bcac32c","responses":{"200":"07f15f67-8bdc-4a82-ad31-72ecea7099ea","422":"d537c634-f521-47e3-a787-328c1e0e8b52"},"method":"post","type":"path","servers":["57f5373c-bc80-4836-bded-f5099fea66ce","522ae6e8-3bd2-4954-aa2d-8cb8880657c1"],"security":[],"path":"/api/checkout/token/developer","baseUrlOptions":["https://api.sandbox.paywint.com","https://api.paywint.com"],"title":"Generate Checkout Token (Developer)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f66bf031-3671-48d9-bd8a-d3ccb6d1cdb7":{"name":"X-Api-Key","in":"header","required":true,"schema":{"type":"string","description":"Your API Key (UUID format). Required to identify and authorize each request","title":"X-Api-Key","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"Your API Key (UUID format). Required to identify and authorize each request"},"fd798dc6-fa80-45da-9f95-841cbf8940f0":{"name":"X-Api-Secret","in":"header","required":true,"schema":{"type":"string","description":"Secret associated with your API Key. Used for authenticating requests. Keep this secure.","title":"X-Api-Secret","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"Secret associated with your API Key. Used for authenticating requests. Keep this secure."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"amount":{"type":"number","maximum":100000,"exclusiveMinimum":0,"title":"Amount","description":"Payment amount (canonical).","isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"email":{"oneOf":[{"type":"string","title":"Email","description":"Payer email address. Provide this OR phone+phone_country_code.","format":"email","example":"jane@example.com","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","title":"Email","description":"Payer email address. Provide this OR phone+phone_country_code.","example":"jane@example.com","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"phone":{"oneOf":[{"type":"string","title":"Phone","description":"Payer phone number (digits only, no country code). Required if email is not provided.","maxLength":20,"minLength":5,"example":"5550001234","uniqueKey":"phone.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone","description":"Payer phone number (digits only, no country code). Required if email is not provided.","example":"5550001234","uniqueKey":"phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"phone","typeLabel":"string | null"},"phone_country_code":{"oneOf":[{"type":"string","title":"Phone Country Code","description":"Phone country code (e.g. +1). Required if phone is provided.","maxLength":10,"minLength":1,"example":"+1","uniqueKey":"phone_country_code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Phone Country Code","description":"Phone country code (e.g. +1). Required if phone is provided.","example":"+1","uniqueKey":"phone_country_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"phone_country_code","typeLabel":"string | null"},"currency":{"type":"string","maxLength":10,"minLength":3,"title":"Currency","description":"Payment currency code (canonical).","default":"USD","uniqueKey":"currency","typeLabel":"string"}},"type":"object","required":["amount"],"title":"CheckoutDeveloperTokenCreateRequest","description":"Token generation request for Inline Checkout (developer initiator).\n\nNotes\nThe developer passes the payer's email OR phone+phone_country_code.\nThe backend resolves or creates the payer user (platform_id=1) and issues the token.","uniqueKey":"","typeLabel":"CheckoutDeveloperTokenCreateRequest · object"},"examples":{"Example":{"title":"Example","value":{"amount":123,"email":"jane@example.com","phone":"5550001234","phone_country_code":"+1","currency":"USD"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"07f15f67-8bdc-4a82-ad31-72ecea7099ea":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean","title":"Success","description":"Indicates whether the request was processed successfully.","default":true,"example":true,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","title":"Message","description":"A short, human-readable message describing the result of the request.","default":"Success","example":"Operation completed.","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","title":"CheckoutTokenResponse","description":"The main response payload, if applicable","required":["checkout_token","expires_at"],"properties":{"checkout_token":{"type":"string","title":"Checkout Token","description":"Signed Inline Checkout token.","isRequired":true,"uniqueKey":"data.oneOf.0.checkout_token","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","title":"Expires At","description":"Token expiration timestamp (UTC).","isRequired":true,"uniqueKey":"data.oneOf.0.expires_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.oneOf.0","typeLabel":"CheckoutTokenResponse · object"},{"type":"null","description":"The main response payload, if applicable","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"CheckoutTokenResponse · object | null"},"queryGeneratedTime":{"oneOf":[{"type":"number","title":"Querygeneratedtime","description":"The Unix timestamp (in seconds) indicating when the response was generated.","default":1778161546.973489,"example":1718006400,"uniqueKey":"queryGeneratedTime.oneOf.0","typeLabel":"number"},{"type":"null","title":"Querygeneratedtime","description":"The Unix timestamp (in seconds) indicating when the response was generated.","default":1778161546.973489,"example":1718006400,"uniqueKey":"queryGeneratedTime.oneOf.1","typeLabel":"null"}],"uniqueKey":"queryGeneratedTime","typeLabel":"number | null"}},"type":"object","title":"CommonResponse[CheckoutTokenResponse]","uniqueKey":"","typeLabel":"CommonResponse[CheckoutTokenResponse] · object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"Operation completed.","data":{"checkout_token":"\u003cstring>","expires_at":"2023-11-07T05:31:56Z"},"queryGeneratedTime":1718006400}}},"exampleType":"generated"}},"exampleType":"generated"},"d537c634-f521-47e3-a787-328c1e0e8b52":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"57f5373c-bc80-4836-bded-f5099fea66ce":{"url":"https://api.sandbox.paywint.com"},"522ae6e8-3bd2-4954-aa2d-8cb8880657c1":{"url":"https://api.paywint.com"}}},"originalFileLocation":"https://api.sandbox.paywint.com/openapi.json"},"subdomain":"paywintdocs","siteName":"Paywint Developer API Documentation","title":"Create Checkout SDK Token - Paywint Developer API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-08T05:40:26.210Z","originalFileLocation":"api-reference/payment/checkout/create-checkout-token.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=\"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout. This endpoint performs the following actions: - Authenticates the developer using X-Api-Key and X-Api-Secret - Resolves or creates a per-initiator signing secret - Issues a signed checkout token embedding initiator and payer context - Returns the token and its expiry for use by the frontend SDK The returned token must be supplied on all SDK-facing calls as:\">\u003cmeta data-mint-head name=\"application-name\" content=\"Paywint Developer API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_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/paywintdocs/09x5WyM_xyJmGCQC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Checkout SDK Token - Paywint Developer API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout. This endpoint performs the following actions: - Authenticates the developer using X-Api-Key and X-Api-Secret - Resolves or creates a per-initiator signing secret - Issues a signed checkout token embedding initiator and payer context - Returns the token and its expiry for use by the frontend SDK The returned token must be supplied on all SDK-facing calls as:\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Paywint Developer API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://paywintdocs.mintlify.site/_mintlify/api/og/v2?division=Accept+Payment\u0026amp;title=Create+Checkout+SDK+Token\u0026amp;description=Generates+a+short-lived%2C+tamper-proof+checkout+token+for+initializing+Paywint+Inline+Checkout.%0A%0AThis+endpoint+performs+the+following+actions%3A%0A-+Authenticates+th\u0026amp;theme=8a796d629ace52601b543bf1\u0026amp;signature=2b8ca4c914b94117418900e84e68c5a9bb3366a4f20fd2264b52a7760bbde198\">\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 Checkout SDK Token - Paywint Developer API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout. This endpoint performs the following actions: - Authenticates the developer using X-Api-Key and X-Api-Secret - Resolves or creates a per-initiator signing secret - Issues a signed checkout token embedding initiator and payer context - Returns the token and its expiry for use by the frontend SDK The returned token must be supplied on all SDK-facing calls as:\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://paywintdocs.mintlify.site/_mintlify/api/og/v2?division=Accept+Payment\u0026amp;title=Create+Checkout+SDK+Token\u0026amp;description=Generates+a+short-lived%2C+tamper-proof+checkout+token+for+initializing+Paywint+Inline+Checkout.%0A%0AThis+endpoint+performs+the+following+actions%3A%0A-+Authenticates+th\u0026amp;theme=8a796d629ace52601b543bf1\u0026amp;signature=2b8ca4c914b94117418900e84e68c5a9bb3366a4f20fd2264b52a7760bbde198\">\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/paywintdocs/09x5WyM_xyJmGCQC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Paywint Developer API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/payment/checkout/create-checkout-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.paywint.com/#organization\",\"name\":\"Paywint Developer API Documentation\",\"url\":\"https://docs.paywint.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/paywintdocs/5x9G2wP0APpngbqk/logo/app-logo-dark.png?fit=max\u0026auto=format\u0026n=5x9G2wP0APpngbqk\u0026q=85\u0026s=666c257b68c95612680cebbe7640e5ec\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.paywint.com#website\",\"name\":\"Paywint Developer API Documentation\",\"url\":\"https://docs.paywint.com\",\"publisher\":{\"@id\":\"https://docs.paywint.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token#webpage\",\"url\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token\",\"name\":\"Create Checkout SDK Token\",\"description\":\"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout. This endpoint performs the following actions: - Authenticates the developer using X-Api-Key and X-Api-Secret - Resolves or creates a per-initiator signing secret - Issues a signed checkout token embedding initiator and payer context - Returns the token and its expiry for use by the frontend SDK The returned token must be supplied on all SDK-facing calls as:\",\"dateModified\":\"2026-05-08T05:40:26.210Z\",\"isPartOf\":{\"@id\":\"https://docs.paywint.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accept Payment\",\"item\":\"https://docs.paywint.com/api-reference/payment/checkout/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Checkout SDK Token\",\"item\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token#apireference\",\"headline\":\"Create Checkout SDK Token\",\"name\":\"Create Checkout SDK Token\",\"description\":\"Generates a short-lived, tamper-proof checkout token for initializing Paywint Inline Checkout. This endpoint performs the following actions: - Authenticates the developer using X-Api-Key and X-Api-Secret - Resolves or creates a per-initiator signing secret - Issues a signed checkout token embedding initiator and payer context - Returns the token and its expiry for use by the frontend SDK The returned token must be supplied on all SDK-facing calls as:\",\"url\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token\",\"mainEntityOfPage\":{\"@id\":\"https://docs.paywint.com/api-reference/payment/checkout/create-checkout-token#webpage\"},\"dateModified\":\"2026-05-08T05:40:26.210Z\",\"publisher\":{\"@id\":\"https://docs.paywint.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.paywint.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Paywint Developer API Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Paywint Developer API Documentation","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"Accept Payment","pages":[{"title":"Overview","icon":"book-open","href":"/api-reference/payment/checkout/overview"},{"title":"Create Payment Link","openapi":"POST /api/user-api/payment/create-payment-link","description":"Generates a secure payment link to collect wallet-based payments from customers or external users.\n\nThis endpoint:\n- Creates a new pending payment request for the user\n- Provides a shareable URL that can be sent to others for payment collection\n- Returns the generated payment ID and link","href":"/api-reference/payment/checkout/create-payment-link"},{"title":"Create Checkout SDK Token","openapi":"POST /api/checkout/token/developer","href":"/api-reference/payment/checkout/create-checkout-token"}]},{"group":"Payment","pages":[{"title":"Overview","description":"Create and manage wallet-based payment transactions through the Paywint Developer API.","icon":"book-open","href":"/api-reference/payment/overview"},{"title":"Get Payment","openapi":"GET /api/user-api/payment/get/{payment_id}","href":"/api-reference/payment/get-payment"},{"title":"List Sent Payments","openapi":"POST /api/user-api/payment/list/payment-send","href":"/api-reference/payment/list-sent-payments"},{"title":"List Received Payments","openapi":"POST /api/user-api/payment/list/payment-received","href":"/api-reference/payment/list-received-payments"}]},{"group":"Wallet","pages":[{"title":"Overview","icon":"book-open","href":"/api-reference/wallet/overview"},{"title":"Get Wallet","openapi":"GET /api/user-api/wallet/get","href":"/api-reference/wallet/get-wallet"}]},{"group":"Paywint Cards","expanded":false,"pages":[{"title":"Overview","icon":"book-open","href":"/api-reference/paywint-cards/overview"},{"title":"Issue Paywint Card For Payee","openapi":"POST /api/user-api/card/payee/pw-card/request","href":"/api-reference/paywint-cards/issue-card"},{"title":"Reload Paywint Card","openapi":"POST /api/user-api/card/payee/pw-card/reload","href":"/api-reference/paywint-cards/reload-card"},{"title":"List Paywint Cards","openapi":"GET /api/user-api/card/payee/pw-card/issued","href":"/api-reference/paywint-cards/list-cards"},{"title":"Get Paywint Card","openapi":"GET /api/user-api/card/payee/pw-card/issued/{request_id}","href":"/api-reference/paywint-cards/get-card"}]},{"group":"Payee Management","expanded":false,"pages":[{"title":"Overview","icon":"book-open","href":"/api-reference/payees/overview"},{"title":"Create Payee","openapi":"POST /api/user-api/payee/create","href":"/api-reference/payees/create"},{"title":"List Payees","openapi":"GET /api/user-api/payee/list","href":"/api-reference/payees/list"},{"title":"Get Payee","openapi":"GET /api/user-api/payee/get/{payee_id}","href":"/api-reference/payees/get"},{"title":"Update Payee Name","openapi":"PUT /api/user-api/payee/update","href":"/api-reference/payees/update"},{"title":"Delete Payee","openapi":"DELETE /api/user-api/payee/delete/{payee_id}","href":"/api-reference/payees/delete"}]},{"group":"Payee Addresses","expanded":false,"pages":[{"title":"Overview","icon":"book-open","href":"/api-reference/payees/address/overview"},{"title":"Create Payee Address","openapi":"POST /api/user-api/address/payee/create","href":"/api-reference/payees/address/create-address"},{"title":"List Payee Address","openapi":"GET /api/user-api/address/payee/list/{payee_id}","href":"/api-reference/payees/address/list-address"},{"title":"Get Payee Address","openapi":"POST /api/user-api/address/payee/get","href":"/api-reference/payees/address/get-address"},{"title":"Update Payee Address","openapi":"PATCH /api/user-api/address/payee/update","href":"/api-reference/payees/address/update-address"},{"title":"Set Default Payee Address","openapi":"PUT /api/user-api/address/payee/set-default","href":"/api-reference/payees/address/set-default-address"},{"title":"Delete Payee Address","openapi":"DELETE /api/user-api/address/payee/delete","href":"/api-reference/payees/address/delete-address"}]}]}]},"basePath":"","title":"Create Checkout SDK Token - Paywint Developer API Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}