Static acknowledgeTrusted title server with commerce:fulfill or admin JWT acknowledges the immutable event.
Optional options: MicrotransactionRequestOptionsStatic archiveDirect authorized archive. Never deletes financial history or bypasses the last-revenue-model rule.
Optional options: MicrotransactionRequestOptionsStatic authenticateBind once to the existing authenticated account. Cannot reassign another player's purchase.
Static Private callOptional data: objectOptional params: objectOptional options: MicrotransactionRequestOptions | MicrotransactionSessionOptionsStatic catalogGuest catalog on the exact approved game Origin. Sandbox requires enabled sandbox settings; the backend enforces environment policy.
Optional params: MicrotransactionCatalogFilterOptional options: MicrotransactionRequestOptionsStatic checkoutBound-user JWT + session capability. Reuse the idempotency key after a network timeout.
Static claimGame exchanges a verified popup code. Browser Origin must match return_origin; code is consumed once.
Optional options: MicrotransactionRequestOptionsStatic consumeAtomic tracked spending. Reuse action_id for retries; a new gameplay action needs a new ID.
Optional options: MicrotransactionRequestOptionsStatic createGuest opening only: browser Origin must equal approved return_origin. Inherits configured global auth; use an isolated credential-free game context. Hosted UI authenticates before payment.
Optional options: MicrotransactionRequestOptionsStatic createHosted checkout only. Server issues an expiring one-time game handoff after verified fulfillment.
Static createSave a catalog product. Prices use integer minor units and attached media must belong to the title.
Optional options: MicrotransactionRequestOptionsStatic createStart/reuse owned Stripe Connect onboarding with one stable key. Provider KYC is factual setup, not a Glitch approval workflow.
Optional options: MicrotransactionRequestOptionsStatic createUser-authenticated quote. Clients select product/quantity, never monetary values or seller accounts.
Optional options: MicrotransactionRequestOptionsStatic createGuest entry to hosted recovery, not inventory access. Exact approved Origin/return_origin required. Owning-account bind remains mandatory, including when commerce is off. Never install an account JWT in the game.
Optional options: MicrotransactionRequestOptionsStatic earningsAdmin read of separate-currency balances; pending is not withdrawable revenue.
Optional params: MicrotransactionEnvironmentFilterOptional options: MicrotransactionRequestOptionsStatic getAnonymous, read-only embedding policy: server-approved frame ancestors only, no player/session capability data.
Optional options: MicrotransactionRequestOptionsStatic getRead the session using its limited capability. Cannot mutate user identity or declare payment.
Static getRead title/environment delivery settings and the Ed25519 PUBLIC verification key.
Optional params: MicrotransactionEnvironmentFilterOptional options: MicrotransactionRequestOptionsStatic getAnonymous title-wide approved embedding policy for trusted hosted account pages; no player data.
Optional options: MicrotransactionRequestOptionsStatic getOwner JWT/scoped player token or title admin. An arbitrary order UUID grants no access.
Optional options: MicrotransactionRequestOptionsStatic getInspect one same-title refund operation.
Optional options: MicrotransactionRequestOptionsStatic listDiscover safe event IDs/statuses before replay or acknowledge. Page 1–10000, per_page 1–100, default 25.
Optional params: MicrotransactionDeliveryListFiltersOptional options: MicrotransactionRequestOptionsStatic listRestore authoritative durable ownership/current consumable balances, never mutable cloud-save balances.
Optional params: MicrotransactionEnvironmentFilterOptional options: MicrotransactionRequestOptionsStatic listOptional self-only purchase/usage history. A user JWT selects that user; a scoped playerToken selects its bound title/player/environment and requires the exact approved game Origin. No MCP/install token or caller-selected user_id/player_id is accepted. JWT environment defaults to live; scoped tokens default to their bound environment. Admin listOrders stays separate.
Read response.data.data.purchases and .pagination. Use grant_usage for lot consumption/refund/expiry status, listEntitlements for current aggregate inventory, and consume for explicit gameplay spending. History never grants inventory and durable/pass is_used is null rather than a guessed boolean.
Optional options: MicrotransactionRequestOptionsStatic listAdmin paginated redacted orders. Page 1–10000/per_page 1–100 (default 25); own-player history is separate.
Optional params: MicrotransactionOrderListFiltersOptional options: MicrotransactionRequestOptionsStatic listDiscover provider transfer/payout records; transferred funds are not automatically a verified bank payout.
Optional params: MicrotransactionPayoutListFiltersOptional options: MicrotransactionRequestOptionsStatic listPaginated admin catalog including drafts/archives. Default 200, per_page 1–200/page 1–10000. Use exact sku to resolve uncertain creates.
Optional params: MicrotransactionProductListFiltersOptional options: MicrotransactionRequestOptionsOptional options: MicrotransactionRequestOptionsCompatibility overload for the earlier second-argument request options.
Static listFinancially scoped refund operation discovery; pending/unknown is not completed.
Optional params: MicrotransactionRefundListFiltersOptional options: MicrotransactionRequestOptionsStatic mcpTitle MCP token, never a runtime install token. Describes arguments, abilities, mutation semantics and provider facts.
Optional options: MicrotransactionRequestOptionsStatic mcpExecute a discovered authorized operation directly. Legacy confirm is ignored and not forwarded.
Optional confirm?: booleanOptional options: MicrotransactionRequestOptionsStatic mcpSame title-authorized Media pipeline using the caller's MCP credential and commerce:write ability.
Optional onUploadProgress: ((event) => void)Optional options: Pick<AxiosRequestConfig<any, any>, "signal" | "timeout">Static providersActual provider configuration/capability facts; no credentials or manual approval flag.
Optional params: MicrotransactionEnvironmentFilterOptional options: MicrotransactionRequestOptionsOptional options: MicrotransactionRequestOptionsCompatibility overload for the earlier second-argument request options.
Static readinessRead-only current country/provider capability and revenue readiness; never fabricates availability.
Optional options: MicrotransactionRequestOptionsStatic reconcileQuery original provider; never creates another charge. Pending/unknown remains non-terminal.
Static reconcileFinancially scoped original-provider reconciliation. Does not reroute or start a different purchase.
Optional options: MicrotransactionRequestOptionsStatic reconcileQuery/retry the original persisted refund with its existing identity, never generate a new refund key.
Optional options: MicrotransactionRequestOptionsStatic refreshRefresh authenticated external provider facts. May update cached state; never creates a payment or invents eligibility.
Optional options: MicrotransactionRequestOptionsStatic refundDirect commerce:finance refund. REQUIRED stable idempotency_key; omission is an error, never auto-filled. Same-key changed input conflicts.
Optional options: MicrotransactionRequestOptionsStatic replayReplay the same immutable event. Receiver must deduplicate event_id. This cannot mint goods.
Optional options: MicrotransactionRequestOptionsStatic requestOwning user asks support to review a refund. This does not execute payment reversal.
Optional options: MicrotransactionRequestOptionsStatic restoreAuthenticated hosted Glitch account only: restore a previous purchase into a NEW nonce-bound session/handoff after the game's 15-minute token expires or storage is cleared. Does not create another payment. Return to the game via verified source/origin and a new bridge bound to event.checkout_session_id.
Optional options: MicrotransactionRequestOptionsStatic settingsAdmin settings, including immutable 1200bp commission and readiness blockers.
Optional options: MicrotransactionRequestOptionsStatic updateDirect commerce:fulfill setup. Private/metadata network targets and private-key inputs remain forbidden.
Optional options: MicrotransactionRequestOptionsStatic updateUpdate a product version. Existing order snapshots remain unchanged.
Optional options: MicrotransactionRequestOptionsStatic updateDirect commerce:finance configuration. Saving preferences does not fabricate external capability; inspect available/reasons.
Optional options: MicrotransactionRequestOptionsStatic updateAtomic policy update. Sandbox/off by default. Cannot disable the final working revenue model.
Optional options: MicrotransactionRequestOptionsStatic uploadUpload an image/video through existing Glitch Media processing with title and actor ownership. Attach its returned Media ID to products/branding. Does not create a social-library post, scheduler, or new payment product.
Optional onUploadProgress: ((event) => void)Optional options: Pick<AxiosRequestConfig<any, any>, "signal" | "timeout">Static verifyRecord integration proof from a genuinely paid, fulfilled sandbox order with a claimed game handoff.
Optional confirm?: booleanOptional options: MicrotransactionRequestOptionsGenerated using TypeDoc
Provider-neutral, title-scoped commerce. Guest games configure only the API base URL, never global account/admin auth. Hosted account pages use their own user JWT and limited checkout capability; playerToken overrides auth per request. Install/title tokens cannot authorize money, ownership, refunds, or catalog changes.
Each result preserves payment versus fulfillment versus settlement. Redirects and postMessage events only trigger an authoritative refresh. A timeout is unknown; reconcile the original attempt instead of charging another provider.