{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pzero-studio/json-schema/pzero-studio-signup-success-schema.json",
  "title": "SignupSuccess",
  "description": "apiKey is present only when this payment created the account. A replayed settlement returns idempotent true with balances and no key.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pzero-studio-openapi.json#/components/schemas/SignupSuccess",
  "type": "object",
  "properties": {
    "apiKey": {
      "type": "string",
      "description": "Plaintext pzero_... key, shown once"
    },
    "keyName": {
      "type": "string"
    },
    "keyPrefix": {
      "type": "string"
    },
    "walletAddress": {
      "type": "string",
      "description": "The verified payer; never a request field"
    },
    "accountId": {
      "type": "string",
      "format": "uuid"
    },
    "pendingUsdc": {
      "type": "string",
      "description": "The signup credit lands pending, so this is normally the full amount"
    },
    "confirmedUsdc": {
      "type": "string",
      "description": "Spendable balance; normally 0.000000 immediately after signup"
    },
    "topUpAmountUsdc": {
      "type": "string"
    },
    "maxPriceCentsPerDollar": {
      "type": "integer"
    },
    "transaction": {
      "type": "string",
      "description": "Settlement transaction hash"
    },
    "confirmationBlocks": {
      "type": "integer",
      "description": "Blocks until the pending credit becomes spendable"
    },
    "idempotent": {
      "type": "boolean",
      "description": "True when this settlement was already credited; no key is issued"
    }
  }
}