Move money between Alpaca brokerage accounts and external banks via ACH, wire, and funding wallet APIs. Covers bank link setup, transfer lifecycles, and fees.
Ships in alpaca-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Getting cash into and out of end-user accounts. There are three external rails plus Instant Funding, and for the external rails the model splits cleanly into bank links (persistent) and transfers (the actual money movement).
Read
alpaca-broker-integrationfirst for base URLs and auth (client-credentials Bearer token; legacy Basic still works). For moving cash between accounts in your omnibus (vs. to/from the outside world), seealpaca-broker-journals— that's a different mechanism.
https://docs.alpaca.markets/docs/funding-accountshttps://docs.alpaca.markets/reference/createtransferforaccountalpaca-docs MCP → get-endpoint title "Broker API" path /v1/accounts/{account_id}/transfersExternal bank ──(relationship: a persistent link)──┐
├──> Transfer (the money movement) ──> Account cash
ACH relationship (rail A: ACH, US domestic) │
Bank relationship (rail B: wire, domestic + intl) │
Funding wallet (rail C: v1beta, multi-currency) ┘
APPROVED before a transfer can progress.| Rail | transfer_type | Directions | Relationship | Notes |
|---|---|---|---|---|
| ACH | ach | INCOMING + OUTGOING | ACH relationship (relationship_id) | US domestic; set up via Plaid processor_token (recommended) |
| Wire | wire | OUTGOING only | Bank relationship (bank_id) | Domestic + international (SWIFT). Incoming wires are pushed by the sending bank and booked automatically |
| Funding wallet | (separate /v1beta API) | incoming / outgoing (lowercase) | Funding-wallet recipient bank | Multi-currency, swift_wire/local_rails |
| Instant Funding | (separate /v1/instant_funding API) | credit only | none — you collect the payment yourself | Extends buying power immediately, settled in bulk by wire on T+1. See §8 |
| Method | Path | Purpose |
|---|---|---|
| POST/GET/DELETE | /v1/accounts/{id}/ach_relationships[/{rel_id}] | Manage ACH bank links |
| POST/GET/DELETE | /v1/accounts/{id}/recipient_banks[/{bank_id}] | Manage wire recipient banks |
| POST | /v1/accounts/{id}/transfers | Create transfer (ACH deposit/withdraw, or wire withdraw) |
| GET | /v1/accounts/{id}/transfers | List transfers |
| DELETE | /v1/accounts/{id}/transfers/{transfer_id} | Request cancel |
| POST/GET | /v1beta/accounts/{id}/funding_wallet | Create / get funding wallet |
| GET | /v1beta/accounts/{id}/funding_wallet/funding_details | Deposit instructions for the wallet |
| POST/GET/DELETE | /v1beta/accounts/{id}/funding_wallet/recipient_bank | Funding-wallet recipient bank |
| POST | /v1beta/accounts/{id}/funding_wallet/withdrawal | Funding-wallet withdrawal |
| GET | /v1beta/accounts/{id}/funding_wallet/transfers[/{transfer_id}] | List / get wallet transfers |
| POST/GET/DELETE | /v1/instant_funding[/{instant_funding_id}] | Create / get / reverse an instant funding transfer |
| GET | /v1/instant_funding/limits | Correspondent-level limits (/limits/accounts for per-account) |
| POST | /v1/instant_funding/settlements | Trigger settlement of created transfers |
| GET | /v2/events/funding/status | SSE — unified funding status stream (see §6) |
The current wire-bank endpoint is
/recipient_banks(schemaBank/CreateBankRequest). The older/banksname is a legacy alias.
Wallet deposit flow: create the wallet → GET .../funding_wallet/funding_details for the instructions to hand the customer → customer pushes funds (in sandbox, POST /v1beta/demo/banking/funding) → poll GET .../funding_wallet/transfers.
POST /v1/accounts/{id}/transfers)Required for all: transfer_type, amount (decimal string, > 0), direction.
// ACH deposit
{ "transfer_type": "ach", "relationship_id": "<uuid>", "amount": "100.00", "direction": "INCOMING" }
// Wire withdrawal
{ "transfer_type": "wire", "bank_id": "<uuid>", "amount": "500.00", "direction": "OUTGOING",
"fee_payment_method": "user", "additional_information": "..." }
relationship_id required iff ach; bank_id required iff wire (and must be the other one's empty).fee_payment_method (wire): user (fee deducted from amount; warn the user in UI) or invoice (firm billed monthly). Only outgoing wire fees auto-process.additional_information is wire-only — sending it on a non-wire request returns 422.Transfer response adds id, status, fee, requested_amount (original ask), reason, timestamps.POST /v1/accounts/{id}/recipient_banks)Required: name, bank_code, bank_code_type, account_number.
bank_code_type: ABA (9-digit routing, domestic) or BIC (SWIFT, international).BIC: country, city, state_province, postal_code, street_address become required.extra_fields carries intermediary/correspondent BICs (intermediary_bank1_bic…). Omitting them on international wires can cause auto-selection, delays, or extra fees — gather them up front for cross-border.QUEUED; it must reach APPROVED before a wire transfer against it progresses.Classic transfers (TransferStatus):
QUEUED → APPROVAL_PENDING → PENDING → SENT_TO_CLEARING → (APPROVED) → COMPLETE, with REJECTED / CANCELED / RETURNED as failure exits.
| Terminal | Meaning |
|---|---|
COMPLETE | Settled |
REJECTED | Rejected |
CANCELED | Client-initiated cancel |
RETURNED | Bank issued an ACH return |
(The SSE Transfer entity also reports EXPIRED, which is effectively terminal.)
Funding-wallet transfers: PENDING → EXECUTED → COMPLETE, with REJECTED (bank rejected, usually bad input) and FAILED (bank error) as the other exits. Wallet transfers cannot be canceled; the terminal set is COMPLETE / REJECTED / FAILED. The OpenAPI FundingWalletTransferStatus enum still lists CANCELED and omits REJECTED — trust the guide and treat the union as terminal. Note lowercase incoming/outgoing directions here — different casing from classic transfers.
Classic transfers HAVE an SSE stream: GET /v2/events/funding/status. It is unified across four entity_type values — Transfer, BankRelationship, WireBank, FundingWallet — and is replayable via since/until (timestamps) or since_id/until_id (ULIDs). Use it instead of polling for classic ACH/wire status.
Funding-wallet per-transfer status appears NOT to be pushed — only wallet-level status (active/pending) is in the stream. Individual wallet transfer status (PENDING→EXECUTED→COMPLETE) must be polled via GET /v1beta/.../funding_wallet/transfers/{id}.
Lesson (hard-won): rails differ in event coverage. Decide per rail whether you consume SSE or poll, and build a status-reconciliation poller for anything not covered by events (and as a safety net even for those that are — SSE can drop). Map each Alpaca status to your own internal status with an explicit lookup table, and only poll transfers still in a non-terminal state. See alpaca-broker-reconciliation-idempotency.
Legacy caveat: the older
us/sse-events"Transfer Events" payload uses an integerevent_idand lowercase statuses; the modern/v2/events/funding/statususes ULIDs. Migrate to v2.
requested_amount vs amount+fee in your UI.processor_token. There's an instant flag on the relationship. Account types limited to CHECKING/SAVINGS.403 when the account isn't permitted to deposit or withdraw. The message names the failing permission (depositable_status / withdrawable_status); neither exists as a field on the account object, so there is nothing to pre-check — handle the 403 and surface its message. 422 for incoming-wire attempts, missing/mismatched relationship vs bank IDs, or amounts under the (undocumented) minimums.Alpaca documents two ways to let a user trade before their cash lands, with different settlement obligations.
Cash pooling (omnibus + journals) — the docs call this the most common use case: bulk-wire into your pre-funded firm account, then JNLC to the user the moment you receive their payment; reverse for withdrawals. You pre-fund, so you owe Alpaca nothing per transfer. Requires Alpaca review and possibly a local money-transmitter license. See alpaca-broker-journals.
Instant Funding — POST /v1/instant_funding extends buying power at the user account without pre-funding, so Alpaca is extending you credit and you settle later. Per-account limit defaults to USD 1,000 (raiseable on request); correspondent headroom is GET /v1/instant_funding/limits, per-account headroom is GET /v1/instant_funding/limits/accounts?account_numbers=….
Settlement is your obligation and it is tight. Transfers batch in a 24-hour window ending 8 PM ET, you wire one bulk payment to your SI firm account, then call POST /v1/instant_funding/settlements (carrying the Travel Rule originator_* fields) before 1 PM ET on T+1. Late settlement accrues penalty interest at FED UB + 8%, invoiced monthly. Unreconciled transfers auto-cancel at 8 PM ET on T+1, which drops the customer account into a debit balance if they already spent the credit. Full flow: https://docs.alpaca.markets/us/docs/instant-funding.
Related skills: internal cash movement → alpaca-broker-journals; missed-status recovery → alpaca-broker-reconciliation-idempotency; money formatting → alpaca-broker-money-precision; live status → alpaca-broker-sse-events.
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/alpaca-broker-account-onboardingOpen and manage brokerage accounts via the Alpaca Broker API — account creation, KYC/CIP, identity & disclosures, agreements, document upload (incl. W-8BEN), account status lifecycle, and account updates/closure. Use when a developer is building onboarding, KYC, or account-management flows on Alpaca in any language./alpaca-trading-backtestExecute deterministic, reproducible historical backtests from a start date, end date, and strategy concept using the Alpaca CLI plus agent-written workspace code. Use when the user wants to backtest a strategy, simulate historical trades, or return trades, diagnostics, and reproducibility artifacts.
/alpaca-broker-integrationEntry point for integrating with the Alpaca Broker API (plus Market Data and Trading APIs) in any programming language. Use when a developer wants to build on Alpaca — open brokerage accounts, run KYC, fund accounts, move money via journals, place orders, consume real-time event streams, or pull market data — and need to know base URLs, auth, conventions, or which focused sub-skill to use./alpaca-broker-journalsMove cash (JNLC) and securities (JNLS) BETWEEN accounts inside your own Alpaca omnibus via the Broker API — single, batch, and reverse-batch journals, the Idempotency-Key header, journal status lifecycle including corrections, and the firm/sweep-account pattern that powers instant funding and share rewards. Use for internal account-to-account movement in any language. For deposits/withdrawals to EXTERNAL banks, use funding-transfers instead./alpaca-broker-market-dataPull and stream US stock market data from Alpaca — REST snapshots/bars/trades/quotes, historical bars with timeframes and feeds (IEX vs SIP), the assets master list, market clock & calendar, news, and the real-time WebSocket stream. Use when building charts, quotes, price feeds, or asset metadata on Alpaca in any language./alpaca-broker-money-precisionHandle money and numeric precision correctly with the Alpaca API — numbers-as-strings on the wire, decimals vs floats, rounding/truncation before sending amounts, fractional-share precision, and safe DB storage. Use when handling monetary amounts, order quantities, or prices in any Alpaca integration in any language./alpacahq-alpaca-skills:alpaca-broker-funding-transfersfrom alpaca-skills
Generated from the plugin's indexed repository (alpacahq/alpaca-skills) — no native marketplace selected
npx claudepluginhub p/alpacahq-alpaca-skillsOther plugins' skills for the same job