{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flint-network/json-schema/flint-network-scout-credits-topup-intent-response-schema.json",
  "title": "ScoutCreditsTopupIntentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flint-network-scout-credits-api-openapi.yml#/components/schemas/ScoutCreditsTopupIntentResponse",
  "type": "object",
  "required": [
    "ok",
    "topup_id",
    "pay_url",
    "expires_at",
    "credits",
    "price_usd"
  ],
  "properties": {
    "ok": {
      "const": true
    },
    "topup_id": {
      "type": "string",
      "pattern": "^sct_"
    },
    "pay_url": {
      "type": "string",
      "format": "uri",
      "description": "POST /api/x402/scout-credits/{topup_id}. No session needed to pay it."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "credits": {
      "const": 100
    },
    "price_usd": {
      "const": 1
    }
  }
}