# HumanMirror Smart Dunning

> HumanMirror Smart Dunning is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-03).

Runs an AI-driven smart dunning decision for autonomous agents, returning a verified action status based on event type, context, and available connectors.

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/automata-smart-dunning?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-smart-dunning-bbef2ad8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ja6EQ750kL6jjPQgTtcAn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability humanmirror-smart-dunning-bbef2ad8 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

HumanMirror — infrastructure de confiance, gouvernance, découverte et échange pour systèmes autonomes.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "status": "verified_success",
  "product": "HumanMirror Smart Dunning"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-smart-dunning-bbef2ad8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from humanmirror.fr](https://www.zero.xyz/host/humanmirror.fr/llms.txt)
