{"uid":"cap_BbbVYd-muT78Ne0IZgWiE","slug":"agent-identity-credential-acceptance-and-counterparty-verification-6ef1598e","name":"Agent Identity Credential Acceptance and Counterparty Verification Procedure","description":"Deterministic gate for an agent presented with an issuer-signed agent identity credential or identity tag before transacting. Ordered checks: issuer trust (who signed, verification key published, issuer linked to rail or facilitator), key binding via proof of possession against the session signing key, non-transferability (no reuse across agents, resale signals forgery), revocation and expiry checked before and at settlement, scope binding (a tag asserts identity, not payment authority), and","url":"https://k2so.wrong.systems/api/services/agent-identity-credential-acceptance-and-counter","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent identity credential acceptance and counterparty verification procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-identity-credential-acceptance-and-counter","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-identity-credential-acceptance-and-counter","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2TKKK_nQk4YN5DqaYQ8TZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a paid LLM-generated decision procedure brief explaining how an autonomous agent should accept identity credentials and verify counterparties before transacting.","exampleAgentPrompt":"Walk me through the decision procedure my agent should follow when accepting identity credentials and verifying a counterparty before committing to a transaction — I need the full step-by-step reasoning brief.","exampleUseCases":[{"title":"Pre-transaction counterparty vetting for agent fleet","prompt":"My fleet of autonomous agents keeps encountering unknown counterparties in x402 flows — can you generate the decision procedure they should all follow for accepting identity credentials before settling any payment?"},{"title":"Onboarding credential gate for a new agent merchant","prompt":"I'm launching a new AI agent merchant on Base and I want a clear procedure for how it should evaluate and accept or reject incoming identity credentials from buyer agents — give me the full brief."},{"title":"Compliance-oriented identity acceptance policy","prompt":"For our compliance review, I need a written decision procedure covering how an autonomous agent should handle counterparty credential acceptance and verification, including what to check and when to reject — can you produce that?"}],"resultDescription":"A JSON response containing a plain-prose decision procedure brief (120+ words) tailored to agent identity credential acceptance and counterparty verification, including the topic, service slug, generation source (llm/reasoning/deterministic), the model used, and an ISO-8601 timestamp. Payment confirmation fields indicate the USDC micropayment was settled via x402.","failureModes":["HTTP 402 returned before payment — agent must settle exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or missing payment signature returns authentication error","Topic override parameter ignored or misformatted results in default topic being used","LLM generation failure may return ok:false with an error detail in the result","Network timeout on k2so.wrong.systems during heartbeat gap"],"whenToPreferThis":"Choose this endpoint when an autonomous agent needs an on-demand, LLM-generated decision procedure specifically for identity credential acceptance and counterparty verification in x402 or agent-to-agent commerce contexts. It is preferable to static documentation when the agent needs prose reasoning it can act on directly, and when micropayment-per-call economics ($0.002 USDC) suit the use case better than a subscription or self-hosted policy engine.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:53:14.306Z","isFirstParty":false}