withdraw
Remove cash from the ledger in any ISO currency, subject to sufficient balance. Bookkeeping only, no real payment system connected.
Instructions
Record a cash withdrawal from the ledger, in any currency. Fails if the balance is insufficient. Bookkeeping only — no real payment system is connected.
Args: currency: ISO-style currency code, e.g. "CNY", "USD", "AUD". amount: Amount to remove; must be > 0.
Returns: Updated cash balances, or {"status": "error", "error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to remove; must be > 0. | |
| currency | Yes | ISO-style currency code, e.g. 'CNY', 'USD', 'AUD'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |