{"uid":"cap_Wq5Xp1D-xTO8c0nzmwSnD","slug":"humanmirror-automata-invoice-recovery-bot-7fbc5066","name":"HumanMirror Automata Invoice Recovery Bot","description":"HumanMirror est le control plane des agents autonomes : décision avant action, preuve après exécution, routage machine et gouvernance de flotte.","url":"https://humanmirror.fr/api/x402/automata-invoice-recovery?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 Invoice Recovery Bot"}},"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_WNFISoyziUOcu0GgHnSRm","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":"Triggers an automated invoice recovery workflow for autonomous systems, returning a verification status indicating whether the recovery action succeeded.","exampleAgentPrompt":"Run the HumanMirror Invoice Recovery Bot on this failed billing event — the event type is 'payment_failed', the available connectors are ['stripe', 'ledger'], and here's the incident context: invoice INV-2024-0091 was rejected by the payment gateway yesterday.","exampleUseCases":[{"title":"Recovering a failed agent payment","prompt":"A payment from one of my autonomous agents failed last night — event type is 'payment_timeout', connectors available are ['coinbase', 'stripe']. Can you run the HumanMirror invoice recovery bot to fix it?"},{"title":"Resolving stuck invoice after connector error","prompt":"My billing connector 'ledger' threw an error and an invoice got stuck. The event type is 'connector_error'. Trigger the HumanMirror automata invoice recovery process and tell me if it succeeded."},{"title":"Automated invoice remediation pipeline","prompt":"Set up an automated step in my agent workflow: whenever an invoice event of type 'payment_declined' comes in with connectors ['paypal', 'stripe'], call the HumanMirror invoice recovery bot and verify the result before moving on."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, a 'status' field describing the outcome (e.g. 'verified_success'), and a 'product' field identifying the recovery service used. Agents can use the status field to determine next steps in a workflow.","failureModes":["Missing required 'input' object returns a validation error","Invalid method enum value (not POST/PUT/PATCH) causes schema rejection","Unrecognized bodyType causes parsing failure","Ambiguous or malformed event_type may result in no trigger match and an unresolved status","Network or upstream service errors may return a non-ok response with an error status"],"whenToPreferThis":"Use this endpoint when an autonomous agent or system needs to programmatically recover a failed, stuck, or unprocessed invoice, especially within the HumanMirror trust and governance ecosystem. Prefer this over generic retry logic when you need a verified recovery outcome with structured status reporting and connector-aware routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:38:18.462Z","isFirstParty":false,"canonicalSlug":"humanmirror-automata-invoice-recovery-bot-7fbc5066"}