lemma_create_external_account
Save an external bank account as a payment recipient to enable external transfers. Verify routing and account numbers before confirming; saved recipients cannot be edited or deleted via API.
Instructions
WRITE: save a new external bank account (saved recipient) for an entity -- the required first step before any external transfer. Creates a REAL payment destination. Saved recipients are IMMUTABLE once created: there is no update API, and archiving is done by emailing the Lemma team (contact@getlemma.com), not via API -- so double-check routing/account numbers before confirming.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. Requires prior explicit approval from the human user. | |
| nickname | Yes | Human-readable label | |
| entity_id | 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. | |
| holder_name | Yes | Legal name of the account holder | |
| holder_type | Yes | ||
| account_number | Yes | ||
| holder_address | Yes | ||
| routing_number | Yes | 9-digit ABA routing number |