Overview

What PeridotID is and what it provides

PeridotID is a Gaming Identity Platform for the Peridot ecosystem. It provides Authentication, Identity, and Profile so every Peridot product shares a single user account.

What you get

  • Authentication — provider sign-in with secure, rotating sessions
  • Identity — a permanent PID for each user across the Antigane ecosystem (<handle>@pid, e.g. ifal@pid) — user-chosen once, never changeable, reused, or reassigned
  • Profile — per-user mutable labels (displayName, avatarUrl, locale)
  • Wallet — a Solana wallet address associated with the PID (record-only custody, one per PID)
  • Fiat — an IDR balance per identity: DOKU Checkout top-up, internal fiat ledger, and sends to any identity (escrow/payouts)
  • Apps — third-party apps with their own client_id, origins, backend secret, fees, and escrow account

Key facts

FactValue
API versioningAll endpoints are under /v1
Identity ID<handle>@pid (e.g. ifal@pid) — permanent, never changes, never reused
Login credentials(provider, providerUserId) is unique; a non-null email is unique per account
AuthenticationHttpOnly cookies (JWT access token + rotating refresh token)
Access token lifetime15 minutes
Refresh token lifetime30 days (rotated on every use)
WalletOne per PID; Solana smart account + EVM counterfactuals; no key material
Fiat balanceInternal IDR ledger per identity; money in via DOKU Checkout
FeesGlobal 0.1% (min Rp100, no cap) + optional per-app fee (stacks)
Machine authPOST /v1/auth/token (client credentials) for app backends
SpecOpenAPI 3.0 — also served by the API at GET /v1/openapi.yaml

Next steps

On this page