Deposit / Withdraw Funds via ACH
Deposit and withdraw funds to/from a specific trading account via ACH relationships
Last updated
Deposit and withdraw funds to/from a specific trading account via ACH relationships
Last updated
This POST endpoint enables you to deposit or withdraw funds to/from an ACH-based banking account.
There are five required parameters that must be provided in the request:
Et-App-Key (header). This is the unique key of your app that identifies your app when communicating with our service. Contact your administrator to get this key.
Authorization (header). This is the authorization token from the very first .
API version (path). Unless necessary, leave it at "1.0".
accountId (path). This is the of the trading account in Autoshares Trader.
model (body). This is a JSON file containing detailed information about the funds transfer.
The body of the request represents a JSON file containing all required parameters for performing a funds transfer.
Parameter
Description
AchRelationshipId
This is the ACH relationship through which the transfer will be performed.
Amount
This is the amount of funds to be transferred. The value must be provided in US dollars.
CloseAccount
This boolean value indicates if the trading account must be closed after the transfer if performed. Only applicable to withdrawal operations.
DaysToHoldFunds
This is the number of days by which the transfer must be delayed.
IsIncoming
This boolean value indicates the transaction type. To perform a deposit, set it to true
. Conversely, to perform a withdrawal, set it to false
.
For example:
Here's the final template for this API request:
In response to this API request, you will receive a JSON dictionary containing detailed information about the transfer.
Here are some of the common mistakes that developers make when attempting to send a request to deposit or withdraw funds.
If you specify the wrong Et-App-Key parameter or fail to include it in the header altogether, you'll get the following error: