# PayNow Docs > Guides for running a PayNow store, and reference documentation for the PayNow API, PayNow.js, webhooks and hosted webstores. PayNow is a commerce platform for game servers and online communities. A store is administered through the Management API, sold from through the Storefront API or a PayNow-hosted webstore, connected to game servers through the Game Server API, and kept in sync with webhooks. PayNow.js embeds the checkout in your own website. ## How to read this site - Pages are served as HTML from https://docs.paynow.gg/. Every page also has a Markdown version: append `.md` to its path, for example https://docs.paynow.gg/getting-started/types-of-authentication.md. The home page is https://docs.paynow.gg/index.md. - The whole site is available as one Markdown file at https://docs.paynow.gg/llms-full.txt. Pages are separated by level-1 headings and each carries a `Source:` line with its HTML URL. - API reference pages have one `##` heading per operation, followed by its description and a fenced JSON block holding a self-contained OpenAPI 3.1 excerpt: the operation plus only the schemas and security schemes it uses. Model pages hold one excerpt per schema. - The complete OpenAPI documents are published by the API itself: - [PayNow Storefront (Headless) API](https://api.paynow.gg/swagger/storefront-api/openapi.json) - [PayNow Management API](https://api.paynow.gg/swagger/management-api/openapi.json) - [PayNow Game Server API](https://api.paynow.gg/swagger/gameserver-api/openapi.json) - [PayNow Webhook Definitions](https://api.paynow.gg/swagger/webhook-definitions/openapi.json) - A sitemap of the HTML pages is at https://docs.paynow.gg/sitemap.xml. ## Authentication at a glance - PayNow Storefront (Headless) API: `Authorization: Customer TOKEN` (Customer token) or `Authorization: APIKey TOKEN` (API Key). - PayNow Management API: `Authorization: APIKey TOKEN` (API Key). - PayNow Game Server API: `Authorization: Gameserver TOKEN` (Game server token). - Webhook deliveries are signed. Verify the signature and timestamp before trusting a payload: [Validating Incoming Webhooks](https://docs.paynow.gg/webhooks/validating-incoming-webhooks.md). API keys are created in the dashboard at https://dashboard.paynow.gg/api-keys. Customer and game server tokens are issued from the dashboard or through the Management API. [Types of Authentication](https://docs.paynow.gg/getting-started/types-of-authentication.md) explains when to use each. ## Guides For store owners. Open a store, build your catalogue, connect your game servers and Discord, and get paid. Written for the dashboard, no code required. ### Guides Open a store, add a product, set up payouts, pass store review and go live. - [Welcome to PayNow](https://docs.paynow.gg/guides/getting-started/welcome-to-paynow.md): PayNow is a merchant of record and storefront platform for game servers and online communities, and these guides cover opening a store through to getting paid. - [Creating a Store](https://docs.paynow.gg/guides/getting-started/creating-a-store.md): Open a store, then work through the six onboarding steps to launch it. - [Your First Product](https://docs.paynow.gg/guides/getting-started/your-first-product.md): A ten-minute walkthrough that takes you from an empty catalogue to a tested, purchasable product. - [Migrating from Another Platform](https://docs.paynow.gg/guides/getting-started/migrating-from-another-platform.md): Import your products and categories from Tebex, and understand exactly what does and does not come across. - [Setting Up Your Payout Account](https://docs.paynow.gg/guides/getting-started/payout-account.md): Set up how PayNow pays you, including the payouts-only path for affiliates who do not run a store. - [Tax Forms](https://docs.paynow.gg/guides/getting-started/tax-forms.md): The tax form step in payout onboarding, why it exists, and the practical reasons submissions get rejected. - [Store Review](https://docs.paynow.gg/guides/getting-started/store-review.md): What PayNow's compliance team checks before a store can go live, and what is not allowed. - [Going Live Checklist](https://docs.paynow.gg/guides/getting-started/going-live-checklist.md): Everything that must be true before you switch your store into live mode. - [Test Environment](https://docs.paynow.gg/guides/getting-started/test-environment.md): A separate PayNow environment, running the same code as production, for developers testing integrations away from real stores. ### Products The catalogue: creating and duplicating products, bulk assignment, tier groups, revoking and expiry. - [Products](https://docs.paynow.gg/guides/products/products.md): The Products list, how the catalogue is organised, and where to go for each task. - [Creating a Product](https://docs.paynow.gg/guides/products/creating-a-product.md): The complete field reference for building a product, covering details, delivery, lifetime, stock, upsells and metadata. - [Duplicating a Product](https://docs.paynow.gg/guides/products/duplicating-a-product.md): Copy an existing product to build variants quickly without rebuilding every field. - [Bulk Assigning Products](https://docs.paynow.gg/guides/products/bulk-assigning-products.md): Grant a product to many customers at once, for compensation, giveaways, or migrating existing perks. - [Tier Groups](https://docs.paynow.gg/guides/products/tier-groups.md): Group products into a ranked ladder so customers upgrading between tiers pay only the difference. - [Revoking and Expiry](https://docs.paynow.gg/guides/products/revoking-and-expiry.md): Common questions about packages, covering revoking, expiry, subscriptions and deliverable actions. ### Orders & Subscriptions Every transaction on the store, recurring billing, and free trials. - [Orders](https://docs.paynow.gg/guides/orders-and-subscriptions/orders.md): Every transaction on your store, with the full detail behind each one. - [Subscriptions](https://docs.paynow.gg/guides/orders-and-subscriptions/subscriptions.md): View and manage recurring billing, including renewals, cancellations and what customers can do themselves. - [Trials](https://docs.paynow.gg/guides/orders-and-subscriptions/trials.md): Give customers a free period before billing starts, with cooldown rules to stop trial farming. ### Customers Looking customers up, managing their inventory and orders, creating them manually, and bans. - [Customers](https://docs.paynow.gg/guides/customers/customers.md): Everyone who has interacted with your store, and how to look them up. - [Managing Customers](https://docs.paynow.gg/guides/customers/managing-customers.md): The customer detail page, covering stats, inventory, orders, subscriptions, metadata and bans. - [Creating a Customer Manually](https://docs.paynow.gg/guides/customers/creating-a-customer.md): Add someone to your store before they have ever logged in, for giveaways, coupons and comped access. - [Bans](https://docs.paynow.gg/guides/customers/bans.md): Stop someone purchasing from your store, by account, name, Steam ID, IP or payment email. ### Your Webstore The PayNow-hosted storefront: templates, tags, navlinks and branding. - [Webstore](https://docs.paynow.gg/guides/your-webstore/webstore.md): Your PayNow-hosted storefront, its address, its custom domain, its templates and its modules. - [Templates](https://docs.paynow.gg/guides/your-webstore/templates.md): Create, upload, preview and activate webstore templates, including running an existing Tebex template through compatibility mode. - [Editing Template Files](https://docs.paynow.gg/guides/your-webstore/editing-template-files.md): Webstore templates are Twig, and this is the reference for routes, template files, variables and modules. - [Tags](https://docs.paynow.gg/guides/your-webstore/tags.md): Group products into categories customers can browse, and the prerequisite for navlinks. - [Navlinks](https://docs.paynow.gg/guides/your-webstore/navlinks.md): Turn tags into navigation bar buttons, reorder them, and nest them into dropdowns. - [Branding](https://docs.paynow.gg/guides/your-webstore/branding.md): Put your logo and colours on your store and checkout so customers recognise where they are. ### Marketing Sales, coupons, gift cards, affiliate links, upselling, abandoned checkouts and purchase follow-ups. - [Sales](https://docs.paynow.gg/guides/marketing/sales.md): Run a time-limited discount across your catalogue, specific products, or a tag. - [Coupons](https://docs.paynow.gg/guides/marketing/coupons.md): Discount codes with limits, requirements and multi-month durations, for giveaways, targeting and win-backs. - [Gift Cards](https://docs.paynow.gg/guides/marketing/gift-cards.md): Issue store credit with a balance customers can spend across purchases. - [Affiliate Links](https://docs.paynow.gg/guides/marketing/affiliate-links.md): Pay creators and community members a commission for sales they refer, tracked by code or URL. - [Upselling](https://docs.paynow.gg/guides/marketing/upselling.md): Offer additional products at checkout to raise order value without adding friction. - [Abandoned Checkouts](https://docs.paynow.gg/guides/marketing/abandoned-checkouts.md): Automatically email a discount coupon to customers who left without completing their purchase. - [Purchase Follow-Ups](https://docs.paynow.gg/guides/marketing/purchase-follow-ups.md): Email a discount coupon to customers after a successful purchase to bring them back for a second one. ### Integrations & Commands Game servers, delivery commands and placeholders, Discord, delivery methods, webhooks and API keys. - [Game Servers](https://docs.paynow.gg/guides/integrations-and-commands/game-servers.md): Connect your game server so PayNow can deliver purchases automatically. - [Commands & Placeholders](https://docs.paynow.gg/guides/integrations-and-commands/commands.md): How commands deliver a purchase to your game server, and every placeholder you can put in one. - [Global Commands](https://docs.paynow.gg/guides/integrations-and-commands/global-commands.md): Commands that run for every product on a given event — purchase, expiry, renewal, refund or chargeback. - [Custom Variables](https://docs.paynow.gg/guides/integrations-and-commands/custom-variables.md): Collect input from customers at checkout, such as a colour or a name, and use it in commands. - [Resending Commands](https://docs.paynow.gg/guides/integrations-and-commands/resending-commands.md): Re-run a failed delivery command for a customer's purchase. - [Discord Servers](https://docs.paynow.gg/guides/integrations-and-commands/discord-servers.md): Link your Discord server so purchases can grant roles, kick, ban or issue invites. - [Discord Linking](https://docs.paynow.gg/guides/integrations-and-commands/discord-linking.md): Assign Discord roles automatically on purchase, and understand when roles are removed. - [Delivery Methods](https://docs.paynow.gg/guides/integrations-and-commands/delivery-methods.md): How PayNow delivers what you sell, and how to set up delivery when you are not running a game server. - [Webhooks](https://docs.paynow.gg/guides/integrations-and-commands/webhooks.md): Send store events to Discord as embeds, or to your own systems as JSON. - [Discord Placeholders](https://docs.paynow.gg/guides/integrations-and-commands/discord-placeholders.md): Every placeholder available in Discord webhook embeds, organised by what each event actually adds. - [Steam Templates](https://docs.paynow.gg/guides/integrations-and-commands/steam-templates.md): Ready-made Discord embed templates for Steam-based stores, ready to copy and paste. - [Minecraft Templates](https://docs.paynow.gg/guides/integrations-and-commands/minecraft-templates.md): Ready-made Discord embed templates for Minecraft stores, ready to copy and paste. - [API Keys](https://docs.paynow.gg/guides/integrations-and-commands/api-keys.md): Create and manage API tokens for headless storefronts, imports and automation. - [AI Assistants (MCP)](https://docs.paynow.gg/guides/integrations-and-commands/ai-assistants.md): Connect your AI Assistant such as Claude, ChatGPT, Codex or Cursor to your store so it can look things up and make changes for you. ### Payments & Payouts Withdrawing earnings, the transaction ledger, account versus store payouts, payout problems and billing. - [Payouts](https://docs.paynow.gg/guides/payments-and-payouts/payouts.md): Withdraw your earnings, and track each payout through to settlement. - [Transactions](https://docs.paynow.gg/guides/payments-and-payouts/transactions.md): Every transaction saved to your payout account, with a full fee breakdown and CSV export. - [Account vs Store Payouts](https://docs.paynow.gg/guides/payments-and-payouts/account-vs-store-payouts.md): Payout accounts belong to accounts, not stores, which changes what multi-store owners and teams should expect. - [Payout Problems](https://docs.paynow.gg/guides/payments-and-payouts/payout-problems.md): Switching payout method, paying into a bank in another country, and what to do when a payout has not arrived. - [Billing](https://docs.paynow.gg/guides/payments-and-payouts/billing.md): Your PayNow plan, billing details and invoices, meaning what PayNow charges you. ### Analytics The dashboard headline numbers and volume and recurring-payment reporting. - [Dashboard](https://docs.paynow.gg/guides/analytics/dashboard.md): The headline numbers for your store, covering lifetime sales, today, this month, and average order value. - [Analytics](https://docs.paynow.gg/guides/analytics/analytics.md): Volume and recurring-payment reporting that shows when your customers buy, what they buy, and whether subscribers are staying. ### Store Settings Store details and payment methods, adaptive currency, team members, ownership transfer, roles and permissions. - [Settings](https://docs.paynow.gg/guides/store-settings/store.md): Store details, platform, integration type, payment methods, card restrictions and promo stacking. - [Adaptive Currency](https://docs.paynow.gg/guides/store-settings/adaptive-currency.md): Show and charge prices in your customer's local currency, at no cost and no FX risk to you. - [Team Members](https://docs.paynow.gg/guides/store-settings/team-members.md): Invite staff to your store and control what they can do. - [Transfer Store Ownership](https://docs.paynow.gg/guides/store-settings/transfer-ownership.md): How to hand a store to a new owner, what PayNow needs from both people, and what does not move with it. - [Roles](https://docs.paynow.gg/guides/store-settings/roles.md): Build named permission sets to assign to team members. - [Permissions](https://docs.paynow.gg/guides/store-settings/permissions.md): Every permission you can assign to a role, grouped by area, with the risky ones flagged. ### Your Account Your personal PayNow account: profile, security, two-factor authentication and passkeys. - [Profile & General Settings](https://docs.paynow.gg/guides/your-account/general.md): Your personal PayNow account, distinct from any store you own or belong to. - [Security, 2FA & Passkeys](https://docs.paynow.gg/guides/your-account/security.md): Protect the account that owns your store with a password, two-factor authentication and passkeys. ### For Your Players Help for customers: managing subscriptions, refunds and cancellations, undelivered purchases and payment problems. - [Managing Your Subscriptions](https://docs.paynow.gg/guides/for-your-players/manage-my-subscriptions.md): For customers, how to view, manage and cancel your PayNow subscriptions, and how refunds work. - [Refunds and Cancellations](https://docs.paynow.gg/guides/for-your-players/refunds-and-cancellations.md): For customers, how to request a refund on PayNow, who reviews it, and how to cancel a subscription. - [Purchase Not Delivered](https://docs.paynow.gg/guides/for-your-players/purchase-not-delivered.md): For customers, what to do when you paid for something in a game store and it did not arrive. - [Payment Problems](https://docs.paynow.gg/guides/for-your-players/payment-problems.md): For customers, what to do when a card is declined, a crypto payment does not arrive, or checkout will not complete. ### Reference Feature availability by plan, working out whether PayNow is down, and the glossary. - [Why can't I see a feature?](https://docs.paynow.gg/guides/reference/feature-availability.md): Why a feature you read about isn't in your dashboard, and what each plan includes. - [Is It Down?](https://docs.paynow.gg/guides/reference/is-it-down.md): How to tell whether a problem is on your side, your host's, or PayNow's, and what to report. - [Glossary](https://docs.paynow.gg/guides/reference/glossary.md): PayNow terms, and the distinctions that cause the most confusion. ## Developers For developers. Build a headless storefront, automate your store, deliver purchases from your game servers, and react to events with webhooks. ### Developers How the APIs are split, which credential each one needs, and how IDs and error responses look. - [Introduction](https://docs.paynow.gg/getting-started/introduction.md): Welcome to the official PayNow API documentation. - [Overview](https://docs.paynow.gg/getting-started/overview.md): The PayNow API can be used both from a store management perspective, as well as a customer's perspective. - [Management vs Storefront APIs](https://docs.paynow.gg/getting-started/management-vs-storefront-apis.md): The PayNow API can be divided into two groups of routes: Management and Storefront. The Management API is used for store management and can be accessed by... - [Types of Authentication](https://docs.paynow.gg/getting-started/types-of-authentication.md): The PayNow API can be used both from a store management perspective, as well as a customer's perspective. - [Authentication](https://docs.paynow.gg/getting-started/authentication.md): PayNow's API is reachable by an HTTPS/REST gateway for serving requests using JSON. - [Flake IDs](https://docs.paynow.gg/getting-started/flake-ids.md): PayNow uses Snowflake IDs (shorted to "flake" in our system) for everything that requires a unique identifier. These IDs are unique across the entire system. - [Error Response](https://docs.paynow.gg/getting-started/error-response.md): list of validation errors, only used for certain APIs ### Storefront API The customer-facing headless store API: products, carts, checkout sessions, orders and subscriptions. Safe to call from browsers with a customer token. - [Overview](https://docs.paynow.gg/storefront-api.md): Reference for the PayNow Storefront (Headless) API: Cart, Checkout, Customer, Delivery, Discord, Navlinks, Orders, Products, Store, Subscriptions, Tags and… - [Cart](https://docs.paynow.gg/storefront-api/cart.md): Cart endpoints in the PayNow Storefront (Headless) API: Get cart, Clear cart, Add product to cart, Create a cart checkout session. - [Checkout](https://docs.paynow.gg/storefront-api/checkout.md): Checkout endpoints in the PayNow Storefront (Headless) API: Create a checkout session. - [Customer](https://docs.paynow.gg/storefront-api/customer.md): Customer endpoints in the PayNow Storefront (Headless) API: Authenticate customer, Get current customer, Lookup a gift card by the code. - [Delivery](https://docs.paynow.gg/storefront-api/delivery.md): Delivery endpoints in the PayNow Storefront (Headless) API: Get the customers delivery items. - [Discord](https://docs.paynow.gg/storefront-api/discord.md): Discord endpoints in the PayNow Storefront (Headless) API: Do Products Have Discord Actions. - [Navlinks](https://docs.paynow.gg/storefront-api/navlinks.md): Navlinks endpoints in the PayNow Storefront (Headless) API: Get navlinks. - [Orders](https://docs.paynow.gg/storefront-api/orders.md): Orders endpoints in the PayNow Storefront (Headless) API: Get orders, Get order by ID. - [Products](https://docs.paynow.gg/storefront-api/products.md): Products endpoints in the PayNow Storefront (Headless) API: Get products, Get product by ID or slug. - [Store](https://docs.paynow.gg/storefront-api/store.md): Store endpoints in the PayNow Storefront (Headless) API: Get current store. - [Subscriptions](https://docs.paynow.gg/storefront-api/subscriptions.md): Subscriptions endpoints in the PayNow Storefront (Headless) API: Get subscriptions, Get subscription by ID, Cancel subscription by ID. - [Tags](https://docs.paynow.gg/storefront-api/tags.md): Tags endpoints in the PayNow Storefront (Headless) API: Get tags. - [Tier Groups](https://docs.paynow.gg/storefront-api/tier-groups.md): Tier Groups endpoints in the PayNow Storefront (Headless) API: Get customer tier groups, Update subscription tier group, Preview update subscription tier group. - [Models](https://docs.paynow.gg/storefront-api/models.md): The 91 object models used by the PayNow Storefront (Headless) API: ActorDto, AuthenticateStorefrontCustomerRequestDto,… ### Management API Server-side store administration with an API key: products, coupons, customers, orders, payments, delivery and store settings. - [Overview](https://docs.paynow.gg/management-api.md): Reference for the PayNow Management API: Affiliate Links, Bans, Chargebacks, Checkout, Checkout Style, Coupons, Custom Variables, Customer Portal Sessions,… - [Affiliate Links](https://docs.paynow.gg/management-api/affiliate-links.md): Affiliate Links endpoints in the PayNow Management API: Get affiliate links, Create affiliate link, Get affiliate link by ID, Update affiliate link by ID,… - [Bans](https://docs.paynow.gg/management-api/bans.md): Bans endpoints in the PayNow Management API: Get bans, Create ban, Get ban by ID, Update ban by ID, Delete ban by ID, Check for ban by identities. - [Chargebacks](https://docs.paynow.gg/management-api/chargebacks.md): Chargebacks endpoints in the PayNow Management API: Get chargebacks, Get chargeback by ID. - [Checkout](https://docs.paynow.gg/management-api/checkout.md): Checkout endpoints in the PayNow Management API: Create a checkout session. - [Checkout Style](https://docs.paynow.gg/management-api/checkout-style.md): Checkout Style endpoints in the PayNow Management API: Get store checkout style, Update store checkout style, Delete checkout background image. - [Coupons](https://docs.paynow.gg/management-api/coupons.md): Coupons endpoints in the PayNow Management API: Get coupons, Create coupon, Get coupon by ID, Update coupon by ID, Delete coupon by ID. - [Custom Variables](https://docs.paynow.gg/management-api/custom-variables.md): Custom Variables endpoints in the PayNow Management API: Get custom variables, Create custom variable, Get custom variable, Update custom variable, Delete… - [Customer Portal Sessions](https://docs.paynow.gg/management-api/customer-portal-sessions.md): Customer Portal Sessions endpoints in the PayNow Management API: Create a customer portal session. - [Customers](https://docs.paynow.gg/management-api/customers.md): Customers endpoints in the PayNow Management API: Get customers, Create customer, Get customer by ID, Update customer, Create customer token, Invalidate… - [Data Migrations](https://docs.paynow.gg/management-api/data-migrations.md): Data Migrations endpoints in the PayNow Management API: Get data migrations, Start Data Migration From Tebex. - [Delivery](https://docs.paynow.gg/management-api/delivery.md): Delivery endpoints in the PayNow Management API: Get delivery items associated with an order, Returns delivery items in which an associated command attempt is… - [Discord](https://docs.paynow.gg/management-api/discord.md): Discord endpoints in the PayNow Management API: Get product version Discord actions, Set product version Discord actions, Get linked Discord accounts, Get… - [Downloadable Files](https://docs.paynow.gg/management-api/downloadable-files.md): Downloadable Files endpoints in the PayNow Management API: Get downloadable files, Start Downloadable File Upload, Finish Downloadable File Upload, Create… - [Game Servers](https://docs.paynow.gg/management-api/game-servers.md): Game Servers endpoints in the PayNow Management API: Get the associated console for a game server., Create a console for a game server., Update a console for… - [Gift Cards](https://docs.paynow.gg/management-api/giftcards.md): Gift Cards endpoints in the PayNow Management API: Get Gift Cards for a store, Create a Gift Card for a store, Get a Gift Card By ID for a store, Update a… - [Global Commands](https://docs.paynow.gg/management-api/global-commands.md): Global Commands endpoints in the PayNow Management API: Get global commands, Create global command, Update global command, Delete global command. - [Invites](https://docs.paynow.gg/management-api/invites.md): Invites endpoints in the PayNow Management API: Get invites, Create an invite, Get an invite, Cancel an invite. - [Invoices](https://docs.paynow.gg/management-api/invoices.md): Invoices endpoints in the PayNow Management API: Get invoices, Download invoice. - [Marketing](https://docs.paynow.gg/management-api/marketing.md): Marketing endpoints in the PayNow Management API: Get email templates, Create email template, Get email template by ID, Update email template by ID, Delete… - [Media](https://docs.paynow.gg/management-api/media.md): Media endpoints in the PayNow Management API: List media, Get media asset, Delete media asset, Start media upload, Finish media upload. - [Navlinks](https://docs.paynow.gg/management-api/navlinks.md): Navlinks endpoints in the PayNow Management API: Get all NavLinks for a store, Create a new NavLink for a store, Get a NavLink by ID for a store, Update a… - [Orders](https://docs.paynow.gg/management-api/orders.md): Orders endpoints in the PayNow Management API: Get orders, Get order by ID, Get refunds for order, Refund order by ID. - [Payment Method Types](https://docs.paynow.gg/management-api/payment-method-types.md): Payment Method Types endpoints in the PayNow Management API: Get store payment method types, Toggle a store payment method type, Request approval for a store… - [Payment Settings](https://docs.paynow.gg/management-api/payment-settings.md): Payment Settings endpoints in the PayNow Management API: Get store payment settings, Updates store payment settings. - [Payments](https://docs.paynow.gg/management-api/payments.md): Payments endpoints in the PayNow Management API: Get payments, Get payment by ID. - [Product Dependent Migrations](https://docs.paynow.gg/management-api/product-dependent-migrations.md): Product Dependent Migrations endpoints in the PayNow Management API: Get Product Dependent Migrations, Create Product Dependent Migration, Get Product… - [Products](https://docs.paynow.gg/management-api/products.md): Products endpoints in the PayNow Management API: Get products, Create product, Get product, Update product, Delete product, Update product sort order, Delete… - [Regional Pricing](https://docs.paynow.gg/management-api/regional-pricing.md): Regional Pricing endpoints in the PayNow Management API: Get product pricing regions, Update product pricing region, Get store pricing regions, Update store… - [Roles](https://docs.paynow.gg/management-api/roles.md): Roles endpoints in the PayNow Management API: Get Roles, Create Role, Get Available Permissions, Get Role, Update Role, Delete Role. - [Sales](https://docs.paynow.gg/management-api/sales.md): Sales endpoints in the PayNow Management API: Get sales associated with a store., Create a sale by ID for a store, Get a sale by ID for a store, Update a sale… - [Store](https://docs.paynow.gg/management-api/store.md): Store endpoints in the PayNow Management API: Get stores, Get a store, Update a store, List store members, Get store member permissions, Update a store… - [Subscriptions](https://docs.paynow.gg/management-api/subscriptions.md): Subscriptions endpoints in the PayNow Management API: Get subscriptions, Get subscription by ID, Cancel subscription by ID, Stop pending subscription… - [Tags](https://docs.paynow.gg/management-api/tags.md): Tags endpoints in the PayNow Management API: Get all tags for a store, Create a new tag, Get a tag by an ID, Update a tag by ID, Delete a tag by ID, Delete… - [Tier Groups](https://docs.paynow.gg/management-api/tier-groups.md): Tier Groups endpoints in the PayNow Management API: List all tier groups for a store, Create a new tier group, Get a tier group by ID, Update a tier group by… - [Trials](https://docs.paynow.gg/management-api/trials.md): Trials endpoints in the PayNow Management API: Get trials for a store, Get a trial by ID for a store, Get trial eligibility overrides for a specific customer,… - [Upsell Settings](https://docs.paynow.gg/management-api/upsell-settings.md): Upsell Settings endpoints in the PayNow Management API: Get store upselling settings, Updates store upselling settings. - [Webhooks](https://docs.paynow.gg/management-api/webhooks.md): Webhooks endpoints in the PayNow Management API: Get webhooks, Create webhook, Get webhook variables, Update webhook by ID, Delete webhook by ID, Resend… - [Webstore](https://docs.paynow.gg/management-api/webstore.md): Webstore endpoints in the PayNow Management API: Install marketplace template, Get webstore modules, Create webstore module, Update webstore module, Delete… - [Models](https://docs.paynow.gg/management-api/models.md): The 456 object models used by the PayNow Management API: AbandonedCheckoutStoreConfigurationCommandDto, AbandonedCheckoutStoreConfigurationDto,… ### Gameserver API Called from your game servers with a game server token to fetch and confirm the commands and items customers have bought. - [Overview](https://docs.paynow.gg/gameserver-api.md): Reference for the PayNow Game Server API: Delivery endpoints. - [Delivery](https://docs.paynow.gg/gameserver-api/delivery.md): Delivery endpoints in the PayNow Game Server API: Retrieve the queue of commands to execute for a Gameserver, Retrieve the queued commands, while supplying… - [Models](https://docs.paynow.gg/gameserver-api/models.md): The 16 object models used by the PayNow Game Server API: AddressFamily, FlakeId, GameServerEventDto, GetQueuedCommandsWithOnlinePlayersRequestDto, IPAddress,… ### SDKs Official client libraries that wrap the APIs with typed methods. TypeScript today. - [TypeScript](https://docs.paynow.gg/sdks/typescript.md): The official PayNow TypeScript SDK wraps the Management and Storefront APIs with typed clients, and works from plain JavaScript too. ### PayNow.js Embed the PayNow checkout in your own website instead of redirecting to the hosted checkout. - [About PayNow.js](https://docs.paynow.gg/paynow-js/about-paynow-js.md): PayNow.js is an embeddable library that allows you to accept payments on your own website without redirecting to the PayNow checkout. - [Checkouts](https://docs.paynow.gg/paynow-js/checkouts.md): Once you've embedded PayNow.js in your website - you can easily open and manage checkout lifecycles. ### Webhooks Signed HTTP events for orders, payments, refunds, subscriptions and deliveries, plus the payload reference for every event type. - [Webhooks Introduction](https://docs.paynow.gg/webhooks/webhooks-introduction.md): Webhooks provide a powerful way for your application to receive real-time updates from the PayNow API. Instead of polling for changes, you can subscribe to... - [Validating Incoming Webhooks](https://docs.paynow.gg/webhooks/validating-incoming-webhooks.md): To verify the HMAC signature included in the webhook payload, follow these steps: - [Preventing Replay Attacks](https://docs.paynow.gg/webhooks/preventing-replay-attacks.md): To prevent replay attacks, ensure that you check the timestamp included in the request and ignore webhook notifications with older timestamps. Here's how to... - [Integration Implementation Examples](https://docs.paynow.gg/webhooks/integration-implementation-examples.md) - [Events](https://docs.paynow.gg/webhooks/events.md): Webhook events in the PayNow Webhook Definitions: Triggered when a chargeback is created, Triggered when a chargeback is resolved, Triggered when a chargeback… - [Models](https://docs.paynow.gg/webhooks/models.md): The 17 object models used by the PayNow Webhook Definitions: CheckoutDTO, CheckoutLineDTO, CustomerDTO, GameServerDTO, GenericProfileDTO,… ### Hosted Webstores Customising a PayNow-hosted storefront: the routes it serves, the Twig template variables, and the modules templates can use. - [Introduction](https://docs.paynow.gg/hosted-webstores/introduction.md): A hosted webstore is a complete store website that PayNow builds, hosts and serves for you, customised through Twig templates. - [Routes](https://docs.paynow.gg/hosted-webstores/routes.md): This section outlines all HTTP routes supported by the webstore, including the associated template, method, and query parameters for each. - [Variables](https://docs.paynow.gg/hosted-webstores/variables.md): For further details on template syntax and filters, refer to the official Twig documentation. - [Modules](https://docs.paynow.gg/hosted-webstores/modules.md): To incorporate any module into your webstore template: ### Self-Hosted Webstores Building a headless store on your own site. Signing customers in, carts and checkout, PayNow.js, gifting and account pages. - [Introduction](https://docs.paynow.gg/self-hosted-webstores/introduction.md): Sell your PayNow products from a website you build and host yourself, with PayNow handling payment, tax, delivery and subscriptions behind it. - [Building a Storefront](https://docs.paynow.gg/self-hosted-webstores/building-a-storefront.md): Build a custom store on your own website: which APIs, credentials and libraries you need, and the order to wire them up in. Start here. - [Signing Customers In](https://docs.paynow.gg/self-hosted-webstores/signing-customers-in.md): How a custom storefront identifies a customer and gets a customer token, for Steam stores and for Minecraft stores. - [Carts and Checkout](https://docs.paynow.gg/self-hosted-webstores/carts-and-checkout.md): Reading prices, keeping a cart, creating a checkout session and opening it, either by redirect or embedded in your page with PayNow.js. - [Gifting](https://docs.paynow.gg/self-hosted-webstores/gifting.md): Letting a customer buy a product for another player: the gift parameters on cart and checkout lines, what can be gifted, and how to show the recipient. - [Account Pages](https://docs.paynow.gg/self-hosted-webstores/account-pages.md): What a signed-in customer can see and do on your site: their profile, current items, subscriptions with cancel, and order history. - [API Behaviour Notes](https://docs.paynow.gg/self-hosted-webstores/storefront-api-notes.md): Behaviours of the Storefront and Management APIs that the endpoint reference does not spell out. ## Notes for agents - When pointing someone at a page, give the HTML URL without `.md`; the Markdown version is for reading. - Every identifier is a Flake ID, a string snowflake that is unique across PayNow. See [Flake IDs](https://docs.paynow.gg/getting-started/flake-ids.md). - Errors share one response shape. See [Error Response](https://docs.paynow.gg/getting-started/error-response.md). - PayNow is in beta and the API can change. This site is regenerated from the live OpenAPI documents, so the reference pages and excerpts reflect the current API.