{"openapi":"3.1.0","info":{"title":"x402 Launch Verification","version":"1.0.0","description":"Separate opt-in product: one 5 USDC case includes one real purchase and one requested retest. One 5 USDC prepaid credit permits one daily monitoring purchase. Targets: public GET JSON, exact EIP-3009 Base native USDC only; maximum 1 USDC per purchase. Code recommendations: public Node/Express, never executed."},"servers":[{"url":"https://x402.chikocorp.com"}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}},"schemas":{"QuoteInput":{"type":"object","additionalProperties":false,"required":["resource_url"],"properties":{"resource_url":{"type":"string","format":"uri","maxLength":2048},"max_spend_usdc":{"type":"string","default":"1","description":"Positive USDC decimal, at most 1, up to six decimal places"},"repository":{"type":"string","description":"Public GitHub slug or repository URL"},"callback_url":{"type":"string","format":"uri"},"release":{"type":"string","maxLength":120},"assertions":{"type":"array","maxItems":20,"items":{"type":"object","additionalProperties":false,"required":["pointer"],"properties":{"pointer":{"type":"string","maxLength":256},"equals":{}}}}}},"Consent":{"type":"object","additionalProperties":false,"required":["quote_id","consent"],"properties":{"quote_id":{"type":"string","format":"uuid"},"consent":{"const":true}}}}},"paths":{"/api/verification/availability":{"get":{"summary":"Check operational availability without buying","responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/quotes":{"post":{"summary":"Get a free immutable quote; no target payment","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteInput"}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/x402/verification/cases":{"post":{"summary":"Authorize an initial test and buy a 5 USDC case","x-x402":{"network":"eip155:8453","amount":"5000000","asset":"USDC","scheme":"exact"},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["quote_id","consent"],"properties":{"quote_id":{"type":"string","format":"uuid"},"consent":{"const":true}}}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/cases/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"get":{"summary":"Read case, fee transaction and execution history","security":[{"bearer":[]}],"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/cases/{id}/result":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"get":{"summary":"Read latest report; 202 until complete","security":[{"bearer":[]}],"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/cases/{id}/report.md":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"get":{"summary":"Read latest Markdown report","security":[{"bearer":[]}],"responses":{"200":{"description":"Markdown report","content":{"text/markdown":{"schema":{"type":"string"}}}},"202":{"description":"Pending","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/cases/{id}/retest":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"post":{"summary":"Request the single included retest with a new quote and consent","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["quote_id","consent"],"properties":{"quote_id":{"type":"string","format":"uuid"},"consent":{"const":true}}}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/monitors":{"post":{"summary":"Create a paused daily monitor from a successful case","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["case_id","consent"],"additionalProperties":false,"properties":{"case_id":{"type":"string"},"consent":{"const":true}}}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/monitors/{id}":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"get":{"summary":"Read monitor, credit balance and latest 30 runs","security":[{"bearer":[]}],"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/monitors/{id}/pause":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"post":{"summary":"Pause future purchases; signed authorizations cannot be revoked","security":[{"bearer":[]}],"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/verification/monitors/{id}/resume":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"post":{"summary":"Resume daily purchases with fresh quote, consent and prepaid credit","security":[{"bearer":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["quote_id","consent"],"properties":{"quote_id":{"type":"string","format":"uuid"},"consent":{"const":true}}}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/x402/verification/monitors/{id}/credits":{"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"post":{"summary":"Buy exactly one 5 USDC prepaid monitoring credit; does not activate monitoring","security":[{"bearer":[]}],"x-x402":{"network":"eip155:8453","amount":"5000000","asset":"USDC","scheme":"exact"},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["consent"],"additionalProperties":false,"properties":{"consent":{"const":true}}}}}},"responses":{"200":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"201":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Service fee payment required","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"422":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Verification response","content":{"application/json":{"schema":{"type":"object"}}}}}}}}}