{"openapi":"3.1.0","info":{"title":"Billing Proof API","version":"0.4.0","description":"Opt-in read-only Stripe billing fairness attestation, Ed25519 JWS agent proofs, 48-bit radial seals, PNG JWS stamping, 4-stage visual/clue resolution, Pro early-warning alerts, and procurement batch verification. Zero customer PII stored; ranking is never sold."},"servers":[{"url":"https://billingproof.dev"}],"paths":{"/api/v1/verify/{target}":{"get":{"operationId":"verifyMerchant","summary":"Fetch live Stripe behavioral metrics and Ed25519 JWS proof by verified merchant domain or slug","parameters":[{"name":"target","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Signed merchant billing proof payload + compact EdDSA JWS"},"404":{"description":"Domain or slug is not registered or domain-verified"}}}},"/api/v1/resolve-image":{"post":{"operationId":"resolveImageOrClues","summary":"4-stage resolver: registered SHA-256 brand asset -> Ed25519 PNG/SVG chunk -> 48-bit CRC-16 radial ring -> OCR/domain screenshot clues","responses":{"200":{"description":"Resolved live merchant proof + assetVerified scope flag"},"404":{"description":"No domain-verified merchant matched"}}}},"/.well-known/jwks.json":{"get":{"operationId":"getPublicJwks","summary":"Fetch active Ed25519 public signing keys (JWK Set)","responses":{"200":{"description":"Ed25519 public JWK Set"}}}},"/mcp":{"post":{"operationId":"mcpJsonRpc","summary":"Streamable HTTP JSON-RPC 2.0 Model Context Protocol endpoint (verify_merchant, resolve_image_proof, list_verified_merchants)","responses":{"200":{"description":"JSON-RPC 2.0 response"}}}},"/api/v1/intents":{"post":{"operationId":"createVerificationIntent","summary":"Start 24h zero-squatting onboarding intent using a restricted read-only Stripe key (rk_live_...)","responses":{"201":{"description":"Challenge token + management Bearer token issued"}}}},"/api/v1/merchants/{slug}/stamp-image":{"post":{"operationId":"stampPngLogo","summary":"Losslessly inject Ed25519 BillingProof-* tEXt chunks into any PNG brand logo (<= 1 MB) and claim conflict-safe SHA-256 ownership","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stamped image/png bytes"},"402":{"description":"Pro subscription required when REQUIRE_PRO_FOR_STAMPING=true"},"409":{"description":"Exact image SHA-256 already claimed by another merchant"}}}},"/api/v1/batch-verify":{"post":{"operationId":"batchVerifyMerchants","summary":"Batch-verify up to 25 merchant domains/URLs anonymously or up to 500 per call with a bpk_live_... API key","responses":{"200":{"description":"Batch verification results + credit balance"},"402":{"description":"API key or additional batch credits required"}}}},"/api/v1/keys/starter":{"post":{"operationId":"claimStarterBatchApiKey","summary":"Mint a free 100-credit bpk_live_... API key (1 per client IP HMAC)","responses":{"201":{"description":"Starter API key issued"},"429":{"description":"Starter key already claimed for this network"}}}}}}