{"openapi":"3.1.0","info":{"title":"Problocks","version":"1.0.0","description":"Per-request USDC payments for API access. The connectivity endpoint returns pong and a UTC timestamp after settlement.","contact":{"name":"Problocks","url":"https://problocks.io/"},"x-logo":{"url":"https://x402.problocks.io/brand/problocks.png","altText":"Problocks","backgroundColor":"#ffffff"}},"externalDocs":{"description":"Problocks","url":"https://problocks.io/"},"servers":[{"url":"https://x402.problocks.io"}],"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"A per-request signed x402 payment authorization, created from the PAYMENT-REQUIRED offer. No account or subscription API key is required."}}},"paths":{"/paid/ping":{"get":{"summary":"Verify payment connectivity with USDC on Base. Returns a JSON pong and UTC timestamp after settlement.","parameters":[],"security":[{"x402":[]}],"x-payment-info":{"protocols":["x402"],"price":{"mode":"fixed","currency":"USD","amount":"0.001"},"x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x892d8D9e7f3702eAd715BCEabA45141B59937239","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}]},"responses":{"200":{"description":"Resource delivered after successful settlement.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 settlement receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","const":"pong"},"servedAtUtc":{"type":"string","format":"date-time"}},"required":["message","servedAtUtc"],"additionalProperties":false},"example":{"message":"pong","servedAtUtc":"2026-01-01T00:00:00Z"}}}},"402":{"description":"Payment required or rejected. Read PAYMENT-REQUIRED, then retry using PAYMENT-SIGNATURE.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 offer.","schema":{"type":"string"}}},"content":{"application/json":{"example":{"x402Version":2,"resource":{"url":"https://x402.problocks.io/paid/ping","description":"Verify payment connectivity with USDC on Base. Returns a JSON pong and UTC timestamp after settlement.","mimeType":"application/json","serviceName":"Problocks","tags":["fintech","payments"],"iconUrl":"https://x402.problocks.io/brand/problocks.png"},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x892d8D9e7f3702eAd715BCEabA45141B59937239","maxTimeoutSeconds":60,"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{}},"output":{"type":"json","example":{"message":"pong","servedAtUtc":"2026-01-01T00:00:00Z"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET"]},"queryParams":{"type":"object","properties":{},"additionalProperties":false}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"message":{"type":"string","const":"pong"},"servedAtUtc":{"type":"string","format":"date-time"}},"required":["message","servedAtUtc"],"additionalProperties":false}},"required":["type","example"]}},"required":["input","output"]}}}}}}},"400":{"description":"Malformed or oversized payment headers; no payment attempted."},"429":{"description":"Rate/concurrency limit reached; no payment attempted. Observe Retry-After."},"503":{"description":"Resource or facilitator unavailable. settlement_status_unknown / settlement_pending may represent a committed payment: do not create a new authorization automatically; reconcile the original authorization/receipt first."}}}}}}