Skip to content
StagePay

Solutions · Games & apps

From payment to item delivery, without gaps

Open the checkout in an in-game WebView and deliver items only on callbacks verified by the server. Region-specific payment methods are handled behind the same checkout.

Example: In-app payment
9:415G
In-app paymentExample
StagePay · Checkout

100 Gems

₩33,000

Pay

Result message (for the UI only)

{ "type": "STAGEPAY_RESULT",
  "status": "success",
  "transactionId": "KCP-…0f1e2d3c" }

Confirming payment

The problem

Common accidents in game payments

  • Delivering on client results

    If items are granted on the checkout's success message alone, a forged message grants items too.

  • Double delivery

    When a callback retry or repeated taps process the same payment twice, the item goes out twice.

  • Different methods in every country

    Bolting on regional payment methods one PG at a time splits your delivery logic per PG as well.

Features

A payment flow built for games

  1. In-app WebView checkout

    Open the /inapp method picker or the checkoutUrl from your server in a WebView. When payment finishes, the result page sends a result message to React Native, iOS, Android, popups and iframes, so you just close the WebView and show a 'confirming payment' screen.

    • iOS and Android bridge name: GamePotStagePay
    • If status is pending, wait for the callback (USDT, virtual accounts and similar)
    • Unity: external browser plus a server lookup, or a WebView plugin bridge
    React Native WebViewtsx
    <WebView
      source={{ uri: checkoutUrl }}
      onMessage={(event) => {
        let data
        try { data = JSON.parse(event.nativeEvent.data) } catch { return }
        if (data?.type !== "STAGEPAY_RESULT") return
        closeCheckout()
        waitForServerResult(data.transactionId)
      }}
    />
  2. Deliver items on callbacks only

    The signed callback your server receives is the basis for delivery. After checking the signature and timestamp, deliver only if transactionStatus, amountMinor, currency and productId match the order, and process each delivery ID once.

    • Deliver on payment.succeeded with transactionStatus success
    • Compare amounts with amountMinor, not amount (display only)
    • Handle payment.refunded according to your clawback policy
    Deciding to deliver an item (Node.js)node
    export async function onPaymentSucceeded(db, deliveryId, event) {
      if (event.event !== "payment.succeeded") return "ignored"
      if (event.transactionStatus !== "success") return "ignored"
      const order = await db.findOrderByTid(event.tid)
      const matches =
        order &&
        order.productId === event.productId &&
        order.currency === event.currency &&
        String(order.amountMinor) === String(event.amountMinor)
      if (!matches) return "mismatch"
      return db.grantOnce(deliveryId, order)
    }
  3. Product purchase limits

    The checkout checks the conditions of limited and event products before payment. Requests outside the conditions are rejected before payment starts.

    • Sale start and end time (in the product's time zone)
    • Total sales, per-user sales and daily purchase limits
    • For limited products, repurchase is blocked for 30 minutes while a payment is in progress
    100 GemsKRW 33000Example
    code
    event_pack_dec
    startDate
    2026-12-01 00:00
    endDate
    2026-12-31 23:59
    timezone
    Asia/Seoul
    maxSales
    1000
    maxSalesPerUser
    1
    dailyPurchaseLimit
    true · 1

    GET /request?…&userId=user_42 → 400 errors.limit_exceeded

  4. GamePot integration

    Apps integrated with GamePot send payment notifications to the GamePot regional endpoint, and GamePot handles item delivery. Signature headers and retry rules are the same as for other apps.

    • Checkout parameters: region · projectId; /inapp also accepts a GamePot JWT (token)
    • Regions: KR · US · JP · SG and more
    • payment.refunded is not sent to GamePot apps — handle clawbacks through operations
    GamePothttp
    POST https://dashboard-api.gamepot.ntruss.com/v1/purchase
    X-StagePay-Event: payment.succeeded
    X-StagePay-Delivery: 7c1e9a42-3b6d-4f0e-9a51-8e2f4c6d5d0b
    X-StagePay-Signature: v1=<hex>
    
    { "projectId": "gp-project-id", "memberId": "user_42",
      "productId": "gem_100", "paymentId": "KCP_card",
      "amountMinor": 33000, "currency": "KRW", "provideItem": true }
  5. Regional PGs and USDT

    From Korean cards and wallets to MyCard in Taiwan and Southeast Asia, EBANX in Latin America, Stripe for global cards and USDT stablecoins — all through the same checkout and the same callbacks.

    • Register a product price per currency
    • USDT on TRC20 · ERC20 · BEP20 · Polygon
    • Which methods appear depends on the app's PG contracts and settings
    Send USDTTRC20Example
    Amount to send
    10.000575 USDT
    Receiving address
    TQx8…mQv2N
    Time left
    29:41
    Network
    Tron
    Checking for deposit12 / 19 Confirmations

    Send the exact amount shown, down to the last decimal.

PGs connected by region

Only the PGs contracted for an app appear in its checkout. See the full list on the payment methods page.

  • South Korea

    Cards, bank transfer, virtual accounts, mobile billing, wallets

    • KCP
    • TOSS
    • KakaoPay
    • Naver Pay
  • Global

    Cards (3D Secure), Apple Pay, Google Pay, local methods

    • Stripe
  • Taiwan, Hong Kong, Southeast Asia

    MyCard points and local methods

    • MyCard
    • OneOne
  • Latin America

    Cards, PIX, Boleto, OXXO and more

    • EBANX
    • EnjoyPay
  • Stablecoins

    USDT on four networks

    • USDT

Frequently asked questions

Can I grant the item as soon as I get the result message?

No. Use the result message from /return only for the UI, such as closing the WebView. Client messages can be forged, so deliver items based on the signed callback your server receives.

What if the same callback arrives twice?

Record the X-StagePay-Delivery value first as a unique key; if it already exists, skip delivery and respond 200. Automatic retries and manual resends use the same delivery ID.

Can I send game server and character information?

Put serverId, playerId and userdata in the checkout URL or the payment creation API and they come back unchanged in the callback body.

Do I have to use GamePot?

No. GamePot integration is optional. Other apps receive callbacks on their own server and deliver items themselves.

Start with one integration

Follow the quickstart to create an app, create a payment and verify a callback signature.