Delete an ACH Relationship
Delete an existing ACH relationship
Last updated
Delete an existing ACH relationship
Last updated
This DELETE endpoint enables you to delete an existing ACH relationship from a particular trading account.
There are six 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 to which the ACH relationship is bound.
id (path). This is the ID of the to-be-deleted ACH relationship in Autoshares Trader.
reason (query). This is a string that contains the reason for closing the ACH relationship.
Here's the final template for this API request:
In response to this API request, you will receive a JSON dictionary containing information about the deleted ACH relationship, including the Canceled status and the cancelation reason.
Here are some of the common mistakes that developers make when attempting to send a request to delete an existing 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: