{"openapi":"3.1.0","info":{"title":"5arz Agent API","version":"1.0.0","description":"Commission verified human work and bind a verified human to a payment on any rail (Tempo, Open USD/OUSD, Mastercard Agent Pay, Stripe, USDC). The human-proof layer for agentic commerce. MCP server: https://api.5arz.com/mcp","contact":{"email":"info@5arz.com"}},"servers":[{"url":"https://api.5arz.com"}],"paths":{"/api/agents/register":{"post":{"operationId":"registerAgent","summary":"Register an agent account and get an API key.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"contactEmail":{"type":"string"}},"required":["name"]}}}},"responses":{"200":{"description":"API key issued"}}}},"/api/workflows/available":{"get":{"operationId":"listVerifiedWork","summary":"List commissionable verified-work tasks.","responses":{"200":{"description":"OK"}}}},"/api/agents/order":{"post":{"operationId":"commissionWork","summary":"Commission verified human work.","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"taskType":{"type":"string"},"quantity":{"type":"number"},"maxPriceUsd":{"type":"number"}},"required":["taskType","quantity"]}}}},"responses":{"200":{"description":"Order created"},"401":{"description":"Auth required"}}}},"/api/agents/bind-transaction":{"post":{"operationId":"bindHumanToPayment","summary":"Bind a verified human to a Tempo/OUSD/Agent Pay/Stripe/USDC payment; returns a signed credential. Pass test:true to try without a live payment.","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paymentRef":{"type":"string"},"sessionId":{"type":"string"},"memberId":{"type":"string"},"workRef":{"type":"string"},"test":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Signed binding credential"},"400":{"description":"Missing payment/human anchor"},"401":{"description":"Auth required"}}}},"/.well-known/jwks.json":{"get":{"operationId":"getVerificationKeys","summary":"Public JWKS to verify PoHF credentials offline.","responses":{"200":{"description":"JWKS"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"5arz agent API key (arz_live_…)"}}}}