Versioned HMAC-SHA256 signature authenticating server-to-server SDK requests (your backend calling Stash), as opposed to client-side SDK operations. Recommended over the deprecated X-Stash-Api-Key for the best security. Header format: v1;{appId};{unixMillisTimestamp};{base64Signature} (semicolon-delimited). {base64Signature} is the base64-encoded HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} using your app ingress secret (the ingress secret is shown base64-encoded in Studio; base64-decode it to the raw bytes used as the HMAC key), where {requestBody} is the request body exactly as you send it for POST and PUT requests (the compact canonical request JSON is also accepted) and empty for GET requests. A signature over the exact bytes verifies for bodies of up to 18 KiB (18,432 bytes); a larger body may be refused with 401 even when correctly signed. The timestamp must be within 5 minutes of Stash server time. Your appId is your immutable app identifier, shown in Stash Studio under Project Settings > App details; your ingress secret is under Project Settings > API Secrets.
Body
application/json
item
object
Show child attributes
bonusItems
Bonus items to include with the purchase (free items granted alongside the main item) · object[]
Optional bonus items to include with the purchase. These are free items granted alongside the main item. Works with either item or catalog_items. A bonus whose id matches a bonus set up in Stash for the purchased product replaces that bonus, so only the amount sent here is granted for that id; a bonus with any other id is granted in addition. Each quantity is granted exactly as sent and is not multiplied by the item quantity. Each id may appear only once: a request that repeats an id is rejected, and no checkout link is created.
Show child attributes
user
object
Show child attributes
transactionId
string
Optional transaction ID for tracking
regionCode
string
Region code (2-3 letter country code, defaults to US if not set)
currency
string
ISO-4217 Currency code (currently only USD supported)
catalogItems
object[]
Managed Catalog SKUs (id + quantity) to resolve server-side. Requires the shop to have managed catalog enabled. Mutually exclusive with item; provide exactly one of the two.
Show child attributes
checkoutSessionId
string
Optional checkout-session id (the per-tab analytics session for this checkout, shared with telemetry and the funnel webhooks); persisted on the order. Distinct from the multi-PSP payment session_id used during authorization.
successUrl
string
Optional absolute URL the player is sent to once the payment succeeds, instead of the Stash Pay success screen. Any host is accepted; javascript, data, vbscript, blob and file URLs are rejected. Maximum 2048 characters. When checkout runs in an iframe, the iframe itself navigates here: the page must allow being framed, and browsers can block an app deeplink scheme opened from a cross-origin iframe.
failureUrl
string
Optional absolute URL the player is sent to instead of the Stash Pay payment-failed screen. Same rules as success_url. Checkout keeps the player instead of redirecting when they can retry there (a decline shown inline, or a network error while finishing the payment) and when the payment went through but could not be finished. The iframe and app deeplink limits of success_url apply.
Response
A successful response.
url
string
Generated quick payment URL
id
string
Unique payment link ID
regionCode
string
Region code used for the payment
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stash Documentation","description":"Integrate Stash Pay, Stash Webshop, and Stash Launcher. Guides and partner resources for the Stash direct-to-consumer platform.","colors":{"primary":"#1e1e1e","light":"#f7f9f4","dark":"#1e1e1e"},"logo":{"light":"https://mintcdn.com/stash-gg/I_GbdmJR4L85eJZA/logo/light.svg?fit=max\u0026auto=format\u0026n=I_GbdmJR4L85eJZA\u0026q=85\u0026s=c58d1a385fd52c013aef762b9f06da39","dark":"https://mintcdn.com/stash-gg/I_GbdmJR4L85eJZA/logo/dark.svg?fit=max\u0026auto=format\u0026n=I_GbdmJR4L85eJZA\u0026q=85\u0026s=012af7b9b89de597a472667a86a65eef","href":"/guides"},"favicon":"https://mintcdn.com/stash-gg/I_GbdmJR4L85eJZA/favicon.png?fit=max\u0026auto=format\u0026n=I_GbdmJR4L85eJZA\u0026q=85\u0026s=6f4e9b8b8e5068337b7712264275bd28","api":{"playground":{"display":"interactive"}},"appearance":{"default":"system","strict":false},"background":{"color":{"light":"#f7f9f4","dark":"#1e1e1e"}},"navbar":{"primary":{"type":"button","label":"Studio","href":"https://studio.stash.gg"}},"seo":{"metatags":{"og:image":"https://docs.stash.gg/og-image.png"}},"fonts":{"heading":{"family":"Factor A","weight":500,"source":"https://storage.googleapis.com/stash_assets/fonts/FactorA-Medium.woff2","format":"woff2"},"body":{"family":"Factor A","weight":300,"source":"https://storage.googleapis.com/stash_assets/fonts/FactorA-Regular.woff2","format":"woff2"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stash-gg","hasAudioNarration":false,"actualSubdomain":"stash-gg","customDomains":[],"gitSource":{"type":"github","owner":"stashgg","repo":"stash-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6afccf82d3f0f72f2b169b4c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0e1f15d09a38910d349f35:success","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Integration Guides","count":66},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Changelog","count":38},{"language":"default","tag":"Ingress","count":34},{"language":"default","tag":"Stash Webshop","count":28},{"language":"default","tag":"Features \u0026 Customizations","count":19},{"language":"default","tag":"Stash Pay","count":18},{"language":"default","tag":"Getting Started","count":11},{"language":"default","tag":"Catalog Management","count":11},{"language":"default","tag":"Partner With Us","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--sidebar-width: 286px;--stash-menu-surface: #f4f6f1;--stash-menu-glass: rgba(244, 246, 241, 0.8);--stash-menu-border: rgba(153, 153, 153, 0.2)}html.dark{--stash-menu-surface: #1c1c1c;--stash-menu-glass: rgba(28, 28, 28, 0.8);--stash-menu-border: rgba(153, 153, 153, 0.2)}#navbar>div:not(#navbar-transition),div:has(>[data-layout-item=\"sidebar\"]){max-width:none}#navbar-transition,[data-layout-item=\"sidebar\"]{background-color:var(--stash-menu-glass);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border-color:var(--stash-menu-border)}[data-layout-item=\"sidebar\"]{border-inline-end:1px solid var(--stash-menu-border)}#sidebar-content div:has(>#navigation-items)>div:first-child{background-image:linear-gradient(to bottom, var(--stash-menu-surface), transparent)}#mobile-nav,[data-layout-item=\"mobile-nav\"],.nav-dropdown-content,[data-component-part=\"theme-preference-menu-content\"]{background-color:var(--stash-menu-surface);border-color:var(--stash-menu-border)}@media (min-width: 1024px){div:has(>[data-layout-item=\"sidebar\"]){padding-inline:0}#sidebar-content{padding-inline-start:1rem}}@font-face{font-family:\"Factor A\";src:url(\"https://storage.googleapis.com/stash_assets/fonts/FactorA-Bold.woff2\") format(\"woff2\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Factor A\";src:url(\"https://storage.googleapis.com/stash_assets/fonts/FactorA-Extrabold35.woff2\") format(\"woff2\");font-weight:900;font-style:normal;font-display:swap}:root{--stash-page-background: #f7f9f4;--stash-header-glass: rgba(244, 246, 241, 0.8);--stash-header-border: rgba(128, 128, 128, 0.2);--stash-muted: #737373;--stash-foreground: #1e1e1e;--stash-control: rgba(235, 235, 235, 0.5);--stash-control-active: #e6e6e6;--stash-header-height: 104px}html.dark{--stash-page-background: #1e1e1e;--stash-header-glass: rgba(28, 28, 28, 0.8);--stash-muted: #999;--stash-foreground: #f7f9f4;--stash-control: rgba(33, 33, 33, 0.5);--stash-control-active: #262626}body{font-feature-settings:\"kern\" 1, \"liga\" 1, \"calt\" 1;-webkit-font-smoothing:antialiased}#page-title,#page-header h1{font-size:28px;line-height:42px;font-weight:500!important;letter-spacing:normal}#content h2,#content h3,#content h4,#content h5,#content h6{font-weight:400!important;letter-spacing:normal}#content strong{font-weight:700!important}#navbar-transition{background-color:var(--stash-header-glass);border-color:var(--stash-header-border)}#navbar .nav-logo{width:96px;height:24px}#navbar .nav-tabs-item{font-weight:500!important;text-shadow:none;color:var(--stash-muted)}#navbar .nav-tabs-item[data-active=\"true\"],#navbar .nav-tabs-item:hover{color:var(--stash-foreground)}#topbar-cta-button a{height:36px;padding:6px 12px;border:1px solid var(--stash-header-border);border-radius:9999px;color:var(--stash-muted);font-weight:300!important}#topbar-cta-button a:hover{background:var(--stash-control-active);color:var(--stash-foreground)}#topbar-cta-button a>span{display:none}#topbar-cta-button a>div{gap:6px}#topbar-cta-button a>div>span{color:inherit}#topbar-cta-button a>div>svg{display:none}#topbar-cta-button a>div::before{content:\"\";width:14px;height:14px;background:currentColor;mask:url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20105%20104%22%3E%3Cpath%20d%3D%22M3.53358%20104L3.73942%2075.4788H64.8398C68.2705%2075.4788%2070.6719%2074.8897%2072.1128%2073.7461C73.5537%2072.6025%2074.2742%2070.9044%2074.2742%2068.6864C74.2742%2064.2159%2071.5296%2061.7901%2066.0406%2061.3742L35.5761%2059.5375C11.8701%2058.1859%200%2048.3439%200%2029.9767C0%2020.5851%203.25914%2013.2383%209.81174%207.93602C16.3643%202.63379%2026.3819%200%2039.8988%200H97.8086L98.0145%2028.5212H39.9331C36.571%2028.5212%2034.2039%2029.0756%2032.7973%2030.15C31.3907%2031.2243%2030.6703%2032.8184%2030.6703%2034.9324C30.6703%2039.1256%2033.4148%2041.4822%2038.9039%2042.0366L70.3632%2043.8734C93.4174%2045.017%20104.944%2054.6858%20104.944%2072.8104C104.944%2082.4099%20101.651%2090.034%2095.0984%2095.6135C88.5458%20101.193%2078.5968%20104%2065.2515%20104H3.53358Z%22%2F%3E%3C%2Fsvg%3E\") center / contain no-repeat;-webkit-mask:url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20105%20104%22%3E%3Cpath%20d%3D%22M3.53358%20104L3.73942%2075.4788H64.8398C68.2705%2075.4788%2070.6719%2074.8897%2072.1128%2073.7461C73.5537%2072.6025%2074.2742%2070.9044%2074.2742%2068.6864C74.2742%2064.2159%2071.5296%2061.7901%2066.0406%2061.3742L35.5761%2059.5375C11.8701%2058.1859%200%2048.3439%200%2029.9767C0%2020.5851%203.25914%2013.2383%209.81174%207.93602C16.3643%202.63379%2026.3819%200%2039.8988%200H97.8086L98.0145%2028.5212H39.9331C36.571%2028.5212%2034.2039%2029.0756%2032.7973%2030.15C31.3907%2031.2243%2030.6703%2032.8184%2030.6703%2034.9324C30.6703%2039.1256%2033.4148%2041.4822%2038.9039%2042.0366L70.3632%2043.8734C93.4174%2045.017%20104.944%2054.6858%20104.944%2072.8104C104.944%2082.4099%20101.651%2090.034%2095.0984%2095.6135C88.5458%20101.193%2078.5968%20104%2065.2515%20104H3.53358Z%22%2F%3E%3C%2Fsvg%3E\") center / contain no-repeat}.stash-theme-controls{display:inline-flex;padding:4px;border:1px solid var(--stash-header-border);border-radius:9999px}.stash-theme-controls button{display:grid;place-items:center;width:26px;height:26px;padding:6px;border-radius:9999px;color:var(--stash-muted);cursor:pointer}.stash-theme-controls button[aria-pressed=\"true\"]{background:var(--stash-control-active);color:var(--stash-foreground)}.stash-theme-controls svg{width:14px;height:14px}.stash-sidebar-toggle{display:grid;place-items:center;width:32px;height:32px;margin-inline-end:-6px;padding:6px;border-radius:9999px;border:1px solid var(--stash-header-border);background:var(--stash-control);color:var(--stash-muted);cursor:pointer}.stash-sidebar-toggle svg{width:18px;height:18px}.stash-theme-controls button:hover,.stash-sidebar-toggle:hover{color:var(--stash-foreground)}.stash-theme-controls button:focus-visible,.stash-sidebar-toggle:focus-visible{outline:2px solid var(--stash-foreground);outline-offset:2px}html[data-stash-setting-theme] [data-component-part=\"theme-preference-menu-content\"]{visibility:hidden}.stash-background{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none}#content .stash-background img{position:absolute;max-width:none;margin:0!important;object-fit:contain;filter:brightness(0.8);border-radius:0}@media (max-width: 767px){.stash-background{display:none}}@media (min-width: 1024px){#navbar>div:not(#navbar-transition)>div>div:has(>div>div>div>a>.nav-logo)>div:first-child{padding-inline:24px;margin-inline:0;border-bottom:1px solid var(--stash-header-border)}#navbar div:has(>div>a>.nav-logo){border-bottom:0}#navbar div:has(>#search-bar-entry){position:absolute;left:50%;transform:translateX(-50%);width:384px;flex:none}#search-bar-entry{height:36px;padding:6px 6px 6px 10px;border:1px solid var(--stash-header-border);color:var(--stash-muted);box-shadow:none;background:var(--stash-control);filter:none;font-size:14px;line-height:20px}#search-bar-entry [data-search-item=\"trigger-icon\"]{color:inherit;stroke-width:2}#search-bar-entry [data-search-item=\"trigger-hint\"]{display:inline-flex;gap:2px;font-size:14px;font-weight:300!important}#search-bar-entry kbd{border:1px solid var(--stash-header-border);border-radius:6px;padding:0 6px;background:var(--stash-page-background);font:inherit}#navbar div:has(>nav[aria-label=\"Main\"]){gap:8px}#navbar div:has(>nav[aria-label=\"Main\"])>*{margin-inline:0}#navbar div:has(>nav[aria-label=\"Main\"])>.stash-sidebar-toggle{margin-inline-end:-6px}#navbar div:has(>.nav-tabs){height:40px;padding-inline:24px}#navbar .nav-tabs{width:100%;align-items:flex-end;border-bottom:1px solid transparent}#navbar .nav-tabs-item{height:28px;padding-bottom:8px;line-height:20px}#navbar .nav-tabs-item>div{height:2px}#navbar div:has(>#search-bar-entry){left:calc(50% - 192px);transform:none}[data-layout-item=\"sidebar\"]{top:var(--stash-header-height);height:calc(100vh - var(--stash-header-height))}html[data-stash-sidebar-collapsed]{--sidebar-width: 0px}}@media (max-width: 1023px){#navbar>div:not(#navbar-transition)>div>div:has(>div>div>div>a>.nav-logo)>div:first-child{height:56px;border-bottom:1px solid var(--stash-header-border)}#navbar div:has(>div>a>.nav-logo){border-bottom:0}#navbar button:has(>div>span.sr-only){position:absolute;top:10.5px;right:10px;width:34px;height:34px;padding:8px}#navbar button:has(>div>span.sr-only)>div:last-child{display:none}#navbar button:has(>div>span.sr-only)>div:first-child>svg{width:18px;height:18px}#navbar button:has(>div>span.sr-only)::after{content:\"\";position:absolute;inset:8px;background:var(--stash-muted);mask:url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%203v18%22%2F%3E%3C%2Fsvg%3E\") center / contain no-repeat;-webkit-mask:url(\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20width%3D%2218%22%20height%3D%2218%22%20x%3D%223%22%20y%3D%223%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%203v18%22%2F%3E%3C%2Fsvg%3E\") center / contain no-repeat}#navbar button:has(>div>span.sr-only)>div:first-child>svg{visibility:hidden}#search-bar-entry-mobile{position:absolute;right:28px;top:10.5px;width:34px;height:34px}#navbar button[aria-label=\"More actions\"]{display:none}#content-container>div:has(>#content-area){padding-top:96px}#mobile-nav .stash-mobile-studio{flex:none;margin:12px 16px 16px 64px;padding:8px 12px;border:1px solid var(--stash-header-border);border-radius:9999px;text-align:center;font-size:14px;color:var(--stash-muted)}}#assistant-entry,#assistant-entry-mobile{display:none!important}:root{--stash-content-border: rgba(153, 153, 153, 0.2);--stash-text: #262626;--stash-heading: #0a0a0a;--stash-card: #fff;--stash-active-nav: rgba(10, 10, 10, 0.1);--stash-ease: cubic-bezier(0.4, 0, 0.2, 1);--content-width: 900px}html.dark{--stash-text: #e5e5e5;--stash-heading: #fafafa;--stash-card: #262626;--stash-active-nav: rgba(250, 250, 250, 0.1)}#header>div:first-child,#header>div:first-child>div{margin-top:0}#header nav[aria-label=\"Breadcrumb\"]{display:none}#page-title{color:var(--stash-heading)}#header>.prose{margin-top:16px;color:var(--stash-muted);line-height:28px}#header>.prose>p{margin:0;color:inherit}#header::after{content:\"\";display:block;margin-top:24px;border-bottom:1px solid var(--stash-content-border)}#content{margin-top:24px;margin-bottom:16px;color:var(--stash-text)}#content h2,#content h3,#content h4{color:var(--stash-heading)}#content h2{font-size:24px;line-height:32px;margin-top:48px;margin-bottom:24px}#content h3{font-size:20px;line-height:28px}#content>:first-child:not(.stash-background){margin-top:0}#content .card{border-radius:12px;background:var(--stash-card);border-color:var(--stash-content-border);box-shadow:none}#content [data-component-part=\"card-content-container\"]{padding:16px}#content [data-component-part=\"card-title\"]{font-size:14px;line-height:20px;font-weight:500!important;color:var(--stash-heading);margin-top:0;margin-bottom:0}#content [data-component-part=\"card-content\"]{font-size:14px;line-height:21px;margin-top:4px;color:var(--stash-muted)}#content [data-component-part=\"card-icon\"]:has(>img){width:78px;height:78px;padding:7px;margin-bottom:8px;border:1px solid var(--stash-content-border);border-radius:8px;background:#f5f5f5;box-shadow:0 2px 3px rgb(0 0 0 / 0.1)}html.dark #content [data-component-part=\"card-icon\"]:has(>img){background:#303030}#content [data-component-part=\"card-icon\"]>img{width:64px;height:64px}#content .card{margin-block:0}#content div:has(>.card){gap:12px}#content .card:hover{background:var(--stash-menu-surface);border-color:var(--stash-content-border)}#content .callout{position:relative;border-radius:12px;border-color:var(--stash-content-border);background:var(--stash-card);box-shadow:0 2px 4px rgb(0 0 0 / 0.1)}#content [data-component-part=\"callout-content\"]{color:var(--stash-muted)}#content .callout::before{content:\"\";position:absolute;inset:10px auto 10px 5px;width:2px;background:currentColor;border-radius:2px}.feedback-toolbar{margin-top:16px;margin-bottom:16px;padding:12px 0;border-block:1px solid var(--stash-content-border);color:var(--stash-heading)}#feedback-thumbs-up,#feedback-thumbs-down{border:1px solid var(--stash-content-border);border-radius:9999px;padding:8px 12px;gap:8px;color:var(--stash-muted);background:transparent}#feedback-thumbs-up>small,#feedback-thumbs-down>small{line-height:20px}.feedback-toolbar>div:first-child{justify-content:flex-start;gap:8px}.feedback-toolbar>div:first-child>p{font-weight:500;color:var(--stash-heading);margin-right:8px}.feedback-toolbar>div:first-child>div{flex-grow:0;justify-content:flex-start;gap:8px}.feedback-toolbar>div:first-child>div>div{gap:8px}.stash-verification-badge{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;margin-inline-start:auto;padding:4px 10px;border:1px solid var(--stash-content-border);border-radius:9999px;color:var(--stash-muted);background:var(--stash-menu-glass);font-size:12px;font-weight:500;line-height:18px;white-space:nowrap}.stash-verification-badge svg{width:16px;height:16px;flex-shrink:0}.stash-verification-badge[data-status=\"verified\"]{color:var(--stash-heading);background:transparent}.stash-verification-badge[data-status=\"verified\"] svg{color:#4d7c0f;fill:#b6ff00}.stash-verification-badge[data-status=\"outdated\"] svg{color:#a16207}html.dark .stash-verification-badge[data-status=\"outdated\"] svg{color:#facc15}.stash-verification-row{display:flex;align-items:center;justify-content:flex-end;min-height:64px;margin-block:16px;padding-block:12px;border-block:1px solid var(--stash-content-border)}#pagination{gap:16px;margin-top:16px;padding:0}#pagination>a{flex:1 1 0%;min-height:70px;padding:16px;gap:8px;border:1px solid var(--stash-content-border);border-radius:8px;background:var(--stash-menu-glass);backdrop-filter:blur(4px);color:var(--stash-heading);font-weight:500}#pagination>a[rel=\"next\"]{justify-content:flex-end}#pagination>a:hover{background:var(--stash-control-active)}#footer{margin-top:24px;border-color:var(--stash-content-border);padding-top:24px}[data-assistant-bar]{display:block;margin-top:24px}#sidebar-content{padding-inline:15px 0}#sidebar-content>[data-component-part=\"scroll-area-viewport\"]{padding-right:16px}#sidebar-content div:has(>#navigation-items)>div:first-child{height:40px}#sidebar-content .sidebar-group-header,#mobile-nav .sidebar-group-header{padding-left:8px;font-weight:300;color:var(--stash-heading)}#sidebar-content .sidebar-title,#mobile-nav .sidebar-title{font-weight:300!important}#navigation-items>div+div{margin-top:24px}.sidebar-group-header{margin-bottom:6px;line-height:20px}.sidebar-group>li,.sidebar-group ul>li{margin-top:0;margin-bottom:0}.sidebar-group>li>a,.sidebar-group>li>button{border-radius:8px;gap:8px;color:var(--stash-muted);text-shadow:none;padding-block:8px;line-height:20px;font-size:14px}#navigation-items>div>.sidebar-group>li>a,#navigation-items>div>.sidebar-group>li>button{padding-left:8px!important;padding-right:8px}.sidebar-group>li[data-active]>a{background:var(--stash-active-nav);color:var(--stash-heading)}.sidebar-group>li>a:hover,.sidebar-group>li>button:hover{color:var(--stash-heading);background:var(--stash-control-active)}.sidebar-group>li>button[aria-expanded]>div:last-child{margin-left:auto}.sidebar-group>li>button[aria-expanded]>div:last-child>svg{width:14px;height:14px}.sidebar-group a>div:has(>.method-nav-pill){order:2}.method-nav-pill{width:auto}.method-nav-pill>span{font-family:ui-monospace, monospace;font-size:12px;font-weight:400;padding:0;background:transparent!important}.sidebar-group a>div:has(>.method-nav-pill){align-self:center}.method-nav-pill[data-stash-method=\"get\"]>span{color:#00bc3a}.method-nav-pill[data-stash-method=\"post\"]>span{color:#2b7fff}.method-nav-pill[data-stash-method=\"put\"]>span{color:#d08700}.stash-api-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin-bottom:32px;border:1px solid var(--stash-content-border);border-radius:8px}.stash-api-switch>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;border:1px solid transparent;border-radius:6px;color:var(--stash-muted);font-size:14px;font-weight:500;line-height:20px}.stash-api-switch svg{width:16px;height:16px}.stash-api-switch>a:hover{color:var(--stash-heading);background:var(--stash-control-active)}.stash-api-switch>a[aria-current=\"true\"]{color:var(--stash-heading);background:rgb(255 255 255 / 0.85);border-color:rgb(255 255 255 / 0.6);box-shadow:0 1px 2px rgb(0 0 0 / 0.05);backdrop-filter:blur(4px)}html.dark .stash-api-switch>a[aria-current=\"true\"]{background:rgb(255 255 255 / 0.15);border-color:rgb(255 255 255 / 0.2)}.stash-api-switch>a:focus-visible{outline:2px solid var(--stash-heading);outline-offset:2px}.nav-dropdown-trigger[data-stash-api-switch]{display:none}.stash-api-overview>.sidebar-group-header{display:none}#navigation-items>.stash-api-overview{margin-top:0}html[data-current-path^=\"/api/\"] #sidebar-content div:has(>#navigation-items)>div:first-child{height:16px}@media (min-width: 1024px){#content-container>div:has(>#content-area){gap:24px;padding:32px 0 0 24px;max-width:1200px;margin-inline:auto}#content-area{padding:0;margin:0;min-width:0;width:0;max-width:none;flex:1 1 0%}#content-side-layout{width:286px;flex-shrink:0;top:152px;height:calc(100dvh - 152px)}#table-of-contents-layout{padding-left:0;padding-right:16px;width:286px}#content-container>div:has(>#content-side-layout[data-api-example]){display:grid;grid-template-columns:minmax(0, 1fr) 400px;row-gap:0;padding-right:24px;max-width:1200px}#content-side-layout[data-api-example]{grid-column:2;grid-row:2;width:400px;top:136px;height:calc(100dvh - 160px)}#content-side-layout[data-api-example]>div{width:400px}#content-side-layout[data-api-example]+#content-area{display:contents}#content-side-layout[data-api-example]+#content-area>*{grid-column:1 / -1}#content-side-layout[data-api-example]+#content-area>#header{margin-bottom:16px}#content-side-layout[data-api-example]+#content-area>#api-playground-2-operation-page{grid-column:1;grid-row:2}#content-side-layout[data-api-example]+#content-area>[data-assistant-bar]{grid-column:1}#content-side-layout[data-api-example]+#content-area>#header::after{display:none}@media (max-width: 1279px){#content-container>div:has(>#content-area){padding-right:24px}#content-container>div:has(>#content-side-layout[data-api-example]){display:flex}#content-side-layout[data-api-example]+#content-area{display:block}}[data-layout-item=\"sidebar\"]{overflow:clip}#sidebar-content{width:285px}html[data-stash-sidebar-collapsed] [data-layout-item=\"sidebar\"]{border-right-width:0}html[data-stash-sidebar-collapsed] #sidebar-content{transform:translateX(-100%);visibility:hidden;pointer-events:none}}#api-playground-2-operation-page>div:first-child{margin-top:0}#content-area:has(>#api-playground-2-operation-page)>#header::after{display:none}.api-section-heading-title{color:var(--stash-heading);font-weight:400!important;font-size:20px;line-height:28px}html:is([data-current-path=\"/api/ingress\"],[data-current-path=\"/api/egress\"]) #content-side-layout{display:none}html:is([data-current-path=\"/api/ingress\"],[data-current-path=\"/api/egress\"]) #content-container>div:has(>#content-area){max-width:1200px}html:is([data-current-path=\"/api/ingress\"],[data-current-path=\"/api/egress\"]) #header::after{margin-top:32px}@media (min-width: 1024px){html:is([data-current-path=\"/api/ingress\"],[data-current-path=\"/api/egress\"]) #content-container>div:has(>#content-area){padding-right:24px}}@media (max-width: 1023px){#content-container>div:has(>#content-area){padding-top:88px}#content-area{padding-inline:0}#search-bar-entry-mobile{right:48px}#header>#page-context-menu{margin-top:16px}#header::after{margin-top:24px}#pagination{gap:12px}#pagination>a{padding:12px}.stash-api-switch{margin:8px 0 24px}}#stash-mobile-contents{display:none}@media (max-width: 1023px){#stash-mobile-contents{display:block;position:fixed;inset:56px 0 auto;z-index:35;color:var(--stash-muted);background:var(--stash-header-glass);border-bottom:1px solid var(--stash-content-border);backdrop-filter:blur(4px);font-size:14px;line-height:20px}#stash-mobile-contents>summary{display:flex;align-items:center;gap:8px;height:40px;padding:0 16px;cursor:pointer;list-style:none}#stash-mobile-contents>summary::-webkit-details-marker{display:none}#stash-mobile-contents>summary>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#stash-mobile-contents svg{width:20px;height:20px;flex:none}#stash-mobile-contents svg:first-child{opacity:0.3}#stash-mobile-contents svg:last-child{width:16px;height:16px;margin-left:auto}#stash-mobile-contents[open] svg:last-child{transform:rotate(180deg)}#stash-mobile-contents nav{max-height:min(60dvh, 320px);overflow:auto;padding:8px 16px 12px;border-top:1px solid var(--stash-content-border);background:var(--stash-menu-surface)}#stash-mobile-contents nav a{display:block;padding:6px 12px;border-radius:6px}#stash-mobile-contents nav a:hover{background:var(--stash-control-active);color:var(--stash-heading)}#stash-mobile-contents :focus-visible{outline:2px solid var(--stash-heading);outline-offset:-2px}html[data-stash-mobile-contents] #content-container>div:has(>#content-area){padding-top:128px}#content :is(h2,h3,h4)[id]{scroll-margin-top:112px}}@media (max-width: 767px){#content-container>div:has(>#content-area){padding-top:80px}html[data-stash-mobile-contents] #content-container>div:has(>#content-area){padding-top:120px}}html:is([data-current-path=\"/changelog\"],[data-current-path^=\"/changelog/\"]){--sidebar-width: 0px}html:is([data-current-path=\"/changelog\"],[data-current-path^=\"/changelog/\"]) :is(#sidebar,#content-side-layout,.stash-sidebar-toggle){display:none}html:is([data-current-path=\"/changelog\"],[data-current-path^=\"/changelog/\"]) #content-container>div:has(>#content-area){max-width:768px;padding-inline:24px}html[data-current-path=\"/changelog\"] [data-component-part=\"update-tag-list\"]{gap:6px;padding-inline:0}html[data-current-path=\"/changelog\"] [data-component-part=\"update-tag\"],.stash-changelog-tag{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid var(--stash-content-border);border-radius:6px;background:var(--stash-control);color:var(--stash-foreground);font-size:12px;font-weight:500;line-height:16px;white-space:nowrap}.stash-changelog-tag{margin:0 6px 6px 0}html[data-current-path=\"/changelog\"] #content h2 a{color:inherit;border-bottom:0;text-decoration:none}html[data-current-path=\"/changelog\"] #content h2 a:hover{text-decoration:underline}@property --sidebar-width{syntax:\"\u003clength>\";inherits:true;initial-value:286px}@media (prefers-reduced-motion: no-preference){:root{transition:--sidebar-width 200ms var(--stash-ease)}#sidebar-content{transition:transform 200ms var(--stash-ease), visibility 200ms}#navbar .nav-tabs-item,#topbar-cta-button a,.stash-theme-controls button,.stash-sidebar-toggle,.sidebar-group>li>a,.sidebar-group>li>button,.stash-api-switch>a,#pagination>a,#content .card,.feedback-toolbar button{transition:color 150ms var(--stash-ease), background-color 150ms var(--stash-ease), border-color 150ms var(--stash-ease), box-shadow 150ms var(--stash-ease)}.sidebar-group button[aria-expanded] svg{transition:transform 200ms var(--stash-ease)}#stash-mobile-contents svg{transition:transform 200ms var(--stash-ease)}#navbar-transition,#content-side-layout{transition:top 200ms var(--stash-ease), height 150ms var(--stash-ease)}}@media (prefers-reduced-motion: reduce){:root,#sidebar-content,.sidebar-group *,.stash-api-switch *,#mobile-nav,#content .card,#navbar *,#pagination *,.feedback-toolbar *,[data-assistant-bar] *,#stash-mobile-contents *{transition-duration:0s!important;animation-duration:0s!important}}"}]}
{"page":{"pagePath":"api/ingress/stash-pay/generatequickpayurl","slug":"/api/ingress/stash-pay/generatequickpayurl","pageMetadata":{"title":"Generate Checkout","description":"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.","deprecated":null,"version":null,"sidebarTitle":"Generate Checkout","openapi":"/ingress-openapi.json post /sdk/server/checkout_links/generate_quick_pay_url","href":"/api/ingress/stash-pay/generatequickpayurl","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: \"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\"\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":"Generate Checkout","description":"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.","deprecated":null,"version":null,"sidebarTitle":"Generate Checkout","openapi":"/ingress-openapi.json post /sdk/server/checkout_links/generate_quick_pay_url","href":"/api/ingress/stash-pay/generatequickpayurl","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/stash-gg/7a02d7154563de2a/stash-header.js"],"openApiReferenceData":{"operation":{"summary":"Generate Checkout","description":"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.","operationId":"GenerateQuickPayUrl","responses":{"200":"54805652-925d-435d-ab9b-202c9a1925fa","default":"a52d163d-df6f-4527-a6cc-216d589ad77d"},"requestBody":"8b133747-2c89-48aa-80d3-98367f44b70a","tags":["Stash Pay"],"security":["667e1bd2-2c1a-4343-b4f3-81aee2ac2010","7c768485-acf9-4fc9-bd52-e6c899eeaa4c"],"x-mint":{"href":"/api/ingress/stash-pay/generatequickpayurl","metadata":{"title":"Generate Checkout","sidebarTitle":"Generate Checkout"}},"method":"post","type":"path","servers":["cb086fb0-6f91-4f3d-b06f-9c2f914c9293"],"path":"/sdk/server/checkout_links/generate_quick_pay_url","baseUrlOptions":["https://test-api.stash.gg"],"title":"Generate Checkout","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","description":"Item ID","uniqueKey":"item.id","typeLabel":"string"},"pricePerItem":{"type":"string","description":"Major-unit decimal price:\n\n- `\"4.99\"` + `\"USD\"` = 4.99 USD\n\nSetting both `pricePerItem` and `pricePerItemCldrMinorUnits` will result in a `400 Bad Request` error. Omit both for server-side price resolution.","uniqueKey":"item.pricePerItem","typeLabel":"string"},"pricePerItemCldrMinorUnits":{"type":"string","description":"Price as an integer in the currency's minor units:\n\n- `\"499\"` + `\"USD\"` = 4.99 USD\n- `\"500\"` + `\"JPY\"` = 500 JPY\n\nSetting both `pricePerItem` and `pricePerItemCldrMinorUnits` will result in a `400 Bad Request` error. Omit both for server-side price resolution.\n\n**Important:** the number of decimal places per currency follows the minor-unit standard configured for your shop. The default is Unicode CLDR release 32: the `digits` values under `fractions` in https://github.com/unicode-org/cldr/blob/release-32/common/supplemental/supplementalData.xml (2 for a currency not listed there). A shop can instead be configured for Unicode CLDR release 47 (https://github.com/unicode-org/cldr/blob/release-47/common/supplemental/supplementalData.xml) or ISO 4217 (https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml). The standards disagree for some currencies: COP, IDR, PKR and TZS have 0 decimal places under CLDR release 32 and 2 under CLDR release 47 and ISO 4217, so `\"390000\"` + `\"COP\"` is 390,000 COP under the default and 3,900 COP under the other two. To use a standard other than the default, contact your Stash engineering partner.\n\nA price with more decimal places than CLDR release 32 gives the currency is rejected with a `400 Bad Request` error, whichever standard your shop uses. For example, on a shop configured for CLDR release 47, `\"390050\"` + `\"COP\"` (3,900.50 COP) is rejected.","uniqueKey":"item.pricePerItemCldrMinorUnits","typeLabel":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"item.metadata.additionalProperties","typeLabel":"string"},"description":"Optional key-value metadata to associate with this item. Passed through to the PURCHASE_SUCCEEDED webhook under this item's additional_metadata field. Values must be strings.","uniqueKey":"item.metadata","typeLabel":"object"},"quantity":{"type":"integer","format":"int64","description":"Quantity of items","uniqueKey":"item.quantity","typeLabel":"integer\u003cint64>"},"imageUrl":{"type":"string","description":"Item image URL. Used to display the item image in the checkout page.","uniqueKey":"item.imageUrl","typeLabel":"string"},"name":{"type":"string","description":"Item name. Used to display the item name in the checkout page.","uniqueKey":"item.name","typeLabel":"string"},"description":{"type":"string","description":"Optional item description. Used to display the item description in the checkout page.","uniqueKey":"item.description","typeLabel":"string"},"contentItems":{"type":"array","items":{"type":"object","properties":{"imageUrl":{"type":"string","description":"Icon URL for this content entry.","uniqueKey":"item.contentItems.items.[INDEX].imageUrl","typeLabel":"string"},"quantity":{"type":"integer","format":"int64","description":"Amount of this content entry included in the item.","uniqueKey":"item.contentItems.items.[INDEX].quantity","typeLabel":"integer\u003cint64>"},"displayName":{"type":"string","description":"Optional name for this content entry, shown on hover.","uniqueKey":"item.contentItems.items.[INDEX].displayName","typeLabel":"string"},"type":{"type":"string","enum":["CONTENT_ITEM_TYPE_UNSPECIFIED","CONTENT_ITEM_TYPE_FREE_ITEM"],"default":"CONTENT_ITEM_TYPE_UNSPECIFIED","description":"How checkout presents a content entry.\n\n - CONTENT_ITEM_TYPE_UNSPECIFIED: Unset; an ordinary content entry.\n - CONTENT_ITEM_TYPE_FREE_ITEM: Included free with the item: checkout shows it as free after its quantity. Presentation only.","uniqueKey":"item.contentItems.items.[INDEX].type","typeLabel":"enum\u003cstring>"}},"description":"ContentItem is one entry in the item's content breakdown (what the pack\ncontains, e.g. \"Rubies x500\").","uniqueKey":"item.contentItems.items.[INDEX]","typeLabel":"object"},"description":"Optional display-only content breakdown shown in the checkout order summary (e.g. \"Rubies x500\"). Purely presentational: it carries no pricing or entitlement semantics and does not affect the amount charged or what the purchase grants. Each entry's displayName is shown on hover. When set, it takes precedence over server-side catalog enrichment for the content breakdown only; bonus items resolve independently. Not supported on Galleon-rendered shops: the field is ignored there.","uniqueKey":"item.contentItems","typeLabel":"object[]"},"guid":{"type":"string","description":"Optional catalog GUID of the exact item being bought, for a shop whose catalog Stash reads. Several catalog items can share one `id`, for example the same product offered in two sections with different bonuses. Set this to the `guid` your catalog returned for the item the player chose (only possible when your catalog sends a `guid` for each item), and the bonuses your catalog gives that item are granted with the purchase, as the cart grants them. When set, it must name an item available to this user whose product id equals `id` and that has at least `quantity` units left for this user, otherwise the request is rejected. When unset, catalog bonuses are not granted: the purchase grants the `bonus_items` you send and any bonuses configured in Stash for `id`, as before.","uniqueKey":"item.guid","typeLabel":"string"}},"uniqueKey":"item","typeLabel":"object"},"bonusItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the bonus item. Each id may appear only once in `bonus_items`; a request that repeats an id is rejected.","uniqueKey":"bonusItems.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the bonus item","uniqueKey":"bonusItems.items.[INDEX].name","typeLabel":"string"},"imageUrl":{"type":"string","description":"Image URL for the bonus item","uniqueKey":"bonusItems.items.[INDEX].imageUrl","typeLabel":"string"},"quantity":{"type":"integer","format":"int64","description":"Quantity of bonus items to grant","uniqueKey":"bonusItems.items.[INDEX].quantity","typeLabel":"integer\u003cint64>"},"description":{"type":"string","description":"Optional description of the bonus item","uniqueKey":"bonusItems.items.[INDEX].description","typeLabel":"string"},"bonusClassification":{"type":"string","enum":["BONUS_CLASSIFICATION_UNSPECIFIED","BONUS_CLASSIFICATION_ORDINARY","BONUS_CLASSIFICATION_ONE_TIME_BONUS"],"default":"BONUS_CLASSIFICATION_UNSPECIFIED","description":"How checkout presents a bonus.\n\n - BONUS_CLASSIFICATION_UNSPECIFIED: Unset; behaves as BONUS_CLASSIFICATION_ORDINARY.\n - BONUS_CLASSIFICATION_ORDINARY: An ordinary bonus granted with every qualifying purchase.\n - BONUS_CLASSIFICATION_ONE_TIME_BONUS: A bonus the partner grants only once, such as an activation reward. Presentation only: Stash never enforces it.","uniqueKey":"bonusItems.items.[INDEX].bonusClassification","typeLabel":"enum\u003cstring>"}},"title":"Bonus items to include with the purchase (free items granted alongside the main item)","uniqueKey":"bonusItems.items.[INDEX]","typeLabel":"Bonus items to include with the purchase (free items granted alongside the main item) · object"},"description":"Optional bonus items to include with the purchase. These are free items granted alongside the main item. Works with either item or catalog_items. A bonus whose id matches a bonus set up in Stash for the purchased product replaces that bonus, so only the amount sent here is granted for that id; a bonus with any other id is granted in addition. Each quantity is granted exactly as sent and is not multiplied by the item quantity. Each id may appear only once: a request that repeats an id is rejected, and no checkout link is created.","uniqueKey":"bonusItems","typeLabel":"Bonus items to include with the purchase (free items granted alongside the main item) · object[]"},"user":{"type":"object","properties":{"id":{"type":"string","description":"User ID from the game/application","uniqueKey":"user.id","typeLabel":"string"},"validatedEmail":{"type":"string","description":"Optional validated email address","uniqueKey":"user.validatedEmail","typeLabel":"string"},"profileImageUrl":{"type":"string","description":"Optional profile image URL","uniqueKey":"user.profileImageUrl","typeLabel":"string"},"displayName":{"type":"string","description":"Optional display name","uniqueKey":"user.displayName","typeLabel":"string"},"regionCode":{"type":"string","description":"Optional region code (2-3 letter country code)","uniqueKey":"user.regionCode","typeLabel":"string"},"platform":{"type":"string","enum":["UNDEFINED","IOS","ANDROID"],"default":"UNDEFINED","uniqueKey":"user.platform","typeLabel":"enum\u003cstring>"},"payerIp":{"type":"string","description":"Optional payer IP address, this is player IP address in most cases","uniqueKey":"user.payerIp","typeLabel":"string"},"paymentUserReference":{"type":"string","description":"This is currently a no-op but will soon be available for use. Optional payment user reference. This is used for saving and retrieving saved payment methods. If saved payment methods should only be scoped to a device, use a device identifier. If saved payment methods should be scoped to a account, use an account identifier. If not provided, defaults to using the `user.id` field (account scoped behavior).","uniqueKey":"user.paymentUserReference","typeLabel":"string"}},"uniqueKey":"user","typeLabel":"object"},"transactionId":{"type":"string","description":"Optional transaction ID for tracking","uniqueKey":"transactionId","typeLabel":"string"},"regionCode":{"type":"string","description":"Region code (2-3 letter country code, defaults to US if not set)","uniqueKey":"regionCode","typeLabel":"string"},"currency":{"type":"string","description":"ISO-4217 Currency code (currently only USD supported)","uniqueKey":"currency","typeLabel":"string"},"catalogItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Managed Catalog SKU (the product's external ID) to resolve price and details from.","uniqueKey":"catalogItems.items.[INDEX].id","typeLabel":"string"},"quantity":{"type":"integer","format":"int64","description":"Quantity of this SKU to purchase","uniqueKey":"catalogItems.items.[INDEX].quantity","typeLabel":"integer\u003cint64>"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"catalogItems.items.[INDEX].metadata.additionalProperties","typeLabel":"string"},"description":"Optional key-value metadata to associate with this catalog item. Passed through to the PURCHASE_SUCCEEDED webhook under this item's additional_metadata field. Values must be strings.","uniqueKey":"catalogItems.items.[INDEX].metadata","typeLabel":"object"}},"uniqueKey":"catalogItems.items.[INDEX]","typeLabel":"object"},"description":"Managed Catalog SKUs (id + quantity) to resolve server-side. Requires the shop to have managed catalog enabled. Mutually exclusive with item; provide exactly one of the two.","uniqueKey":"catalogItems","typeLabel":"object[]"},"checkoutSessionId":{"type":"string","description":"Optional checkout-session id (the per-tab analytics session for this checkout, shared with telemetry and the funnel webhooks); persisted on the order. Distinct from the multi-PSP payment session_id used during authorization.","uniqueKey":"checkoutSessionId","typeLabel":"string"},"successUrl":{"type":"string","description":"Optional absolute URL the player is sent to once the payment succeeds, instead of the Stash Pay success screen. Any host is accepted; javascript, data, vbscript, blob and file URLs are rejected. Maximum 2048 characters. When checkout runs in an iframe, the iframe itself navigates here: the page must allow being framed, and browsers can block an app deeplink scheme opened from a cross-origin iframe.","uniqueKey":"successUrl","typeLabel":"string"},"failureUrl":{"type":"string","description":"Optional absolute URL the player is sent to instead of the Stash Pay payment-failed screen. Same rules as success_url. Checkout keeps the player instead of redirecting when they can retry there (a decline shown inline, or a network error while finishing the payment) and when the payment went through but could not be finished. The iframe and app deeplink limits of success_url apply.","uniqueKey":"failureUrl","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"item":{"id":"\u003cstring>","pricePerItem":"\u003cstring>","pricePerItemCldrMinorUnits":"\u003cstring>","metadata":{},"quantity":123,"imageUrl":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","contentItems":[{"imageUrl":"\u003cstring>","quantity":123,"displayName":"\u003cstring>","type":"CONTENT_ITEM_TYPE_UNSPECIFIED"}],"guid":"\u003cstring>"},"bonusItems":[{"id":"\u003cstring>","name":"\u003cstring>","imageUrl":"\u003cstring>","quantity":123,"description":"\u003cstring>","bonusClassification":"BONUS_CLASSIFICATION_UNSPECIFIED"}],"user":{"id":"\u003cstring>","validatedEmail":"\u003cstring>","profileImageUrl":"\u003cstring>","displayName":"\u003cstring>","regionCode":"\u003cstring>","platform":"UNDEFINED","payerIp":"\u003cstring>","paymentUserReference":"\u003cstring>"},"transactionId":"\u003cstring>","regionCode":"\u003cstring>","currency":"\u003cstring>","catalogItems":[{"id":"\u003cstring>","quantity":123,"metadata":{}}],"checkoutSessionId":"\u003cstring>","successUrl":"\u003cstring>","failureUrl":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"54805652-925d-435d-ab9b-202c9a1925fa":{"description":"A successful response.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"Generated quick payment URL","uniqueKey":"url","typeLabel":"string"},"id":{"type":"string","description":"Unique payment link ID","uniqueKey":"id","typeLabel":"string"},"regionCode":{"type":"string","description":"Region code used for the payment","uniqueKey":"regionCode","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"url":"\u003cstring>","id":"\u003cstring>","regionCode":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"a52d163d-df6f-4527-a6cc-216d589ad77d":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer","format":"int32","uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string","uniqueKey":"details.items.[INDEX].@type","typeLabel":"string"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"details.items.[INDEX].additionalProperties","typeLabel":"any"},"uniqueKey":"details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>","details":[{"@type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"667e1bd2-2c1a-4343-b4f3-81aee2ac2010":{"hmac":{"type":"apiKey","description":"Versioned HMAC-SHA256 signature authenticating server-to-server SDK requests (your backend calling Stash), as opposed to client-side SDK operations. Recommended over the deprecated X-Stash-Api-Key for the best security. Header format: v1;{appId};{unixMillisTimestamp};{base64Signature} (semicolon-delimited). {base64Signature} is the base64-encoded HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} using your app ingress secret (the ingress secret is shown base64-encoded in Studio; base64-decode it to the raw bytes used as the HMAC key), where {requestBody} is the request body exactly as you send it for POST and PUT requests (the compact canonical request JSON is also accepted) and empty for GET requests. A signature over the exact bytes verifies for bodies of up to 18 KiB (18,432 bytes); a larger body may be refused with 401 even when correctly signed. The timestamp must be within 5 minutes of Stash server time. Your appId is your immutable app identifier, shown in Stash Studio under Project Settings > App details; your ingress secret is under Project Settings > API Secrets.","name":"x-stash-hmac-signature","in":"header","scopes":[],"schemeName":"hmac"}},"7c768485-acf9-4fc9-bd52-e6c899eeaa4c":{"deprecatedApiKey":{"type":"apiKey","description":"DEPRECATED: API key authentication (X-Stash-Api-Key) is not supported for shops or API keys created on or after 2026-08-15; those must use HMAC authentication via the x-stash-hmac-signature header. Shops and keys created before the cutoff may continue using their X-Stash-Api-Key for server-to-server operations, but are encouraged to migrate to HMAC as soon as possible for the best security.","name":"X-Stash-Api-Key","in":"header","scopes":[],"schemeName":"deprecatedApiKey"}}},"servers":{"cb086fb0-6f91-4f3d-b06f-9c2f914c9293":{"url":"https://test-api.stash.gg"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Versioned HMAC-SHA256 signature authenticating server-to-server SDK requests (your backend calling Stash), as opposed to client-side SDK operations. Recommended over the deprecated X-Stash-Api-Key for the best security. Header format: v1;{appId};{unixMillisTimestamp};{base64Signature} (semicolon-delimited). {base64Signature} is the base64-encoded HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} using your app ingress secret (the ingress secret is shown base64-encoded in Studio; base64-decode it to the raw bytes used as the HMAC key), where {requestBody} is the request body exactly as you send it for POST and PUT requests (the compact canonical request JSON is also accepted) and empty for GET requests. A signature over the exact bytes verifies for bodies of up to 18 KiB (18,432 bytes); a larger body may be refused with 401 even when correctly signed. The timestamp must be within 5 minutes of Stash server time. Your appId is your immutable app identifier, shown in Stash Studio under Project Settings > App details; your ingress secret is under Project Settings > API Secrets.","name":"x-stash-hmac-signature","in":"header","scopes":[],"schemeName":"hmac"},"schema":{"title":"x-stash-hmac-signature","type":"string","description":"Versioned HMAC-SHA256 signature authenticating server-to-server SDK requests (your backend calling Stash), as opposed to client-side SDK operations. Recommended over the deprecated X-Stash-Api-Key for the best security. Header format: v1;{appId};{unixMillisTimestamp};{base64Signature} (semicolon-delimited). {base64Signature} is the base64-encoded HMAC-SHA256 of the string {unixMillisTimestamp}.{requestBody} using your app ingress secret (the ingress secret is shown base64-encoded in Studio; base64-decode it to the raw bytes used as the HMAC key), where {requestBody} is the request body exactly as you send it for POST and PUT requests (the compact canonical request JSON is also accepted) and empty for GET requests. A signature over the exact bytes verifies for bodies of up to 18 KiB (18,432 bytes); a larger body may be refused with 401 even when correctly signed. The timestamp must be within 5 minutes of Stash server time. Your appId is your immutable app identifier, shown in Stash Studio under Project Settings > App details; your ingress secret is under Project Settings > API Secrets.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"hmac","name":"x-stash-hmac-signature"}],"title":"hmac"},{"schemes":[{"scheme":{"type":"apiKey","description":"DEPRECATED: API key authentication (X-Stash-Api-Key) is not supported for shops or API keys created on or after 2026-08-15; those must use HMAC authentication via the x-stash-hmac-signature header. Shops and keys created before the cutoff may continue using their X-Stash-Api-Key for server-to-server operations, but are encouraged to migrate to HMAC as soon as possible for the best security.","name":"X-Stash-Api-Key","in":"header","scopes":[],"schemeName":"deprecatedApiKey"},"schema":{"title":"X-Stash-Api-Key","type":"string","description":"DEPRECATED: API key authentication (X-Stash-Api-Key) is not supported for shops or API keys created on or after 2026-08-15; those must use HMAC authentication via the x-stash-hmac-signature header. Shops and keys created before the cutoff may continue using their X-Stash-Api-Key for server-to-server operations, but are encouraged to migrate to HMAC as soon as possible for the best security.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"deprecatedApiKey","name":"X-Stash-Api-Key"}],"title":"deprecatedApiKey"}]},"originalFileLocation":"ingress-openapi.json"},"subdomain":"stash-gg","siteName":"Stash Documentation","title":"Generate Checkout - Stash Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T22:02:48.627Z","originalFileLocation":"api/ingress/stash-pay/generatequickpayurl.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 quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Stash 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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_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/stash-gg/FPsFuW1MRa_lLsAE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate Checkout - Stash Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stash Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.stash.gg/og-image.png\">\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=\"Generate Checkout - Stash Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.stash.gg/og-image.png\">\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/stash-gg/FPsFuW1MRa_lLsAE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stash Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1e1e1e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/ingress/stash-pay/generatequickpayurl.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://stash-gg.mintlify.app/#organization\",\"name\":\"Stash Documentation\",\"url\":\"https://stash-gg.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stash-gg/I_GbdmJR4L85eJZA/logo/light.svg?fit=max\u0026auto=format\u0026n=I_GbdmJR4L85eJZA\u0026q=85\u0026s=c58d1a385fd52c013aef762b9f06da39\"}},{\"@type\":\"WebSite\",\"@id\":\"https://stash-gg.mintlify.app#website\",\"name\":\"Stash Documentation\",\"url\":\"https://stash-gg.mintlify.app\",\"publisher\":{\"@id\":\"https://stash-gg.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl#webpage\",\"url\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl\",\"name\":\"Generate Checkout\",\"description\":\"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\",\"dateModified\":\"2026-11-23T22:02:48.627Z\",\"isPartOf\":{\"@id\":\"https://stash-gg.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Stash Documentation\",\"item\":\"https://stash-gg.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate Checkout\",\"item\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl#apireference\",\"headline\":\"Generate Checkout\",\"name\":\"Generate Checkout\",\"description\":\"Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information.\",\"url\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl\",\"mainEntityOfPage\":{\"@id\":\"https://stash-gg.mintlify.app/api/ingress/stash-pay/generatequickpayurl#webpage\"},\"image\":\"https://docs.stash.gg/og-image.png\",\"dateModified\":\"2026-11-23T22:02:48.627Z\",\"publisher\":{\"@id\":\"https://stash-gg.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://stash-gg.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stash Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Stash Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/ingress/stash-pay/generatequickpayurl.md","siteName":"Stash Documentation","nav":{"global":null,"tabs":[{"tab":"Integration Guides","pages":[{"title":"Integration Guides","href":"/guides"}]},{"tab":"API Reference","dropdowns":[{"dropdown":"Ingress","groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/api/ingress"}]},{"group":"Catalog","pages":[{"title":"Abort offers","deprecated":null,"version":null,"sidebarTitle":"Abort offers","openapi":"/ingress-openapi.json post /sdk/server/catalog/offer-aborts/abort","href":"/api/ingress/catalog/abortoffers"},{"title":"Force refresh catalog","deprecated":null,"version":null,"sidebarTitle":"Force refresh catalog","openapi":"/ingress-openapi.json post /sdk/server/catalog/force-refresh","href":"/api/ingress/catalog/forcerefreshcatalog"},{"title":"List offer aborts","deprecated":null,"version":null,"sidebarTitle":"List offer aborts","openapi":"/ingress-openapi.json post /sdk/server/catalog/offer-aborts/list","href":"/api/ingress/catalog/listofferaborts"},{"title":"Un-abort offers","deprecated":null,"version":null,"sidebarTitle":"Un-abort offers","openapi":"/ingress-openapi.json post /sdk/server/catalog/offer-aborts/unabort","href":"/api/ingress/catalog/unabortoffers"}]},{"group":"Localization","pages":[{"title":"Refresh localizations","deprecated":null,"version":null,"sidebarTitle":"Refresh localizations","openapi":"/ingress-openapi.json post /sdk/studio/{shopId}/localizations/refresh","href":"/api/ingress/localization/refreshlocalizations"}]},{"group":"Loyalty","pages":[{"title":"Get loyalty program configuration","deprecated":null,"version":null,"sidebarTitle":"Get loyalty program configuration","openapi":"/ingress-openapi.json get /sdk/studio/{shopId}/loyalty","href":"/api/ingress/loyalty/getloyalty"},{"title":"Get loyalty configuration","deprecated":null,"version":null,"sidebarTitle":"Get loyalty configuration","openapi":"/ingress-openapi.json get /sdk/studio/{shopId}/loyalty/config","href":"/api/ingress/loyalty/getloyaltyconfig"},{"title":"Get a player's loyalty standing","deprecated":null,"version":null,"sidebarTitle":"Get a player's loyalty standing","openapi":"/ingress-openapi.json get /sdk/studio/{shopId}/loyalty/players/{playerId}","href":"/api/ingress/loyalty/getplayerloyalty"},{"title":"Configure a loyalty season","deprecated":null,"version":null,"sidebarTitle":"Configure a loyalty season","openapi":"/ingress-openapi.json put /sdk/studio/{shopId}/loyalty/config","href":"/api/ingress/loyalty/updateloyaltyconfig"}]},{"group":"Payments","pages":[{"title":"Get payment event by ID","deprecated":null,"version":null,"sidebarTitle":"Get payment event by ID","openapi":"/ingress-openapi.json get /sdk/server/payment/{id}","href":"/api/ingress/payments/getpaymentevent"}]},{"group":"Pricing","pages":[{"title":"Convert prices","deprecated":null,"version":null,"sidebarTitle":"Convert prices","openapi":"/ingress-openapi.json post /sdk/server/prices/convert","href":"/api/ingress/pricing/convertprices"},{"title":"Get prices","deprecated":null,"version":null,"sidebarTitle":"Get prices","openapi":"/ingress-openapi.json get /sdk/server/prices","href":"/api/ingress/pricing/getprices"}]},{"group":"Reports","pages":[{"title":"List report files","deprecated":null,"version":null,"sidebarTitle":"List report files","openapi":"/ingress-openapi.json post /sdk/studio/{shopId}/reports/files","href":"/api/ingress/reports/listreportfiles"}]},{"group":"Server URLs","pages":[{"title":"Generate authenticated URL","description":"Generates an authenticated webshop URL for a player that signs them in when opened. target selects the page it opens: DEFAULT or ROOT for the webshop's root page, HOME for the home page, STORE for the store page, LOYALTY for the loyalty club page, or DAILY_STREAK for the daily streak page. Authenticate the request with an HMAC signature of the request body, or with the deprecated API key. This is a server-side endpoint and must not be called from the game client.","deprecated":null,"version":null,"sidebarTitle":"Generate authenticated URL","openapi":"/ingress-openapi.json post /sdk/server/generate_url","href":"/api/ingress/server-urls/generateauthenticatedurl"}]},{"group":"Stash Pay","pages":[{"title":"Generate Checkout","deprecated":null,"version":null,"sidebarTitle":"Generate Checkout","openapi":"/ingress-openapi.json post /sdk/server/checkout_links/generate_quick_pay_url","href":"/api/ingress/stash-pay/generatequickpayurl"}]},{"group":"Subscription Checkout Links","pages":[{"title":"Create a subscription change checkout link","description":"Creates a checkout link for upgrading an existing subscription to a new plan. Only subscriptions in a `active`, `trialing`, or `cancelled` (still within paid period before expiration) state are eligible for upgrades.","deprecated":null,"version":null,"sidebarTitle":"Create a subscription change checkout link","openapi":"/ingress-openapi.json post /sdk/subscriptions/{subscriptionId}/change-checkout-links","href":"/api/ingress/subscription-checkout-links/createsubscriptionchangecheckoutlink"},{"title":"Create a subscription checkout link","deprecated":null,"version":null,"sidebarTitle":"Create a subscription checkout link","openapi":"/ingress-openapi.json post /sdk/subscriptions/checkout-links","href":"/api/ingress/subscription-checkout-links/createsubscriptioncheckoutlink"}]},{"group":"Subscription Plans","pages":[{"title":"Get plan by ID","deprecated":null,"version":null,"sidebarTitle":"Get plan by ID","openapi":"/ingress-openapi.json get /sdk/plans/{planId}","href":"/api/ingress/subscription-plans/getplan"},{"title":"Get plan by code","deprecated":null,"version":null,"sidebarTitle":"Get plan by code","openapi":"/ingress-openapi.json get /sdk/plans/code/{code}","href":"/api/ingress/subscription-plans/getplanbycode"},{"title":"List plans","deprecated":null,"version":null,"sidebarTitle":"List plans","openapi":"/ingress-openapi.json get /sdk/plans","href":"/api/ingress/subscription-plans/listplans"}]},{"group":"Subscriptions","pages":[{"title":"Cancel subscription","deprecated":null,"version":null,"sidebarTitle":"Cancel subscription","openapi":"/ingress-openapi.json post /sdk/subscriptions/{id}/cancel","href":"/api/ingress/subscriptions/cancelsubscription"},{"title":"Get payments by subscription ID","deprecated":null,"version":null,"sidebarTitle":"Get payments by subscription ID","openapi":"/ingress-openapi.json get /sdk/subscriptions/{id}/payments","href":"/api/ingress/subscriptions/getpaymentsbysubscriptionid"},{"title":"Get subscription by ID","deprecated":null,"version":null,"sidebarTitle":"Get subscription by ID","openapi":"/ingress-openapi.json get /sdk/subscriptions/{id}","href":"/api/ingress/subscriptions/getsubscription"},{"title":"List subscriptions","deprecated":null,"version":null,"sidebarTitle":"List subscriptions","openapi":"/ingress-openapi.json get /sdk/subscriptions","href":"/api/ingress/subscriptions/listsubscriptions"},{"title":"Reactivate subscription","deprecated":null,"version":null,"sidebarTitle":"Reactivate subscription","openapi":"/ingress-openapi.json post /sdk/subscriptions/{id}/reactivate","href":"/api/ingress/subscriptions/reactivatesubscription"},{"title":"Update subscription","deprecated":null,"version":null,"sidebarTitle":"Update subscription","openapi":"/ingress-openapi.json post /sdk/subscriptions/{id}","href":"/api/ingress/subscriptions/updatesubscription"}]},{"group":"User Preferences","pages":[{"title":"Get user preferences","deprecated":null,"version":null,"sidebarTitle":"Get user preferences","openapi":"/ingress-openapi.json get /sdk/server/user_preferences/{userId}","href":"/api/ingress/user-preferences/getuserpreferences"},{"title":"Set user preferences","deprecated":null,"version":null,"sidebarTitle":"Set user preferences","openapi":"/ingress-openapi.json post /sdk/server/user_preferences/{userId}","href":"/api/ingress/user-preferences/setuserpreferences"}]},{"group":"Web Shop","pages":[{"title":"Get maintenance mode","deprecated":null,"version":null,"sidebarTitle":"Get maintenance mode","openapi":"/ingress-openapi.json get /sdk/server/shop/maintenance","href":"/api/ingress/web-shop/getmaintenancemode"},{"title":"Set maintenance mode","deprecated":null,"version":null,"sidebarTitle":"Set maintenance mode","openapi":"/ingress-openapi.json post /sdk/server/shop/maintenance","href":"/api/ingress/web-shop/setmaintenancemode"}]},{"group":"Webshop Account Linking","pages":[{"title":"Approve custom login","deprecated":null,"version":null,"sidebarTitle":"Approve custom login","openapi":"/ingress-openapi.json post /sdk/custom_login/approve","href":"/api/ingress/webshop-account-linking/approvecustomlogin"},{"title":"Decline custom login","deprecated":null,"version":null,"sidebarTitle":"Decline custom login","openapi":"/ingress-openapi.json post /sdk/custom_login/decline","href":"/api/ingress/webshop-account-linking/declinecustomlogin"},{"title":"Force Logout user","deprecated":null,"version":null,"sidebarTitle":"Force Logout user","openapi":"/ingress-openapi.json post /sdk/server/custom_login/logout","href":"/api/ingress/webshop-account-linking/logoutuser"}]}]},{"dropdown":"Egress","groups":[{"group":"Overview","pages":[{"title":"Getting Started","href":"/api/egress"}]},{"group":"Catalog","pages":[{"title":"Get product catalog","deprecated":null,"version":null,"sidebarTitle":"Get product catalog","playground":"simple","openapi":"/egress-openapi.json get /api/v1/catalog","href":"/api/egress/catalog/getcatalog"},{"title":"Get offer details","deprecated":null,"version":null,"sidebarTitle":"Get offer details","playground":"simple","openapi":"/egress-openapi.json get /api/v1/catalog/offer","href":"/api/egress/catalog/getofferdetails"}]},{"group":"Players","pages":[{"title":"Get player by ID","deprecated":null,"version":null,"sidebarTitle":"Get player by ID","playground":"simple","openapi":"/egress-openapi.json get /api/v1/player","href":"/api/egress/players/getplayer"}]},{"group":"Purchase","pages":[{"title":"Cancel pending payment","deprecated":null,"version":null,"sidebarTitle":"Cancel pending payment","playground":"simple","openapi":"/egress-openapi.json post /api/v1/purchase/cancel","href":"/api/egress/purchase/cancelpayment"},{"title":"Confirm payment completion","deprecated":null,"version":null,"sidebarTitle":"Confirm payment completion","playground":"simple","openapi":"/egress-openapi.json post /api/v1/purchase/confirm","href":"/api/egress/purchase/confirmpayment"},{"title":"Register payment intent","deprecated":null,"version":null,"sidebarTitle":"Register payment intent","playground":"simple","openapi":"/egress-openapi.json post /api/v1/purchase/register","href":"/api/egress/purchase/registerpayment"}]}]}]},{"tab":"Partner With Us","pages":[{"title":"Partner With Us","href":"/partners"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Generate Checkout - Stash Documentation","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B564ZPEC.js","snippetPresets-L1o8HcxD.js","utils-CztB6GTn.js","style-to-object-BY3JEAdk.js","utils-CvVTgJWk.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DYi6_847.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DthbVJn_.js","_Uint8Array-G4MDMcnE.js","isObject-FP1Yky1u.js","ApiExamples-BnQo4SxZ.js","usePlaygroundInputsStore-Dsmj0Yg6.js","shallow-Bp_wEvgz.js","isEqual-BwXlkqOR.js","CodeSnippets-D6Fi8DmN.js","CodeSnippet-DANVAYTI.js","use-playground-group-access-DaUWE1Sg.js","Page-Cwg6gQ2F.js","api-description-markdown-DFvICuUq.js","DynamicMarkdown-DHV3eOcf.js","SectionHeading-DLRZDaDn.js","MethodPill-CgqQYk5N.js","getPastedJson-k_txzq3J.js","Check2Icon-CO8ho5Tt.js","axios-CsQoIw0U.js","Markdown-C8ZpmBko.js","AssistantPageLink-AWAGfbYY.js","dist-CAcI43Vk.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}