{
  "service": "SCDO native payment receipt verification",
  "version": "1.0.1",
  "network": "eip155:5680",
  "asset": "native SCDO only",
  "rpc": "https://scdo.com.au/rpc/0",
  "backupRpc": "https://apeccapital.org/rpc/0",
  "publicBase": "https://scdo.com.au",
  "englishOnly": true,
  "charges": "none — this endpoint does not invoice, capture, or settle funds",
  "entitlements": "none — confirmation does not grant cloud or membership access",
  "methods": {
    "GET /payments/health": "Service health; does not imply a payment result",
    "GET /payments/docs": "This document",
    "GET /payments/verify?tx=0x...": "Verify a transaction hash",
    "POST /payments/verify": "JSON body {tx, expect:{payTo,from,amountScdo|amountWei}, minConfirmations}",
    "GET /payments/receipt/<tx>.json": "Downloadable JSON receipt; append ?payTo=&from=&amountWei= to re-verify bound terms",
    "GET /payments/receipt/<tx>.html": "Downloadable English HTML receipt; same bound-term query as JSON",
    "GET /payments/openapi.json": "OpenAPI 3.1 description",
    "GET /payments/service.json": "Machine-readable service description"
  },
  "statuses": {
    "confirmed": "Successful receipt and enough confirmations",
    "pending": "Seen but unmined, or not yet final",
    "failed": "Mined with a failing receipt",
    "not_found": "RPC returned no transaction",
    "mismatch": "Wrong network, asset, recipient, amount, or request",
    "unknown": "RPC or data error — not paid and not unpaid; retry"
  },
  "paidRule": "paid=true only when expected terms are bound and a confirmed native transfer matches them. paid is null when terms are not bound. paid=false only when bound terms were checked and did not match. A tx-only receipt does not assert term match.",
  "idempotence": "Read-only and repeatable. The same hash and expected terms converge on the same decision; confirmations may increase.",
  "examplePublicTx": "0x05a7a4fdf9d93346cd16c849370224bb1eda88f556c6f4f9bdef291add187bbf"
}