Get All Transfers
Retrieve all deposits and withdrawals of a particular trading account
Overview
This GET endpoint enables you to retrieve all deposits and withdrawals of a particular trading account.
There are eight 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 token request. The value of this header must have the following format:
Bearer BQ898r9fefi
(Bearer
+ 1 space + the token).API version (path). Unless necessary, leave it at "1.0".
accountId (path). This is the internal identifier of the trading account in AutoShares.
pageNumber (query). This is the number of the page (all transfers are split in pages).
pageSize (query). This is the preferable size of the page (maximum value is 99).
sortField (query). This is a parameter by which all returned transfers must be sorted.
desc (query). This boolean parameter indicates if the returned transfers should be sorted in ascending (false) or descending (true) order.
Here's the final template for this API request:
Response
In response to this API request, you will receive an array of JSON dictionaries containing detailed information about all transfers on this trading account.
where:
Common Mistakes
Here are some of the common mistakes that developers make when attempting to send a request to list all transfers.
Failing to Specify the Et-App-Key Parameter
If you specify the wrong Et-App-Key parameter or fail to include it in the header altogether, you'll get the following error:
Last updated