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. To fund an account with an incoming wire in sandbox, use Simulate an Incoming Wire Transfer (POST /v1/testing/incoming_wires). For more on funding accounts in sandbox, see this tutorial.
Idempotency: When the Idempotency-Key header is supplied, this endpoint is
idempotent. Multiple requests for the same account with the same key and an identical
request create only one transfer. A subsequent request returns 200 with the
previously created transfer, showing its current status, and the
Idempotency-Replayed: true response header (no duplicate is created). If the same
key is used for the same account with a different request, the API returns
422 Unprocessable Entity.
- Key: at most 36 characters; an empty key, a longer one or one that is not
valid UTF-8 returns400 Bad Request. Send the bare value, without quotes: the
key is compared exactly as sent and is case-sensitive. - Identical request: requests are compared on
transfer_type,direction,
amount,relationship_id/bank_id,fee_payment_method,
additional_informationandira. Fields are compared as sent: an
omitted field does not match the same field sent with its default value (for
examplefee_payment_methodorira.tax_year).amountand the withholding
percentages are compared by value, so100matches100.00. - Scope: keys are scoped to the account in the path. The same key used for another
account is independent and creates a separate transfer. - Concurrent requests: two requests for the same account with the same key never
create two transfers. If they run at the same time, one creates the transfer and the
other returns it, or returns422if its request differs. Rarely, it can fail a
check while the first is still in progress; retry it with the same key. - Failed requests: a key is stored only when a transfer is created. If a request
fails (for example with a4xxor5xxresponse) and no transfer was created, a
retry with the same key, including one with a corrected request, is processed as a
new request.
Recommended for production: Always supply Idempotency-Key when creating
transfers. This allows safe retries on timeouts, network errors, or 5xx responses
without risking duplicate transfers. Use a unique client-generated UUIDv7 or UUIDv4
value for each transfer.