{"components": {"schemas": {"Authorization": {"properties": {"from": {"description": "buyer address (0x, 20 bytes)", "type": "string"}, "nonce": {"description": "0x + 32 bytes hex; single-use", "type": "string"}, "to": {"description": "payee address \u2014 the leg's payTo", "type": "string"}, "validAfter": {"type": "string"}, "validBefore": {"type": "string"}, "value": {"description": "exact amount in micro-USDC", "type": "string"}}, "required": ["from", "to", "value", "validAfter", "validBefore", "nonce"], "type": "object"}, "PaymentPayloadV1": {"description": "x402 payment payload, v1 or v2 envelope", "example": {"network": "eip155:8453", "payload": {"authorization": {"from": "0x<buyer address>", "nonce": "0x<32-byte hex, fresh per authorization>", "to": "0x<payee address>", "validAfter": "<unix seconds>", "validBefore": "<unix seconds>", "value": "<exact amount, micro-USDC, as a string>"}, "signature": "0x<65-byte EIP-3009 signature>"}, "scheme": "exact", "x402Version": 1}, "properties": {"accepted": {"description": "v2 only: the accepted requirements echoed from the 402 challenge", "type": "object"}, "network": {"example": "eip155:8453", "type": "string"}, "payload": {"properties": {"authorization": {"properties": {"from": {"description": "buyer address (0x, 20 bytes)", "type": "string"}, "nonce": {"description": "0x + 32 bytes hex; single-use", "type": "string"}, "to": {"description": "payee address \u2014 the leg's payTo", "type": "string"}, "validAfter": {"type": "string"}, "validBefore": {"type": "string"}, "value": {"description": "exact amount in micro-USDC", "type": "string"}}, "required": ["from", "to", "value", "validAfter", "validBefore", "nonce"], "type": "object"}, "signature": {"type": "string"}}, "type": "object"}, "scheme": {"example": "exact", "type": "string"}, "x402Version": {"enum": [1, 2], "type": "integer"}}, "type": "object"}, "PaymentPayloadV2": {"description": "x402 payment payload, v1 or v2 envelope", "example": {"accepted": {"amount": "<exact amount, micro-USDC>", "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "extra": {"name": "USD Coin", "version": "2"}, "maxTimeoutSeconds": 300, "network": "eip155:8453", "payTo": "0x<payee>", "scheme": "exact"}, "payload": {"authorization": {"from": "0x<buyer address>", "nonce": "0x<32-byte hex, fresh per authorization>", "to": "0x<payee address>", "validAfter": "<unix seconds>", "validBefore": "<unix seconds>", "value": "<exact amount, micro-USDC, as a string>"}, "signature": "0x<65-byte EIP-3009 signature>"}, "x402Version": 2}, "properties": {"accepted": {"description": "v2 only: the accepted requirements echoed from the 402 challenge", "type": "object"}, "network": {"example": "eip155:8453", "type": "string"}, "payload": {"properties": {"authorization": {"properties": {"from": {"description": "buyer address (0x, 20 bytes)", "type": "string"}, "nonce": {"description": "0x + 32 bytes hex; single-use", "type": "string"}, "to": {"description": "payee address \u2014 the leg's payTo", "type": "string"}, "validAfter": {"type": "string"}, "validBefore": {"type": "string"}, "value": {"description": "exact amount in micro-USDC", "type": "string"}}, "required": ["from", "to", "value", "validAfter", "validBefore", "nonce"], "type": "object"}, "signature": {"type": "string"}}, "type": "object"}, "scheme": {"example": "exact", "type": "string"}, "x402Version": {"enum": [1, 2], "type": "integer"}}, "type": "object"}}}, "info": {"description": "Relay + settle for third-party x402 crossings. Every routed call is a governed crossing: disposition first, dual receipt pairs, the posted crossing fee is the only take. The complete contract is in GET /router.", "title": "8374 Router (8374.@router)", "version": "ROUTER-V1"}, "openapi": "3.0.3", "paths": {"/health": {"get": {"responses": {"200": {"description": "health document"}}, "summary": "router health, chain totals, registry size (on the router service; the public /health is the endpoint's)"}}, "/router": {"get": {"responses": {"200": {"description": "service document"}}, "summary": "the router service document: routes, pricing, and the complete route contract with a worked example"}}, "/router/catalog": {"get": {"responses": {"200": {"description": "catalog document"}}, "summary": "registered sellers/resources with probed terms and provenance"}}, "/router/discovery/resources": {"get": {"parameters": [{"in": "query", "name": "limit", "schema": {"default": 20, "type": "integer"}}, {"in": "query", "name": "offset", "schema": {"default": 0, "type": "integer"}}], "responses": {"200": {"description": "discovery feed"}}, "summary": "Bazaar-format discovery feed (CDP discovery schema), generated live from the registry"}}, "/router/openapi.json": {"get": {"responses": {"200": {"description": "OpenAPI 3 JSON"}}, "summary": "this OpenAPI document"}}, "/router/provenance": {"get": {"parameters": [{"in": "query", "name": "origin", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "provenance document"}}, "summary": "provenance for one origin"}}, "/router/quote": {"get": {"parameters": [{"in": "query", "name": "tier", "schema": {"default": "receipt-only", "enum": ["full-evaluation", "receipt-only"], "type": "string"}}], "responses": {"200": {"description": "quote: {tier, governance_fee_micro_usdc, settlement_charge_micro_usdc, total_micro_usdc, payTo, network, asset, scheme}"}}, "summary": "the posted crossing price for a tier: governance fee + live settlement charge"}}, "/router/register": {"post": {"requestBody": {"content": {"application/json": {"schema": {"properties": {"origin": {"description": "the seller's http(s) origin", "type": "string"}}, "required": ["origin"], "type": "object"}}}, "required": true}, "responses": {"200": {"description": "the registered registry entry with probed terms"}}, "summary": "free self-serve seller registration"}}, "/router/route": {"post": {"parameters": [{"description": "a payment payload (v1 envelope, base64) presented by header; fills the seller leg first, else the fee leg", "in": "header", "name": "X-PAYMENT", "required": false, "schema": {"type": "string"}}, {"description": "a payment payload (v2 envelope, base64) presented by header; governs when both headers are presented", "in": "header", "name": "PAYMENT-SIGNATURE", "required": false, "schema": {"type": "string"}}], "requestBody": {"content": {"application/json": {"example": {"counterparty": "example-buyer", "fee_payment": "<base64 fee-leg payload>", "payment": "<base64 seller-leg payload>", "resource": "/crossing", "resource_body": {"action": "evaluate", "counterparty": "example-buyer", "scope_ref": "ME-EVAL-01"}, "scope": "receipt-only", "seller_origin": "https://8374.stegverse.org", "settlement": "settle"}, "schema": {"properties": {"counterparty": {"type": "string"}, "evidence": {"type": "object"}, "fee_payment": {"anyOf": [{"type": "string"}, {"description": "x402 payment payload, v1 or v2 envelope", "properties": {"accepted": {"description": "v2 only: the accepted requirements echoed from the 402 challenge", "type": "object"}, "network": {"example": "eip155:8453", "type": "string"}, "payload": {"properties": {"authorization": {"properties": {"from": {"description": "buyer address (0x, 20 bytes)", "type": "string"}, "nonce": {"description": "0x + 32 bytes hex; single-use", "type": "string"}, "to": {"description": "payee address \u2014 the leg's payTo", "type": "string"}, "validAfter": {"type": "string"}, "validBefore": {"type": "string"}, "value": {"description": "exact amount in micro-USDC", "type": "string"}}, "required": ["from", "to", "value", "validAfter", "validBefore", "nonce"], "type": "object"}, "signature": {"type": "string"}}, "type": "object"}, "scheme": {"example": "exact", "type": "string"}, "x402Version": {"enum": [1, 2], "type": "integer"}}, "type": "object"}], "description": "the payment payload as a base64 string or as the decoded JSON object"}, "payment": {"anyOf": [{"type": "string"}, {"description": "x402 payment payload, v1 or v2 envelope", "properties": {"accepted": {"description": "v2 only: the accepted requirements echoed from the 402 challenge", "type": "object"}, "network": {"example": "eip155:8453", "type": "string"}, "payload": {"properties": {"authorization": {"properties": {"from": {"description": "buyer address (0x, 20 bytes)", "type": "string"}, "nonce": {"description": "0x + 32 bytes hex; single-use", "type": "string"}, "to": {"description": "payee address \u2014 the leg's payTo", "type": "string"}, "validAfter": {"type": "string"}, "validBefore": {"type": "string"}, "value": {"description": "exact amount in micro-USDC", "type": "string"}}, "required": ["from", "to", "value", "validAfter", "validBefore", "nonce"], "type": "object"}, "signature": {"type": "string"}}, "type": "object"}, "scheme": {"example": "exact", "type": "string"}, "x402Version": {"enum": [1, 2], "type": "integer"}}, "type": "object"}], "description": "the payment payload as a base64 string or as the decoded JSON object"}, "resource": {"type": "string"}, "resource_body": {"type": "object"}, "scope": {"default": "receipt-only", "enum": ["receipt-only", "ME-EVAL-01"], "type": "string"}, "seller_origin": {"type": "string"}, "settlement": {"default": "relay", "enum": ["relay", "settle"], "type": "string"}}, "required": ["counterparty", "seller_origin", "resource"], "type": "object"}}}, "required": true}, "responses": {"200": {"description": "ALLOW: {disposition, pair_id, crossing, route, settlement}"}, "403": {"description": "DENY (receipted refusal pair)"}, "422": {"description": "FAIL_CLOSED (receipted refusal pair with a six-field detail)"}}, "summary": "route one governed crossing (two EIP-3009 legs: fee leg + seller leg)"}}, "/router/settle-pair": {"post": {"responses": {"200": {"description": "settlement attempt results"}}, "summary": "operator-only: NOT exposed at the public surface (the proxy refuses it); force settlement attempts for a pair's pending legs, or sweep"}}}, "servers": [{"url": "https://8374.stegverse.org"}]}