Playmos
Gamehub
Make yourself at home.

Sign in to your Playmos account.

For developers
and publishers
Developers API reference
Documentation API reference

API reference.

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.20 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.
Keep buildingYour first payment