> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# card_flow.failed

> The mint did not complete.

The mint did not complete. `funds_status` says where the money went (`released_to_headroom`).

`reason` says why:

| `reason` | Meaning | What to do |
| - | - | - |
| `mint_failed` | The card could not be created. | Send the request again with a new `Idempotency-Key`. The same key returns this failure again. |
| `card_limit_reached` | This cardholder has reached the limit on new cards for now. A new card for the same cardholder gets the same answer. | Raise the limit of an open company-funded multi-use card (below), or create the card for a different cardholder. |
| `top_up_failed` | A limit raise on an existing card did not apply. | Send the top-up again with a new `Idempotency-Key`. The same key returns this failure again. |
| `card_closed` | The card closed before the funds were applied. | Create a new card with a new `Idempotency-Key`. |

When the cap stops a company-funded card, `POST /api/v2/cards` answers `422`:

```json theme={null}
{
  "error": {
    "code": "card_limit_reached",
    "message": "This user has reached the limit on new cards for now. Issue the card to a different user, or close one of their open cards first.",
    "docs": "https://docs.agentcard.com",
    "transfer_id": "owt_1f2e"
  }
}
```

Raise the limit of a multi-use card the cardholder already has, here by \$25.00:

```bash theme={null}
curl -X POST https://api.agentcard.sh/api/v2/cards/card_7c1d/topups \
  -H "Authorization: Bearer $ORG_TOKEN" \
  -H "Idempotency-Key: order-1042-topup" \
  -H "Content-Type: application/json" \
  -d '{"amount_cents": 2500}'
```

```json theme={null}
{
  "id": "evt_9f8e7d6c5b4a",
  "type": "card_flow.failed",
  "created": 1757264400,
  "livemode": false,
  "data": {
    "transfer_id": "owt_1f2e",
    "cardholder_id": "ch_2b3c",
    "amount_cents": 2500,
    "reason": "mint_failed",
    "funds_status": "released_to_headroom"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.