> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.solvimon.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.solvimon.com/_mcp/server.

# write_wallets_credit

**Live server:** test server (`test.mcp.solvimon.com`) only.

Creates and manages credit types (the named unit, e.g. "API Credits"), wallet types (container configuration and expiry rules) and wallets (per-customer balances). For usage that needs invoice lines, use wallets and credits rather than `NUMBER` or `AMOUNT` features.

**Actions:** `create`, `update` (not for wallets), `activate`, `deactivate`, `archive`

**Resource types:** `wallets`, `wallet_types`, `credit_types`

**`Create a credit type`**

```json Create a credit type
{
  "action": "create",
  "resource_type": "credit_types",
  "body": {"name": "API Credits", "reference": "api-credits"}
}
```