# Stash Documentation > Integrate Stash Pay, Stash Webshop, and Stash Launcher. Guides and partner resources for the Stash direct-to-consumer platform. - [Quick Start](https://docs.stash.gg/guides.md): Hello ! Get started with Stash - the comprehensive direct-to-consumer platform that helps game developers engage with players and sell content through checkout flows, webshops, and other experiences. - [Demo Hub](https://docs.stash.gg/guides/get-started/demo-hub.md): Explore our fictional game called "Howling Woods" that serve as a demo hub. Download our sample app to experience Stash Pay, explore interactive webshop or see how you can reach desktop gamers using Stash Launcher. - [Stash Docs MCP](https://docs.stash.gg/guides/stash-docs-mcp.md): Connect an AI agent to the Stash documentation over MCP, or load every page as a single Markdown file. - [Getting Started with Stash Studio](https://docs.stash.gg/guides/get-started/stash-studio/getting-started.md): Learn how to get started with Stash Studio, the centralized web-based developer portal for managing your Stash integration. Understand key features including integration management, project settings, monitoring, authentication setup, and catalog control. - [Project Settings](https://docs.stash.gg/guides/get-started/stash-studio/project-settings.md): Learn how to manage project settings that span across Stash products including webhooks, API keys, theme settings, and more. Understand how to configure general settings, customize themes, manage receipts, set up game backend communication, and manage API keys. - [Main Dashboard](https://docs.stash.gg/guides/get-started/stash-studio/main-dashboard.md): Learn how to use the main dashboard in Stash Studio to understand revenue, player purchase activity, account linking, and more. Explore analytics and operational metrics to monitor your integration health and optimize performance. - [View Logs in Stash Studio](https://docs.stash.gg/guides/get-started/stash-studio/view-logs.md): Learn how to use Stash Studio's comprehensive logging tools to inspect events, debug communication between Stash API and your game backend, and identify integration issues. Access logs for outgoing events, incoming events, payments, and linked accounts. - [Roles & Permissions](https://docs.stash.gg/guides/get-started/stash-studio/roles-and-permissions.md): Understand how app-scoped roles and account-wide ownership work in Stash Studio, including what each role can access. - [API Keys Overview](https://docs.stash.gg/guides/get-started/stash-api-keys/overview.md): API key setup, HMAC signing for requests to Stash, HMAC verification for requests from Stash, and migrating from legacy auth. - [Stash Webhooks](https://docs.stash.gg/guides/get-started/stash-webhooks/overview.md): Learn about Stash webhooks - automated notifications sent to your backend when events occur across Stash products. Understand how to configure webhooks in Stash Studio and handle webhook events for player interactions, purchases, and more. - [Webhook Listener](https://docs.stash.gg/guides/get-started/stash-webhooks/webhook-listener.md): Learn how to create a webhook listener on your backend to receive incoming Stash webhook requests, verify their authenticity using HMAC SHA-256 signatures, and respond appropriately to process events securely. - [Webhook List](https://docs.stash.gg/guides/get-started/stash-webhooks/webhook-list.md): Comprehensive list of all webhook events that Stash can send to your backend, including event types, triggers, payload structures, and detailed examples for purchase, subscription, and payment webhooks across Stash products. - [Webhook Retries and Idempotency](https://docs.stash.gg/guides/get-started/stash-webhooks/retries.md): Learn about webhook retry behavior, how many retries are attempted, what happens on failure, and best practices for implementing idempotent webhook handlers. - [Test Card Numbers](https://docs.stash.gg/guides/get-started/test-cards.md): Use test card numbers to test your Stash Pay and Stash Webshop integrations. These test cards work with Stash's test environment and Stash Howling Woods demo. - [About Stash Pay](https://docs.stash.gg/guides/stash-pay/about.md): Discover Stash Pay - a direct-to-consumer payment system designed for games and apps that offers a modern alternative to traditional in-app purchases. Integrate through browser checkout, in-game popups, websites, or custom shops. - [High-Level Flow](https://docs.stash.gg/guides/stash-pay/flow.md): Learn how Stash Pay's purchase flow works and discover three integration patterns for granting purchases based on your existing infrastructure. - [Integrating Stash Pay](https://docs.stash.gg/guides/stash-pay/integration.md): Learn how to integrate Stash Pay into your game or app with minimum setup. This guide covers creating checkout links, displaying checkouts in browser or in-app, and handling webhook events for secure payment processing. - [About Subscriptions](https://docs.stash.gg/guides/stash-pay/subscriptions/about.md): Learn about Stash Subscriptions - a recurring billing system for games that enables battle passes, VIP memberships, and premium tiers with automatic renewals and flexible billing periods. - [Subscription Flow](https://docs.stash.gg/guides/stash-pay/subscriptions/flow.md): Understand the subscription lifecycle, state transitions, and how subscriptions move between trialing, active, past_due, canceled, and expired states. Learn about billing periods, grace periods, and renewal processing. - [Integrating Subscriptions](https://docs.stash.gg/guides/stash-pay/subscriptions/integration.md): Learn how to integrate Stash Subscriptions into your game. This guide covers listing plans, creating subscription checkouts, handling webhooks, and managing subscription lifecycle. - [Presentation Options](https://docs.stash.gg/guides/stash-pay/ios-android-integration/presentation-options.md): Compare Stash Pay presentation options for iOS and Android and choose the right integration mode for your game or app. - [Native Apps Integration](https://docs.stash.gg/guides/stash-pay/ios-android-integration/native-apps.md): Integrate Stash Pay in native iOS and Android apps and custom game engines using the Stash Native SDK. - [Unity Integration](https://docs.stash.gg/guides/stash-pay/ios-android-integration/unity.md): Integrate Stash Pay in Unity projects using the Stash Unity package wrapper. - [Unreal Engine Integration](https://docs.stash.gg/guides/stash-pay/ios-android-integration/unreal.md): Integrate Stash Pay in Unreal Engine projects using the Stash plugin wrapper. - [Web Apps & WebGL](https://docs.stash.gg/guides/stash-pay/web-integration/web-apps.md): Integrate Stash Pay in websites, web apps, and WebGL games using the Stash Pay web SDK. - [Stash Pay Opt-In](https://docs.stash.gg/guides/stash-pay/how-tos/opt-in.md): Learn how to configure and implement the Stash Pay opt-in experience, including Studio configuration, Unity SDK implementation, user preference management, and customization options. - [Customize the Checkout Appearance](https://docs.stash.gg/guides/stash-pay/how-tos/customize-checkout-appearance.md): Learn how to customize the colors and brand assets of your Stash Pay checkout page to match your game or webshop branding. Follow these steps to ensure visual consistency and improve the user experience. - [Configure Image Domains](https://docs.stash.gg/guides/stash-pay/how-tos/image-domains.md): Learn how to configure image domains in Stash Pay to control which external domains can serve images in your shop. Images from allowed domains are automatically optimized. - [Link Generator](https://docs.stash.gg/guides/stash-pay/how-tos/link-generator.md): Use the Stash Pay Link Generator in Stash Studio to quickly generate, test, and debug checkout links using the Server SDK integration without writing code. - [Unity Opt-in Dialog](https://docs.stash.gg/guides/stash-pay/how-tos/unity-opt-in-dialog.md): Learn how to implement payment channel selection opt-in dialogs in your Unity project using the Stash Pay Unity SDK. - [Managed Catalog](https://docs.stash.gg/guides/stash-pay/how-tos/managed-catalog.md): Create and publish Stash Pay products in Stash Studio, then reference them by ID in checkout links. No catalog backend required. - [About Stash Webshop](https://docs.stash.gg/guides/stash-webshop/about.md): Learn about Stash Webshop - a direct-to-consumer platform that extends your in-game store to the web. Deliver live, personalized game offers to players through a branded webshop with managed or unified catalog integration modes. - [High-Level Flow](https://docs.stash.gg/guides/stash-webshop/flow.md): Learn how Stash Webshop connects players to your game economy through a web-based storefront. Understand the core flow including account linking, catalog presentation, and event processing, plus the failsafe purchase flow that ensures secure transactions. - [Integrating Stash Webshop](https://docs.stash.gg/guides/stash-webshop/integration.md): Learn the key steps for integrating Stash Webshop including account linking setup, catalog and assets configuration, and processing events through webhooks. Follow this comprehensive guide to implement your webshop integration. - [Catalog Management](https://docs.stash.gg/guides/stash-webshop/catalog/catalog-management.md): Learn about the two ways to manage your Stash Webshop catalog: Static Managed Catalog for stable, Studio-managed catalogs, and Real-time Catalog for real-time synchronization with your game server. - [Managed Catalog](https://docs.stash.gg/guides/stash-webshop/catalog/managed-catalog.md): Learn how to create and publish products, configure Free Gift offers, and schedule product availability in the Stash Webshop managed catalog. - [Real-time Catalog](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog.md): Learn how to expose REST API endpoints on your game backend to power personalized web shops with real-time offers. This guide covers the Catalog, Player, and Purchase APIs with protobuf-based type-safe integration. - [Endpoints](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/endpoints.md): The Catalog, Purchase, and Player API endpoints your game backend implements for a Real-time Catalog integration, and how Stash calls them. - [Payment Flow](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/payment-flow.md): Understand where the money moves in a Real-time Catalog purchase, why ConfirmPayment is required rather than optional, and which checks only your backend can enforce. - [Catalog Items and Prices](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/items-and-prices.md): The catalog item types, how Stash prices each item, purchase packs, and web store bonuses in a Real-time Catalog response. - [Free Items and Streaks](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/free-items.md): How Stash tracks claims of free items in a Real-time Catalog response, and how streaks tracked by Stash work. - [Localization and Text](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/localization-and-text.md): Localized text, formatted text with inserted values, and the shop banner in a Real-time Catalog response. - [Offer Templates](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/offer-templates.md): Send template and slot names with each offer so rewards, buy buttons, and text land in the template slots meant for them. - [Drop Rate Compliance](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/drop-rates.md): Disclose drop rates and rarity for randomized rewards with info buttons, tooltips, and the offer details popup. - [Caching](https://docs.stash.gg/guides/stash-webshop/catalog/real-time-catalog/caching.md): How long Stash caches your Real-time Catalog response, when it clears the cache, and when to force a catalog refresh. - [Authentication Methods](https://docs.stash.gg/guides/stash-webshop/player-authentication/authentication-methods.md): The three ways players sign in to your Stash webshop: pre-authenticated links your game server generates, Direct Sign-in (SSO) with providers like Google, Apple, or Facebook, and Account Linking through deep links and QR codes. - [Authentication Providers](https://docs.stash.gg/guides/stash-webshop/player-authentication/authentication-providers.md): Learn about the authentication providers supported by Stash including Apple, Google, Facebook, Game Center, Play Games, Amazon Cognito, and custom JWT/OIDC. Understand the credentials needed for each provider and how to configure them in Stash Studio. - [Account Linking](https://docs.stash.gg/guides/stash-webshop/player-authentication/account-linking.md): Learn how to connect a player's webshop session with their game client through account linking. Understand deep link setup, integration steps for different engines, and Unity-specific implementation using the Stash SDK. - [Customize the Webshop Appearance](https://docs.stash.gg/guides/stash-webshop/how-tos/customize-webshop-appearance.md): Learn how to customize appearance settings directly in Stash Studio including brand assets like logos and backgrounds. Understand how to update webshop appearance settings and apply changes immediately. - [Create and Edit Promo Codes](https://docs.stash.gg/guides/stash-webshop/how-tos/create-promo-codes.md): Learn how to create and manage promo codes in Stash Studio. Configure discounts, redemption limits, minimum spend requirements, and duration settings to enable players to apply promotional discounts during checkout. - [Loyalty Program](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty.md): Overview of the Stash loyalty program: how programs, campaigns, tiers, milestones, and rewards fit together, and how your backend receives loyalty state on webshop webhooks. - [Reward Types](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/reward-types.md): The three reward types a Stash loyalty program grants: Loyalty XP, in-game currency, and catalog products (SKU rewards). Each is defined once in Studio and reused across tiers and milestones. - [Tiers](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/tiers.md): How loyalty tiers work: XP thresholds, the stable string tier ID your backend receives on webhooks, per-tier earn rates, and how tier changes are reported on purchase and refund. - [Milestones & Rewards](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/milestones.md): One-time loyalty milestone rewards: how the claim flow works, what a milestone reward can contain, and the two delivery modes (async webhook or synchronous API) Stash uses to hand the reward to your backend. - [Milestone SKU Rewards](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/milestone-sku-rewards.md): Configure a catalog product (SKU) as a milestone reward in Stash Studio: the tabbed reward picker, adding products and reward types inline, the milestone preview, and how SKU rewards appear on the claim webhook. - [Configure in Stash Studio](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/configuration.md): Step-by-step walkthrough for configuring a loyalty program in Stash Studio: reward types, program settings, tiers, milestones, validation rules, and publishing. - [Analytics & App Integration](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/analytics-app-integration.md): Consume loyalty state two ways: process pushed loyalty events through webhooks for analytics and data pipelines, and pull loyalty on demand with the read-only API to show loyalty in-app and enrich offers. - [Refunds & XP Adjustments](https://docs.stash.gg/guides/stash-webshop/how-tos/loyalty/refunds-and-xp.md): How Stash reverses Loyalty XP on refund: proportional clamp-to-zero debit, tier downgrade, and idempotency across partial refunds; plus free-gift XP grants and campaign/season boundary behavior. - [Web Shop Maintenance Mode](https://docs.stash.gg/guides/stash-webshop/how-tos/webshop-maintenance-mode.md): Switch your web shop into and out of maintenance mode from your game server, and read its current state. Players see a maintenance screen instead of the shop until you switch it off. - [About Stash Launcher](https://docs.stash.gg/guides/stash-launcher/about.md): Discover Stash Launcher - a customizable direct-to-consumer distribution platform for delivering PC games directly to players on Windows and macOS. Experience features like custom branding, incremental updates, in-game purchases, community engagement tools, and seamless management through Stash Stud… - [Launcher Concepts](https://docs.stash.gg/guides/stash-launcher/launcher-concepts.md): Learn the core concepts behind Stash Launcher including releases and build management, launcher deployment methods, incremental updates using the wharf protocol, silent self-updating capabilities, player authentication, and in-game purchases with Stash Pay. - [Integrating Stash Launcher](https://docs.stash.gg/guides/stash-launcher/integration.md): Learn how to set up Stash Launcher with no coding required. Customize your launcher's appearance, configure release channels, and upload your first build through an intuitive interface in Stash Studio. - [Manage Builds, Releases, and Channels](https://docs.stash.gg/guides/stash-launcher/build-management/build-management.md): Learn how to organize and distribute your game binaries using Stash Launcher. Understand how to create and update builds, manage channels for different audiences, and control player access with public or restricted configurations. - [Stash CLI](https://docs.stash.gg/guides/stash-launcher/build-management/stash-cli.md): Learn how to use the Stash CLI to integrate build uploads and release management into your pipelines and CI/CD workflows. Download the CLI for Windows or macOS and automate your game distribution. - [Customize Your Launcher's Appearance](https://docs.stash.gg/guides/stash-launcher/how-tos/customize-launcher-appearance.md): Learn how to customize and preview your launcher's appearance in Stash Studio, including general settings like background images, platform-specific configurations for Windows and Mac installers, and the download page customization. - [Launcher Maintenance Mode](https://docs.stash.gg/guides/stash-launcher/how-tos/launcher-maintenance-mode.md): Learn how to enable maintenance mode for your Stash Launcher from Stash Studio or the Stash CLI. Block game downloads and launches during server maintenance while keeping the launcher itself updatable. - [Getting Started](https://docs.stash.gg/api/ingress.md): APIs provided by Stash that your backend can call. - [Abort offers](https://docs.stash.gg/api/ingress/catalog/abortoffers.md): Removes offers from every player's web shop at once, for an offer that has to come down before the catalog cache would drop it (for example a wrong price or wrong contents). Each entry names an offer by the identifier your catalog sends: a purchase pack's id (the whole pack, every price point), a pu… - [Force refresh catalog](https://docs.stash.gg/api/ingress/catalog/forcerefreshcatalog.md): Refreshes a web shop's cached catalog so the next time a player opens the shop it reflects the latest catalog from your game backend. Applies only to shops with a real-time catalog integration; for any other integration it is a no-op that still returns success. You rarely need to call it: the catalo… - [List offer aborts](https://docs.stash.gg/api/ingress/catalog/listofferaborts.md): Lists every active abort for your shop, including aborts made in Stash Studio, newest first. An abort with a version that has expired is not listed. - [Un-abort offers](https://docs.stash.gg/api/ingress/catalog/unabortoffers.md): Removes the aborts each entry names, so those offers show again on each player's next catalog read whenever your Get Catalog response returns them, with no catalog fetched again from your server. An entry removes exactly one abort: an identifier alone removes the abort without a version, and an iden… - [Refresh localizations](https://docs.stash.gg/api/ingress/localization/refreshlocalizations.md): Asks Stash to refresh the shop's localizations from its enabled localization source, for example after the source file changes. The request body is the empty JSON object {}. This method accepts only the versioned x-stash-hmac-signature header, signed over the request body exactly as sent ({}); the l… - [Get loyalty program configuration](https://docs.stash.gg/api/ingress/loyalty/getloyalty.md): Retrieves the shop's active loyalty campaign configuration: its tiers (ordered by starting points) and milestones (ordered by points needed). Returns NOT_FOUND when the shop has no active loyalty campaign. - [Get loyalty configuration](https://docs.stash.gg/api/ingress/loyalty/getloyaltyconfig.md): Retrieves the shop's loyalty configuration in the shape UpdateLoyaltyConfig accepts: display settings, bonus definitions, reward products with their status, every campaign (season) with its status, and the spend conversion table with the rate derived per currency. Product rewards are returned by SKU… - [Get a player's loyalty standing](https://docs.stash.gg/api/ingress/loyalty/getplayerloyalty.md): Retrieves a single player's loyalty standing (points balance, current tier, distance to the next tier and milestone, and effective points multiplier) for the shop's active loyalty campaign. Returns NOT_FOUND when the shop has no active loyalty campaign. - [Configure a loyalty season](https://docs.stash.gg/api/ingress/loyalty/updateloyaltyconfig.md): Creates or updates one loyalty campaign (season) together with the shop-level display settings, bonus definitions and reward products it depends on, optionally sets or removes the program-level spend conversion table, and optionally activates the program. The campaign id is the upsert key: an existi… - [Get payment event by ID](https://docs.stash.gg/api/ingress/payments/getpaymentevent.md): Retrieves payment details by ID. Returns information about items, pricing, and payment status. This is a server-side endpoint and should not be called from the client. - [Convert prices](https://docs.stash.gg/api/ingress/pricing/convertprices.md): Fetches pre-converted prices from the price sheet for the given destination country, applies tax based on region, and optionally applies custom rounding. Returns final prices in minor units and locale-formatted display strings. - [Get prices](https://docs.stash.gg/api/ingress/pricing/getprices.md): Retrieves uploaded pricing sheet data for the shop associated with the API key, filtered by region. Returns paginated price entries. - [List report files](https://docs.stash.gg/api/ingress/reports/listreportfiles.md): Returns one entry for each UTC day in [start_date, end_date] that has a file, in date order, each with a signed GET link to that day's file. A day with no transactions still has a file, with no rows. A day with no entry is a day the export has not written yet, such as the current UTC day or a day wh… - [Generate authenticated URL](https://docs.stash.gg/api/ingress/server-urls/generateauthenticatedurl.md): 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. Authentic… - [Generate Checkout](https://docs.stash.gg/api/ingress/stash-pay/generatequickpayurl.md): Generates a quick payment URL for server-side operations. This endpoint is used internally for creating payment links with user information. - [Create a subscription change checkout link](https://docs.stash.gg/api/ingress/subscription-checkout-links/createsubscriptionchangecheckoutlink.md): 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. - [Create a subscription checkout link](https://docs.stash.gg/api/ingress/subscription-checkout-links/createsubscriptioncheckoutlink.md): Creates a checkout link for purchasing a subscription plan. The link can be shared with users to complete their subscription purchase. - [Get plan by ID](https://docs.stash.gg/api/ingress/subscription-plans/getplan.md): Retrieves a subscription plan by its unique identifier. Returns full plan details including pricing, billing period, and trial configuration. - [Get plan by code](https://docs.stash.gg/api/ingress/subscription-plans/getplanbycode.md): Retrieves a subscription plan by its code (e.g., 'monthly_premium'). Plan codes are unique within a segment. - [List plans](https://docs.stash.gg/api/ingress/subscription-plans/listplans.md): Lists all available subscription plans for a shop. By default returns only active plans. Use the status filter to include archived or deprecated plans. - [Cancel subscription](https://docs.stash.gg/api/ingress/subscriptions/cancelsubscription.md): Cancels a subscription. By default, access continues until the end of the current billing period (cancel_at_period_end=true). A subscription.canceled webhook is sent and the returned subscription has status 'canceled'. For past_due subscriptions, cancellation is immediate: a single subscription.expi… - [Get payments by subscription ID](https://docs.stash.gg/api/ingress/subscriptions/getpaymentsbysubscriptionid.md): Retrieves payments associated with a subscription with pagination support. Returns a list of payment objects including payment ID, amount, currency, a succeeded indicator, and timestamps. Use the `next_page_token` from the response to fetch the next page. - [Get subscription by ID](https://docs.stash.gg/api/ingress/subscriptions/getsubscription.md): Retrieves a subscription by its unique identifier. Returns the full subscription object including status, billing period, and dates. - [List subscriptions](https://docs.stash.gg/api/ingress/subscriptions/listsubscriptions.md): Query subscriptions by player and optionally filter by status. Returns all matching subscriptions for the specified external_account_id. - [Reactivate subscription](https://docs.stash.gg/api/ingress/subscriptions/reactivatesubscription.md): Reactivates a previously canceled subscription. Only valid before the subscription has expired. - [Update subscription](https://docs.stash.gg/api/ingress/subscriptions/updatesubscription.md): Applies one change to a subscription. free_period grants free billing periods that start when the current paid period ends: the subscriber keeps access, is not charged at the next renewal date, and billing resumes at the plan's normal price when the free period ends. A scheduled cancellation is reve… - [Get user preferences](https://docs.stash.gg/api/ingress/user-preferences/getuserpreferences.md): Retrieves the payment channel preference for a specific user. Returns 404 NotFound if no preference is set. - [Set user preferences](https://docs.stash.gg/api/ingress/user-preferences/setuserpreferences.md): Creates or updates the payment channel preference for a user. This is a server-side endpoint and should not be called from the client. - [Get maintenance mode](https://docs.stash.gg/api/ingress/web-shop/getmaintenancemode.md): Returns whether your web shop is in maintenance mode and, while it is, since when. Each shop may make up to 60 calls every 60 seconds; above that it returns 429 with a RetryInfo detail giving how long to wait. This is a server-side endpoint and should not be called from the client. - [Set maintenance mode](https://docs.stash.gg/api/ingress/web-shop/setmaintenancemode.md): Switches your web shop into or out of maintenance mode. While it is on, players see the web shop's maintenance screen instead of the shop: new visits and sign-ins get the maintenance screen once the setting reaches the web shop, normally within about 30 seconds. A page a player already has open swit… - [Approve custom login](https://docs.stash.gg/api/ingress/webshop-account-linking/approvecustomlogin.md): Approves a pending webshop login from your game server. Send the login code the webshop passed to your game, through the login deep link or a QR code, together with the signed-in player as user; Stash then completes the webshop login as that player. Authenticate the request with an HMAC signature of… - [Decline custom login](https://docs.stash.gg/api/ingress/webshop-account-linking/declinecustomlogin.md): Tells Stash that the game will not approve this login code, and why. A declined code can no longer be approved. This is a server-side endpoint and should not be called from the client. - [Force Logout user](https://docs.stash.gg/api/ingress/webshop-account-linking/logoutuser.md): Logs out a user by invalidating their session. This endpoint is typically called when a user signs out of the game or switches to another account. - [Getting Started](https://docs.stash.gg/api/egress.md): APIs you can expose on your game backend server to power a WebShop via Real-time Catalog, and/or StashPay checkout links. - [Get product catalog](https://docs.stash.gg/api/egress/catalog/getcatalog.md): Retrieves the complete product catalog including all purchasable items, offer chains, and non-purchasable display items organized in rows. - [Get offer details](https://docs.stash.gg/api/egress/catalog/getofferdetails.md): Retrieves detailed information about a specific offer, including reward details and tabbed content with structured data tables for each item. - [Get player by ID](https://docs.stash.gg/api/egress/players/getplayer.md): Retrieves an existing player by ID. Returns player information including profile data and in-game currency balances. - [Cancel pending payment](https://docs.stash.gg/api/egress/purchase/cancelpayment.md): Step 2B: Cancels a pending purchase that was previously registered. IMPORTANT: Always expects HTTP 200 OK response with inline error codes in the body. - [Confirm payment completion](https://docs.stash.gg/api/egress/purchase/confirmpayment.md): Step 2A: Confirms and completes a pending purchase that was previously registered. IMPORTANT: Expects HTTP error status (3xx, 4xx, 5xx) codes for failed purchases. A declined purchase should also carry a decline in the response body. Where the checkout supports it, Stash uses the decline's status to… - [Register payment intent](https://docs.stash.gg/api/egress/purchase/registerpayment.md): Step 1: Registers a purchase intent with the game backend. The game backend is expected to reserve inventory for the purchase. IMPORTANT: Always expects HTTP 200 OK response with inline error codes in the body. - [Partner Resources](https://docs.stash.gg/partners.md): Resources and guides for Stash partners, including payment integration, merchant operations, and compliance information. - [Who we are](https://docs.stash.gg/partners/Introduction/company-introduction.md): An introduction to Stash and its Product Suite, outlining how studios use direct distribution, payments, and commerce tools to monetize and distribute games with greater control and less operational overhead. - [Partner Success](https://docs.stash.gg/partners/customer-success/overview.md): Partner onboarding, enablement, and ongoing support resources. - [Payments overview](https://docs.stash.gg/partners/payments/overview.md): Learn how Stash handles payments globally - [Supported Payment Methods](https://docs.stash.gg/partners/payments/supported-payments-methods.md): How Stash surfaces the most relevant, highest-converting payment methods in every market, plus the full country-by-country coverage list. - [Stash as Mor](https://docs.stash.gg/partners/stash-as-your-merchant/stash-as-mor.md): Learn what it means for Stash to act as the Merchant of Record (MoR) and how this role removes financial, operational, tax, and compliance responsibilities from game studios. - [Refunds, disputes and chargebacks](https://docs.stash.gg/partners/stash-as-your-merchant/refunds.md): Learn what it means for Stash to act as the Merchant of Record (MoR) and how this role removes financial, operational, tax, and compliance responsibilities from game studios. - [Compliance, Security and Risk Management](https://docs.stash.gg/partners/stash-as-your-merchant/compliance.md): This article explains how Stash addresses compliance, security, and risk management when acting as the Merchant of Record (MoR). - [Reporting](https://docs.stash.gg/partners/stash-as-your-merchant/reporting.md): This article explains how Stash addresses compliance, security, and risk management when acting as the Merchant of Record (MoR). - [Stash Launcher](https://docs.stash.gg/partners/stash-launcher/overview.md): What Stash sets up for your launcher, how customization works, and how to use the launcher section in Studio. - [Changelog](https://docs.stash.gg/changelog.md): Product updates and improvements from Stash. - [Webshop - A login decline now signs the player out](https://docs.stash.gg/changelog/2026-11-20.md): Product update published November 20, 2026. - [Purchases - ConfirmPayment says whether tax is included](https://docs.stash.gg/changelog/2026-11-16.md): Product update published November 16, 2026. - [Webshop - A login decline can also sign the player out](https://docs.stash.gg/changelog/2026-11-14.md): Product update published November 14, 2026. - [Launcher v0.4.0, Stash Pay Improvements, and Webshop Currency Fix](https://docs.stash.gg/changelog/2026-06-17.md): Product update published June 17, 2026. - [Stash Pay Improvements, Price Management Tooling, and Launcher Runtime Theming](https://docs.stash.gg/changelog/2026-06-11.md): Product update published June 11, 2026. - [Other Studio and Platform Updates](https://docs.stash.gg/changelog/2026-05-29.md): Product update published May 29, 2026. - [Webhooks - Loyalty and Payment Method Updates](https://docs.stash.gg/changelog/2026-05-28.md): Product update published May 28, 2026. - [Subscriptions now support proration](https://docs.stash.gg/changelog/2026-05-14.md): Product update published May 14, 2026. - [Webshop appearance editor — live preview](https://docs.stash.gg/changelog/2026-03-30.md): Product update published March 30, 2026. - [New Unity SDK — opt-in dialog support](https://docs.stash.gg/changelog/2026-02-11.md): Product update published February 11, 2026. - [New region — São Paulo edge added](https://docs.stash.gg/changelog/2026-01-08.md): Product update published January 8, 2026. - [Catalog API — bulk offer endpoint](https://docs.stash.gg/changelog/2025-12-15.md): Product update published December 15, 2025. - [Promo codes — first-time-buyer restriction](https://docs.stash.gg/changelog/2025-11-20.md): Product update published November 20, 2025. - [Unreal SDK 1.4 — IAP refund flow](https://docs.stash.gg/changelog/2025-10-30.md): Product update published October 30, 2025. - [Studio — granular role permissions](https://docs.stash.gg/changelog/2025-10-05.md): Product update published October 5, 2025. - [Checkout — Apple Pay & Google Pay defaults](https://docs.stash.gg/changelog/2025-09-12.md): Product update published September 12, 2025. - [Webhooks — signed payloads with HMAC-SHA256](https://docs.stash.gg/changelog/2025-08-22.md): Product update published August 22, 2025. - [Launcher — custom EULA per build](https://docs.stash.gg/changelog/2025-07-30.md): Product update published July 30, 2025. ## OpenAPI Specs - [egress-openapi](/egress-openapi.json) - [ingress-openapi](/ingress-openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.