post
https://broker-api.sandbox.alpaca.markets/v1/accounts//transfers
Create a new transfer to deposit money into or withdraw money from an account.
Two transfer_type values are accepted, and both are available in sandbox and production:
ach— supports bothINCOMING(deposit) andOUTGOING(withdrawal) directions. Arelationship_idfrom a previously created ACH Relationship is required.wire— supports theOUTGOING(withdrawal) direction only. Incoming wires cannot be initiated through this endpoint; they are pushed in by the sending bank and recorded automatically. Abank_idfrom a previously created Bank Relationship is required, and the bank must be inAPPROVEDstatus before the transfer will progress pastQUEUED.
In the sandbox environment, ACH deposits and withdrawals settle instantly against virtual funds. Outgoing wire withdrawals are accepted and simulated end-to-end — no funds are transmitted to a bank, but the transfer progresses to COMPLETE and the account is debited against virtual funds. Sandbox wire withdrawals are asynchronous (not instant) and auto-complete on weekdays only; transfers submitted on a weekend will not progress until Monday. For more on funding accounts in sandbox, see this tutorial.