Gamehub
A little more you.

Sign in to save your favorites and make yourself at home.

For developers and publishers
Browse docs API reference
On this page

API reference.

Try it first

Look up one operation before implementing it#

You need A known task and the matching API host and test credentials.

  1. Find the endpoint’s method, authentication and required identifiers.
  2. Compare its response with a real test request.
  3. Follow the lifecycle guide for retry and fulfillment behavior.

Check your result You know which fields are authoritative and how to recover that operation.

SDK methods call the versioned Playmos service. Use the SDK for typed inputs, retries and payment flow orchestration.

API origins#

EnvironmentOrigin
Test / Base Sepoliahttps://api.sandbox.playmos.io/v1
Live / Basehttps://api.playmos.io/v1 — capability and production approval required

Authenticate with Authorization: Bearer <key>. The key prefix selects the environment. Explicit network overrides must agree.

Core endpoints#

POST/v1/payments
pay() / enterRound()

Create an IAP or entry intent. Explicit server settlement is test-only.

GET/v1/payments/:id
verify(id)

Studio-scoped payment read with verification provenance.

POST/v1/payments/:id/tx
SDK-managed

Report a transaction for verification; reporting is not confirmation.

GET/v1/payments
Server API · sk_ required

Filter studio payments; capped cached listing, not a complete ledger.

GET/v1/rounds/:id
rounds.getWithMeta()

Read round state and chain-read metadata.

POST/v1/epochs/pools/prepare
epochs.preparePool()

Prepare an unsigned studio pool transaction.

GET/v1/epochs/:epochId
epochs.get()

Read the relevant epoch using its pool and series context.

GET/v1/webhook_endpoints
Server API · sk_ required

Inspect studio-owned endpoint registrations and recorded attempts.

GET/v1/health
Service diagnostics

Capability, chain-read and sandbox signer readiness. Global health is not per-studio analytics.

Languages and package support

Studio setup and webhook API#

Method / pathPurpose
POST /v1/keysSelf-serve test studio/key issuance; live keys remain gated.
POST /v1/studio/payoutSet payout wallet with your server secret.
GET /v1/keys/me · POST /v1/keys/revokeInspect or revoke studio credentials.
POST /v1/webhook_endpointsRegister endpoint and return its signing secret.
GET /v1/webhook_endpointsInspect registration and recorded attempts; no secret readback.

Contest API#

Method / pathContract
POST /v1/rounds · POST /v1/rounds/:id/lock · POST /v1/rounds/:id/settleLegacy operator lifecycle; sk_ required. Not studio EpochPrizePool.
POST /v1/rounds/:id/cancelLegacy cancellation; reconcile its terminal state.
GET /v1/rounds/:id/payout-notices · POST /v1/rounds/:id/push-winningsLegacy notices and operator push; see payout states.
POST /v1/epochs/pools/prepare · POST /v1/epochs/poolsUnsigned pool prepare, then ownership registration.
GET /v1/epochs/poolsStudio pool listing.
POST /v1/epochs/series/prepare · GET /v1/epochs/seriesPrepare unsigned series; read actual creation state.
GET /v1/epochs/current · GET /v1/epochs/current/prizeCurrent window and prize, scoped by pool/series.
POST /v1/epochs/enter · POST /v1/epochs/enter/confirmSDK entry plan and mined-event confirmation.
GET /v1/epochs/:epochId · GET /v1/epochs/:epochId/prizePast/current window and player prize reads.
POST /v1/epochs/:epochId/settle/signedServer relay of studio operator-signed results; sk_ and configured relay required.
GET /v1/epochs/:epochId/attestationRead the available signed winner payload.

epochs.executeSettlement, withdraw and refund pulls in SDK 0.3.38 send through the client’s wallet. They do not call the similarly named service relay route. Preserve pool, series, epoch and chain context on every read and send.

Economy, HTTP and payout API#

Method / pathPurpose
POST /v1/agents/wallets · GET /v1/agents/wallets/:agentIdServer-owned agent wallet creation/read.
POST /v1/agents/wallets/:agentId/fundSandbox test fixture funding.
POST /v1/transfers · GET /v1/transfers/:idTransfer and same-ID reconciliation.
POST /v1/x402/challenges · POST /v1/x402/settleService-minted challenge and fulfillment.
POST /v1/payouts/mode · POST /v1/payouts/onboarding_linkPayout configuration surfaces; fiat onboarding is a stub.

If it did not work#

A listed endpoint is not a complete integration. Check studio ownership, host and release availability when a route is absent.

Try one variation Find the same operation’s recovery guide. Explain which failures allow a retry and which need a read first.

Continue with the next guide →