lemma_create_card
Create a virtual debit card for a Lemma bank account. Enforce at least one spending limit to prevent unlimited spending and obtain user consent before issuance.
Instructions
WRITE -- CREATES A REAL FINANCIAL INSTRUMENT: issue a virtual debit card drawing on a Lemma bank account. At least one spending limit is REQUIRED (Lemma sets no ceiling of its own -- a card without limits could spend the entire account balance in one transaction). Requires explicit user approval before every call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. Requires prior explicit approval from the human user. | |
| nickname | Yes | ||
| reference | Yes | Stable caller-supplied identifier for THIS action (e.g. an invoice/payout ID). The Idempotency-Key is derived deterministically from it, so retrying with the same reference is safe (Lemma replays instead of re-executing). Use a NEW reference only for a genuinely new action. | |
| bank_account_id | Yes | ||
| spending_limits | Yes | At most one limit per interval; at least one required |