{"openapi":"3.1.0","info":{"title":"Resilience Trust Cryptographic Platform API","version":"1.0.0-beta.1","description":"Post-quantum hybrid digital signature registration, public key registry, server-signed identity verification, RFC 3161 Merkle timestamping, zero-knowledge redaction proofs, ephemeral verification rooms, and Cashfree Payments PG subscription billing.","contact":{"name":"Resilience Securities Engineering","url":"https://developers.resiliencesecurities.com","email":"security@resiliencesecurities.com"}},"servers":[{"url":"https, https://api.trust.resiliencesecurities.com","description":"Current Active Environment"},{"url":"https://api.trust.resiliencesecurities.com","description":"Production API Gateway"}],"paths":{"/api/v1/public/status":{"get":{"summary":"Live system & cryptographic subsystem health","responses":{"200":{"description":"Component operational status & platform key fingerprint"}}}},"/api/v1/public/keys":{"get":{"summary":"Searchable Public Key & Revocation Registry directory","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string","enum":["all","active","rotated","revoked"]}}],"responses":{"200":{"description":"Registered public keys and authority roots"}}}},"/api/v1/public/keys/{fingerprint}":{"get":{"summary":"Canonical key status & revocation lookup (SDK verifyKeyRevocation compatible)","parameters":[{"name":"fingerprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Key status, algorithm, public key, and revocation metadata"},"404":{"description":"Fingerprint not found in public directory"}}}},"/api/v1/public/identity/{fingerprint}":{"get":{"summary":"Server-signed Ed25519 signer identity assertion (SDK verifySignerIdentity compatible)","parameters":[{"name":"fingerprint","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Verified identity assurance level & signed Ed25519 assertion"},"404":{"description":"No verified identity record found for fingerprint"}}}},"/api/v1/public/identity/verify":{"post":{"summary":"Verify a signature bundle or fingerprint identity against authenticated server records","responses":{"200":{"description":"Signed identity verification report"}}}},"/api/v1/public/verify/{id}":{"get":{"summary":"Look up a registered public verification ID and live key statuses","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Registered bundle metadata & live key statuses"}}}},"/api/v1/verify":{"post":{"summary":"Cryptographically verify an uploaded .rsig bundle with live revocation status","responses":{"200":{"description":"Detailed hybrid verification report"}}}},"/api/v1/tsa/anchor":{"post":{"summary":"Anchor a local SHA-384/SHA3-256 document digest into the RFC 3161 PQ-Merkle Tree","responses":{"201":{"description":"Queued or sealed Merkle inclusion proof"}}}},"/api/v1/tsa/batches":{"get":{"summary":"List sealed RFC 3161 Post-Quantum Merkle Tree batches and authority public keys","responses":{"200":{"description":"Merkle batches & ML-DSA-65 + Ed25519 TSA public keys"}}}},"/api/v1/zk-redaction/verify":{"post":{"summary":"Verify a Zero-Knowledge Selective Redaction Proof over a redacted document","responses":{"200":{"description":"Merkle root, disclosed section & PQC signature verification report"}}}},"/api/v1/ephemeral-rooms":{"post":{"summary":"Create a RAM-only E2EE View-Once Verification Room","responses":{"201":{"description":"Room ID & TTL metadata (AES key remains client-side in URL fragment)"}}}},"/api/v1/billing/checkout":{"post":{"summary":"Create a Cashfree Payments PG subscription checkout session","responses":{"200":{"description":"Cashfree order & payment session metadata"}}}},"/api/v1/webhooks/cashfree":{"post":{"summary":"Receive HMAC-SHA256 verified Cashfree Payments PG webhooks","responses":{"200":{"description":"Idempotent webhook acknowledgment"}}}},"/api/v1/sdk/catalog":{"get":{"summary":"Official @resilience-trust/* npm package catalog, endpoints, revenue model & security gate","responses":{"200":{"description":"SDK catalog metadata"}}}},"/api/v1/developers/webhooks":{"get":{"summary":"List authenticated developer webhooks","responses":{"200":{"description":"Registered HTTPS webhook endpoints"}}},"post":{"summary":"Register an SSRF-protected HTTPS webhook endpoint with sealed HMAC-SHA256 secret","responses":{"201":{"description":"Created webhook with one-time signing secret"}}}},"/api/v1/developers/webhooks/deliveries":{"get":{"summary":"Inspect recent HMAC-SHA256 outbound webhook delivery & retry logs","responses":{"200":{"description":"Recent delivery records with HTTP status and retry state"}}}},"/api/v1/developers/webhooks/{id}/test":{"post":{"summary":"Dispatch an immediate HMAC-SHA256 signed test event to a registered webhook","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Delivery attempt result including X-Resilience-Signature header"}}}},"/api/v1/sdk/download-bundle":{"get":{"summary":"Download complete publishable @resilience-trust/sdk source package & CI workflow","responses":{"200":{"description":"JSON manifest of publishable SDK files"}}}}}}