Create an ACH Relationship
Bind an ACH relationship to a trading account
Last updated
Bind an ACH relationship to a trading account
Last updated
After a trader has created a new , they should proceed to deposit funds into it. Autoshares Trader provides native functionality for managing deposits and withdrawals by means of ACH relationships. Essentially, a trader must establish an ACH relationship with their banking account and, once it's done, use it to deposit and withdraw funds to/from their banking account through Autoshares Trader's web terminal and iOS apps.
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 dictionary that contains detailed information about the new ACH relationship.
The body of this request represents the information about the to-be-created ACH relationship. It must be sent in the JSON format with the parameters described in the following table:
Parameter
Description
RoutingNumber
AccountNumber
This is the number of the banking account in the target bank. For example: 987654321222.
AccountOwnerName
This is the name of the banking account owner. For example: Robert.
Name
This is the name of the target bank. For example: Citi Bank.
ApprovalMethod
This is the approval method. The value of this parameter can be either Instant (Plaid) or Manual (Micro deposits).
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 newly created ACH relationship.
where:
Parameter
Description
Id
This is the internal identifier of the newly created ACH relationship in Autoshares Trader.
AccountId
This is an Autoshares Trader's trading account to which the ACH relationship.
RoutingNumber
AccountNumber
This is the number of the banking account in the target bank. For example: 987654321222.
AccountOwnerName
This is the name of the banking account owner. For example: Robert.
Name
This is the name of the target bank. For example: Citi Bank.
Status
This is the status of the ACH relationship.
CreatedAt
This is the precise time and date at which the ACH relationship was created.
ApprovalMethod
This is the approval method. The value of this parameter can be either Instant (Plaid) or Manual (Micro deposits).
Default
This boolean value indicates if this ACH relationship is a default one for this trading account.
Here are some of the common mistakes that developers make when attempting to send a request to establish a new ACH relationship.
If you specify the wrong Et-App-Key parameter or fail to include it in the header altogether, you'll get the following error:
Another common mistake when making this request is failing to specify all of the required body parameters. Doing so will result in the 500 status code and the following error message:
This is the routing number of the bank who opened the banking account. You can view sample routing number on .
This is the routing number of the bank who opened the banking account. You can view sample routing number on .