{"uid":"cap_ja6EQ750kL6jjPQgTtcAn","slug":"humanmirror-smart-dunning-bbef2ad8","name":"HumanMirror Smart Dunning","description":"HumanMirror — infrastructure de confiance, gouvernance, découverte et échange pour systèmes autonomes.","url":"https://humanmirror.fr/api/x402/automata-smart-dunning?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"context":{"type":"object","description":"Optional incident metadata. The paid decision call does not persist raw context."},"connectors":{"type":"array","items":{"type":"string"},"description":"Connector names declared as available; this is not proof of authorization."},"event_type":{"type":"string","description":"Optional observed event type for trigger matching."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"ok":true,"status":"verified_success","product":"HumanMirror Smart Dunning"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_V8L7qowYTZO1v8Fdv8dZR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs an AI-driven smart dunning decision for autonomous agents, returning a verified action status based on event type, context, and available connectors.","exampleAgentPrompt":"Run a smart dunning decision for a failed renewal event — the available connectors are 'email' and 'sms', and the context is a subscription overdue by 7 days with two prior failed attempts.","exampleUseCases":[{"title":"Failed subscription renewal recovery","prompt":"A user's subscription just failed to renew for the second time — run a smart dunning decision with connectors 'email' and 'stripe-retry' to figure out the right next action."},{"title":"Overdue invoice escalation triage","prompt":"We have an overdue invoice that's 14 days past due. Use smart dunning to evaluate whether to escalate, pause, or retry, given connectors 'sms' and 'collections-api' and event type 'invoice.overdue'."},{"title":"Autonomous billing agent pipeline step","prompt":"In our agentic billing pipeline, a payment_failed event just fired — run HumanMirror Smart Dunning with connectors 'email' and 'crm-update' to get a verified dunning action decision before proceeding."}],"resultDescription":"Returns a JSON object with an 'ok' boolean, a 'status' string (e.g. 'verified_success') indicating the dunning decision outcome, and a 'product' field confirming the HumanMirror Smart Dunning service handled the call.","failureModes":["Missing required fields (type, method, bodyType, body) returns a validation error","Invalid method enum value (not POST/PUT/PATCH) causes rejection","Unrecognized connector names may reduce decision quality but do not cause hard errors","Payment failure for the $0.01 USDC x402 call prevents execution","Malformed context object may be ignored or cause partial evaluation"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call autonomous dunning decision without setting up a full billing platform integration. Ideal for AI agent pipelines that need a trust-verified, stateless dunning recommendation based on event type and available connectors, especially when using x402 micropayment infrastructure on Base/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:04.798Z","isFirstParty":false,"canonicalSlug":"humanmirror-smart-dunning-bbef2ad8"}