{"openapi": "3.0.0", "info": {"title": "SPORE Attestation API", "version": "2.1.0", "description": "x402 v2 paid crew attestation (0.005 USDC on Base)."}, "servers": [{"url": "https://relationships-determine-components-stamp.trycloudflare.com"}], "paths": {"/x402/attest": {"get": {"summary": "Request crew attestation (x402 challenge on GET)", "description": "Marketplace probe path. Returns HTTP 402 with the PAYMENT-REQUIRED header (base64 PaymentRequired) and the same object mirrored in the body. Query: ?subject= or ?data=.", "parameters": [{"name": "subject", "in": "query", "required": false, "schema": {"type": "string"}, "description": "Crew member / agent identity to attest"}], "responses": {"402": {"description": "Payment required", "headers": {"PAYMENT-REQUIRED": {"description": "Base64-encoded x402 v2 PaymentRequired object", "schema": {"type": "string"}}}, "content": {"application/json": {"schema": {"type": "object", "properties": {"x402Version": {"type": "integer"}, "accepts": {"type": "array"}}}}}}, "200": {"description": "Attestation issued"}}}, "post": {"summary": "Request crew attestation (JSON body)", "responses": {"402": {"description": "Payment required"}, "400": {"description": "subject required"}, "200": {"description": "Attestation issued"}}}}, "/x402/settle": {"post": {"summary": "Settle a payment and mint the attestation", "responses": {"200": {"description": "Attestation issued"}, "400": {"description": "subject and txhash required"}}}}, "/health": {"get": {"summary": "Health check", "responses": {"200": {"description": "OK"}}}}, "/openapi.json": {"get": {"summary": "OpenAPI spec", "responses": {"200": {"description": "Spec"}}}}, "/.well-known/x402": {"get": {"summary": "x402 discovery", "responses": {"200": {"description": "Discovery"}}}}, "/discovery/resources": {"get": {"summary": "x402 discovery resources", "responses": {"200": {"description": "Resources"}}}}}, "x402": {"x402Version": 2, "accepts": [{"scheme": "exact", "network": "eip155:8453", "networkV2": "eip155:8453", "networkLegacy": "base", "amount": "5000", "maxAmountRequired": "5000", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "payTo": "0xA29bfdB1fC8436D0643876c6B02A0B0bd45B7E79", "maxTimeoutSeconds": 300, "extra": {"name": "USD Coin", "version": "2"}, "resource": "https://relationships-determine-components-stamp.trycloudflare.com/x402/attest", "description": "SPORE crew attestation for subject 'anonymous'", "mimeType": "application/json"}]}}