Skip to Content
StagePayDocs v2

StagePay Developer Docs

Integration guide for StagePay, the global payment gateway for games and apps. Covers opening the checkout, verifying signed callbacks, USDT payments, refunds, the REST API, and settlement.

StagePay is a global payment gateway for games and apps. With a single checkout URL (or a single server-to-server API call), merchants can accept payments through multiple PGs such as KCP, Toss, Stripe, MyCard, and EBANX, as well as USDT (stablecoin) payments. When a payment is confirmed, the merchant receives an HMAC-SHA256-signed callback and grants the item.

These are the v2 docs

These docs cover StagePay v2 (signed callbacks, pending transactions, USDT, settlement v2). If you are migrating from v1, first review the Summary and Migration sections of the Changelog.

Where to start

Integration flow at a glance

Customer (game/app)    Merchant server               StagePay                    PG / blockchain
     │  Buy button         │                            │                               │
     │────────────────────▶│ Build checkout URL         │                               │
     │◀────────────────────│ (or POST /api/v1/payments) │                               │
     │  Open checkout ─────────────────────────────────▶│ Create pending transaction    │
     │                     │                            │──── Payment request ─────────▶│
     │  Pay ◀──────────────────────────────────────────────────────────────────────────▶│
     │                     │                            │◀─── Result / server check ────│
     │                     │◀── Signed callback (POST) ─│ Transition to success (once)  │
     │                     │── 2xx response ───────────▶│                               │
     │  /return result ◀─────────────────────────────│ (sent to app via postMessage) │
     │                     │ Grant item                 │                               │
  • The callback (server-to-server) is the source of truth for payment confirmation. Browser redirects and /return results are for display only and must not be used as the basis for granting items.
  • Callbacks are retried up to 8 times until a 2xx response is received. Callbacks for the same payment share the same X-StagePay-Delivery value, so you can prevent duplicate grants.

Supported scope

CategoryDetails
PGsKCP, TOSS, STRIPE, MYCARD, ENJOYPAY, WEBPAY, EBANX, ONEONE
CryptocurrencyUSDT — TRC20, ERC20, BEP20, POLYGON
Payment currenciesKRW, USD, JPY, TWD, EUR, BRL, MXN, and more (varies by PG; see Payment methods and country support)
Integration optionsCheckout URL, server-to-server payment creation API, in-app WebView (React Native · iOS · Android · Unity)
Operations toolsMerchant console (transactions, logs, API keys, webhook secrets), REST API v1, settlement reports (CSV)

Using these docs with AI agents

These docs are also available in LLM-friendly formats.

  • /llms.txt — Table of contents for all docs plus a summary of key facts
  • /llms-full.txt — Full text of all docs (English + Korean)
  • Append .md to any page URL to get the raw Markdown. Example: /en/getting-started/quickstart.md

On this page