{
  "version": "0.1.4",
  "network": "base",
  "rail": "prepaid_credit_packs",
  "why_this_exists": "Cards cannot be charged 5 cents at a time: card processing fees eat most of a per-call charge, so the fiat rail is sold in packs — one card charge buys many checks.",
  "list_price_usd": 0.05,
  "lookup_price_usd": 0.02,
  "ladder": [
    {
      "id": "starter",
      "tier": "answer",
      "label": "$10 — 200 checks",
      "price_usd": 10,
      "price_cents": 1000,
      "calls": 200,
      "bonus_pct": 0,
      "per_call_usd": 0.05
    },
    {
      "id": "pro",
      "tier": "answer",
      "label": "$50 — 1,100 checks",
      "price_usd": 50,
      "price_cents": 5000,
      "calls": 1100,
      "bonus_pct": 10,
      "per_call_usd": 0.045455
    },
    {
      "id": "scale",
      "tier": "answer",
      "label": "$200 — 4,800 checks",
      "price_usd": 200,
      "price_cents": 20000,
      "calls": 4800,
      "bonus_pct": 20,
      "per_call_usd": 0.041667
    },
    {
      "id": "lookup_500",
      "tier": "lookup",
      "label": "$10 — 500 lookups",
      "price_usd": 10,
      "price_cents": 1000,
      "calls": 500,
      "bonus_pct": 0,
      "per_call_usd": 0.02
    },
    {
      "id": "lookup_2750",
      "tier": "lookup",
      "label": "$50 — 2,750 lookups",
      "price_usd": 50,
      "price_cents": 5000,
      "calls": 2750,
      "bonus_pct": 10,
      "per_call_usd": 0.018182
    },
    {
      "id": "lookup_12000",
      "tier": "lookup",
      "label": "$200 — 12,000 lookups",
      "price_usd": 200,
      "price_cents": 20000,
      "calls": 12000,
      "bonus_pct": 20,
      "per_call_usd": 0.016667
    }
  ],
  "ladders": {
    "answer": [
      "starter",
      "pro",
      "scale"
    ],
    "lookup": [
      "lookup_500",
      "lookup_2750",
      "lookup_12000"
    ]
  },
  "tier_note": "An answer pack covers the figure, entity and watch doors. A lookup pack covers the citation and package doors and bulk. Spending a pack on the other tier still works and is always disclosed in the answer, never silently priced.",
  "checkout": "live",
  "checkout_note": "Card checkout is wired on the Stripe rail. A pack can also be bought with PayPal: POST /packs/paypal/checkout returns a buyer approval link and an order id, the buyer approves it, and the agent then reads the code at GET /packs/claim?session_id=… (poll first with &peek=1). The code stays readable there until it is first used, for up to 24 hours; after that the same session id reissues a fresh code at /packs/reissue?session_id=…",
  "sealed": {
    "kind": "sealed",
    "pack_id": "sealed_check",
    "product": "FactStamp Sealed Check",
    "price": {
      "usd": 27.5,
      "cents": 2750,
      "currency": "USD"
    },
    "calls": 1,
    "includes_call": true,
    "price_rule": "US$27.50 on the card rail, and the US$27.50 includes the call. It is not the door's price with US$27.50 added: that is the crypto rail's shape, where the US$25 private option is charged on top of the rung and a private check costs US$25.05 to US$25.25. Crypto is the cheaper rail on purpose — US$2.25 to US$2.45 cheaper — because we want to encourage it; the card rail is the convenient one, and it is what the Stripe session charges.",
    "buy": {
      "method": "POST",
      "path": "/packs/sealed/checkout",
      "body": {
        "buyer_ref": "<your own opaque id for this purchase, optional>",
        "email": "<optional, passed to Stripe's own page>"
      },
      "returns": {
        "session_id": "the id the code is collected with, once Stripe says the session is paid",
        "url": "Stripe's own payment page"
      },
      "note": "Nothing is charged by this call and no code exists yet. On the card rail the thing that taps is a human. The code is minted by Stripe's webhook and read at GET /packs/claim?session_id=… , where it stays readable until the code is first used, for up to 24 hours. After that the same session id reissues a fresh code at /packs/reissue?session_id=… , and the balance comes with it."
    },
    "redeem": {
      "method": "POST",
      "path": "/check",
      "authorization": "Bearer <the fsp_… code, collected at GET /packs/claim?session_id=…>",
      "declaration": {
        "header": "x-factstamp-privacy: zero_knowledge",
        "body_field": {
          "privacy": "zero_knowledge"
        }
      },
      "note": "The declaration is required. Without it the code is refused in words and nothing is spent, because a sealed pack was bought for silence and will not fund a published call.",
      "one_call": "One call per sealed pack. A second call is refused as exhausted.",
      "publishes": [
        "entry_id",
        "day",
        "price",
        "scheme",
        "network"
      ],
      "withholds": [
        "the door this call was sold at",
        "the request and any fingerprint of it",
        "the answer and any fingerprint of it",
        "the receipt signature",
        "the payer"
      ]
    },
    "refusals": {
      "sealed_without_declaration": "Refused in words: nothing is spent, nothing is appended, and the code still holds its one call.",
      "public_pack_with_declaration": "Refused in words, as it has been since 22 Oct 2026: a public pack cannot buy silence. That refusal is unchanged by this product."
    }
  },
  "country_packs": {
    "applies_to": "check_entity",
    "product": "country pack",
    "checks_per_pack": 10,
    "currency": "USD",
    "spend_at": "POST /entity",
    "price_rule": "A country pack is 10 entity checks at the entity door's one flat price. The depth of the jurisdiction (the number of items its own row on /coverage.json lists as verifiable) is published for information. The pack adds no discount and no bonus: it is the smallest product on the card rail, so it sits at the entry terms (Starter, 0 percent). Ten checks therefore cost exactly ten times the flat price of a check.",
    "scope_rule": "A country pack credit is bound to the jurisdiction whose register priced it AND to the entity door. It is refused at every other door — not only another country, but the figure door, the probe, /check, /entity-file and every lookup. A credit that could be spent on the wrong door would let a US$2.50 pack buy ledger-door work priced at a different rate, which is money leaking out of a scope rather than a discount.",
    "failure_rule": "Two failures, both stated: a country whose register cannot answer today is NOT sold — the row prints no amount and the door refuses a call there rather than quoting one. If a pack was bought and the country later goes off sale, the door refuses the call BEFORE the credit is read, so nothing is consumed and the balance is unchanged; and a call that returns `unknown` is not charged for, so a register that fails mid-call costs the holder nothing either.",
    "buy": {
      "method": "POST",
      "path": "/packs/checkout",
      "body": {
        "pack_id": "one of packs[].pack_id",
        "email": "<optional>",
        "buyer_ref": "<optional, opaque>"
      },
      "returns": {
        "session_id": "the id the code is collected with",
        "url": "Stripe's own payment page"
      },
      "note": "Nothing is charged by this call and no code exists yet. The code is minted by Stripe's webhook once the session is paid, and read at GET /packs/claim?session_id=… , where it stays readable until the code is first used, for up to 24 hours. After that the same session id reissues a fresh code at /packs/reissue?session_id=… , with the same balance."
    },
    "redeem": {
      "authorization": "Bearer <the fsp_… code>",
      "path": "/entity",
      "binds_to": {
        "door": "entity",
        "jurisdiction": "the pack's own country code, as `jurisdiction` in the body or `?jurisdiction=`"
      },
      "note": "Send the code with the country named: a pack for FR presented against another jurisdiction is refused in words, nothing is spent, and the balance is unchanged. Name the country on every call: if neither the request nor the identifier's shape establishes it, the credit is refused rather than guessed at."
    },
    "packs": [
      {
        "country": "FR",
        "jurisdiction": "France",
        "pack_id": "country_fr",
        "checks": 10,
        "verifiable_items": 9,
        "rung": "deep",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of France — US$2.50",
        "quote": "ten entity checks of France, US$2.50",
        "note": "France publishes 9 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for FR only."
      },
      {
        "country": "PL",
        "jurisdiction": "Poland",
        "pack_id": "country_pl",
        "checks": 10,
        "verifiable_items": 6,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Poland — US$2.50",
        "quote": "ten entity checks of Poland, US$2.50",
        "note": "Poland publishes 6 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for PL only."
      },
      {
        "country": "IE",
        "jurisdiction": "Ireland",
        "pack_id": "country_ie",
        "checks": 10,
        "verifiable_items": 6,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Ireland — US$2.50",
        "quote": "ten entity checks of Ireland, US$2.50",
        "note": "Ireland publishes 6 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for IE only."
      },
      {
        "country": "CZ",
        "jurisdiction": "Czechia",
        "pack_id": "country_cz",
        "checks": 10,
        "verifiable_items": 6,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Czechia — US$2.50",
        "quote": "ten entity checks of Czechia, US$2.50",
        "note": "Czechia publishes 6 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for CZ only."
      },
      {
        "country": "FI",
        "jurisdiction": "Finland",
        "pack_id": "country_fi",
        "checks": 10,
        "verifiable_items": 6,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Finland — US$2.50",
        "quote": "ten entity checks of Finland, US$2.50",
        "note": "Finland publishes 6 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for FI only."
      },
      {
        "country": "EE",
        "jurisdiction": "Estonia",
        "pack_id": "country_ee",
        "checks": 10,
        "verifiable_items": 6,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Estonia — US$2.50",
        "quote": "ten entity checks of Estonia, US$2.50",
        "note": "Estonia publishes 6 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for EE only."
      },
      {
        "country": "LV",
        "jurisdiction": "Latvia",
        "pack_id": "country_lv",
        "checks": 10,
        "verifiable_items": 5,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Latvia — US$2.50",
        "quote": "ten entity checks of Latvia, US$2.50",
        "note": "Latvia publishes 5 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for LV only."
      },
      {
        "country": "NO",
        "jurisdiction": "Norway",
        "pack_id": "country_no",
        "checks": 10,
        "verifiable_items": 5,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of Norway — US$2.50",
        "quote": "ten entity checks of Norway, US$2.50",
        "note": "Norway publishes 5 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for NO only."
      },
      {
        "country": "GB",
        "jurisdiction": "United Kingdom",
        "pack_id": "country_gb",
        "checks": 10,
        "verifiable_items": 5,
        "rung": "mid",
        "per_check_usd": 0.25,
        "price_cents": 250,
        "price_usd": 2.5,
        "on_sale": true,
        "status": "live",
        "label": "10 entity checks of United Kingdom — US$2.50",
        "quote": "ten entity checks of United Kingdom, US$2.50",
        "note": "United Kingdom publishes 5 verifiable items; one check is US$0.25, so ten of them at list is US$2.50, with no prepay bonus. The credit is spendable at POST /entity for GB only."
      }
    ]
  },
  "redeem": {
    "how": "Send the pack code as a bearer token to POST /check, or check it with GET /packs/balance.",
    "header": "authorization: Bearer fsp_…",
    "endpoint": "POST /check",
    "balance_endpoint": "GET /packs/balance",
    "claim_endpoint": "GET /packs/claim?session_id=…",
    "claim_rule": "The code is readable from mint until it is first used, for up to 24 hours, whichever comes first. Reading it does not spend it. A request that accepts text/html gets a page with the code on it; any other request gets JSON. Poll first with &peek=1, which never returns the code.",
    "reissue_endpoint": "GET /packs/reissue?session_id=…",
    "reissue_rule": "While the code is still readable this returns the same code and rotates nothing. Once it has been used, or once the 24 hours are gone, it rotates: a fresh code for the same pack and the same remaining balance, and the previous code stops spending."
  },
  "credit_rules": {
    "expire": false,
    "transferable": true,
    "bearer_note": "Treat a code like cash: we cannot tell holders apart, so anyone who has the code can spend the balance.",
    "partial_use": "one check at a time, no minimum draw",
    "refunds": "Unused checks are not refundable, and they never expire. A card dispute is the cardholder's own route."
  },
  "ladder_rule": "The list price is $0.05 a check on the figure door and $0.25 on the widened entity door, and $0.02 on the citation and package lookups, on both rails, and prepaying never changes it. A bigger pack adds bonus checks, so it costs less per check while the list price stays put. An answer pack's credit buys an answer on the figure, entity and watch doors. A lookup pack's credit buys a lookup on the citation, package and bulk doors. HOW MANY CREDITS A DOOR DRAWS is the door's own list price divided by $0.05, rounded up and never fewer than one: the figure door draws 1, the entity door 5, the entity file 9, the Israeli file 6, the Canadian file 5, a watch 10, and every door prints its own count beside its price.",
  "empty_code": "exhausted",
  "rail_status": {
    "packs_issued": 3,
    "calls_sold": 410,
    "calls_redeemed": 5,
    "calls_remaining": 405,
    "revoked": 0
  },
  "honesty": "Card checkout is wired in live mode: a card charge buys a prepaid pack, and nothing is charged until you reach Stripe's own page. PayPal is wired too: POST /packs/paypal/checkout returns a buyer approval link and an order id, the buyer approves it on their own device, and the agent reads the code at GET /packs/claim?session_id=… (poll first with &peek=1). The code stays readable there until it is first used, for up to 24 hours; after that the same session id reissues a fresh code at /packs/reissue?session_id=… The crypto rail charges per call at /.well-known/x402."
}