Skip to navigation

write_wallets_credit

Create and manage credit types, wallet types and wallets

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
{
"action": "create",
"resource_type": "credit_types",
"body": {"name": "API Credits", "reference": "api-credits"}
}