Class AcatsApi
java.lang.Object
markets.alpaca.client.openapi.broker.api.AcatsApi
Generated client for AcatsApi operations.
This class is generated from the configured OpenAPI spec. Operation method Javadocs include OAS summaries, descriptions, parameters, return types, response details, and external documentation links when present in the spec.
Operations
getACATSTransfer: Get transfer detailslistACATSAssets: List assets for a transferlistACATSContraBrokers: List contra brokerslistACATSTransfers: List transferslistACATSTransfersByAccount: List transfers for an accountrequestACATSTransfer: Initiate an incoming transfer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetACATSTransfer(UUID accountId, UUID acatsId) Get transfer details Includes the same information returned by the list transfers endpoints, but for just one transfer.okhttp3.CallgetACATSTransferAsync(UUID accountId, UUID acatsId, ApiCallback<AcatsTransfer> _callback) Get transfer details (asynchronously) Includes the same information returned by the list transfers endpoints, but for just one transfer.okhttp3.CallgetACATSTransferCall(UUID accountId, UUID acatsId, ApiCallback _callback) Build call for getACATSTransfergetACATSTransferWithHttpInfo(UUID accountId, UUID acatsId) Get transfer details Includes the same information returned by the list transfers endpoints, but for just one transfer.intlistACATSAssets(UUID accountId, UUID acatsId) List assets for a transfer Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets.okhttp3.CalllistACATSAssetsAsync(UUID accountId, UUID acatsId, ApiCallback<List<AcatsAsset>> _callback) List assets for a transfer (asynchronously) Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets.okhttp3.CalllistACATSAssetsCall(UUID accountId, UUID acatsId, ApiCallback _callback) Build call for listACATSAssetslistACATSAssetsWithHttpInfo(UUID accountId, UUID acatsId) List assets for a transfer Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets.List contra brokers This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers.okhttp3.CallList contra brokers (asynchronously) This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers.okhttp3.CalllistACATSContraBrokersCall(ApiCallback _callback) Build call for listACATSContraBrokersList contra brokers This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers.listACATSTransfers(String accountNumber, AcatsDtccTransferType transferType, AcatsTransferDirection transferDirection, AcatsTransferStatus transferStatus, AcatsDtccStatus dtccStatus, String contraBrokerNumber, OffsetDateTime since, OffsetDateTime until, AcatsSortDirection sortDirection, String sortBy, Integer limit, String pageToken) List transfers List all incoming and outgoing transfers, for all accounts.okhttp3.CalllistACATSTransfersAsync(String accountNumber, AcatsDtccTransferType transferType, AcatsTransferDirection transferDirection, AcatsTransferStatus transferStatus, AcatsDtccStatus dtccStatus, String contraBrokerNumber, OffsetDateTime since, OffsetDateTime until, AcatsSortDirection sortDirection, String sortBy, Integer limit, String pageToken, ApiCallback<AcatsListTransfersResponse> _callback) List transfers (asynchronously) List all incoming and outgoing transfers, for all accounts.listACATSTransfersByAccount(UUID accountId, Integer limit, String pageToken) List transfers for an account List all incoming and outgoing transfers where the account was one of the parties.okhttp3.CalllistACATSTransfersByAccountAsync(UUID accountId, Integer limit, String pageToken, ApiCallback<AcatsListTransfersResponse> _callback) List transfers for an account (asynchronously) List all incoming and outgoing transfers where the account was one of the parties.okhttp3.CalllistACATSTransfersByAccountCall(UUID accountId, Integer limit, String pageToken, ApiCallback _callback) Build call for listACATSTransfersByAccountlistACATSTransfersByAccountWithHttpInfo(UUID accountId, Integer limit, String pageToken) List transfers for an account List all incoming and outgoing transfers where the account was one of the parties.okhttp3.CalllistACATSTransfersCall(String accountNumber, AcatsDtccTransferType transferType, AcatsTransferDirection transferDirection, AcatsTransferStatus transferStatus, AcatsDtccStatus dtccStatus, String contraBrokerNumber, OffsetDateTime since, OffsetDateTime until, AcatsSortDirection sortDirection, String sortBy, Integer limit, String pageToken, ApiCallback _callback) Build call for listACATSTransferslistACATSTransfersWithHttpInfo(String accountNumber, AcatsDtccTransferType transferType, AcatsTransferDirection transferDirection, AcatsTransferStatus transferStatus, AcatsDtccStatus dtccStatus, String contraBrokerNumber, OffsetDateTime since, OffsetDateTime until, AcatsSortDirection sortDirection, String sortBy, Integer limit, String pageToken) List transfers List all incoming and outgoing transfers, for all accounts.requestACATSTransfer(UUID accountId, AcatsInitiateTransferRequest acatsInitiateTransferRequest) Initiate an incoming transfer This endpoint allows you to create new incoming ACATS requests.okhttp3.CallrequestACATSTransferAsync(UUID accountId, AcatsInitiateTransferRequest acatsInitiateTransferRequest, ApiCallback<AcatsInitiateTransferResponse> _callback) Initiate an incoming transfer (asynchronously) This endpoint allows you to create new incoming ACATS requests.okhttp3.CallrequestACATSTransferCall(UUID accountId, AcatsInitiateTransferRequest acatsInitiateTransferRequest, ApiCallback _callback) Build call for requestACATSTransferrequestACATSTransferWithHttpInfo(UUID accountId, AcatsInitiateTransferRequest acatsInitiateTransferRequest) Initiate an incoming transfer This endpoint allows you to create new incoming ACATS requests.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
AcatsApi
public AcatsApi() -
AcatsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getACATSTransferCall
public okhttp3.Call getACATSTransferCall(@Nonnull UUID accountId, @Nonnull UUID acatsId, ApiCallback _callback) throws ApiException Build call for getACATSTransfer- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
getACATSTransfer
public AcatsTransfer getACATSTransfer(@Nonnull UUID accountId, @Nonnull UUID acatsId) throws ApiException Get transfer details Includes the same information returned by the list transfers endpoints, but for just one transfer.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)- Returns:
- AcatsTransfer
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
getACATSTransferWithHttpInfo
public ApiResponse<AcatsTransfer> getACATSTransferWithHttpInfo(@Nonnull UUID accountId, @Nonnull UUID acatsId) throws ApiException Get transfer details Includes the same information returned by the list transfers endpoints, but for just one transfer.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)- Returns:
- ApiResponse<AcatsTransfer>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
getACATSTransferAsync
public okhttp3.Call getACATSTransferAsync(@Nonnull UUID accountId, @Nonnull UUID acatsId, ApiCallback<AcatsTransfer> _callback) throws ApiException Get transfer details (asynchronously) Includes the same information returned by the list transfers endpoints, but for just one transfer.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
listACATSAssetsCall
public okhttp3.Call listACATSAssetsCall(@Nonnull UUID accountId, @Nonnull UUID acatsId, ApiCallback _callback) throws ApiException Build call for listACATSAssets- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
listACATSAssets
public List<AcatsAsset> listACATSAssets(@Nonnull UUID accountId, @Nonnull UUID acatsId) throws ApiException List assets for a transfer Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets. The asset list may change as the transfer is updated by the deliverer, all the way up until the transfer settles.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)- Returns:
- List<AcatsAsset>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
listACATSAssetsWithHttpInfo
public ApiResponse<List<AcatsAsset>> listACATSAssetsWithHttpInfo(@Nonnull UUID accountId, @Nonnull UUID acatsId) throws ApiException List assets for a transfer Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets. The asset list may change as the transfer is updated by the deliverer, all the way up until the transfer settles.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)- Returns:
- ApiResponse<List<AcatsAsset>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
listACATSAssetsAsync
public okhttp3.Call listACATSAssetsAsync(@Nonnull UUID accountId, @Nonnull UUID acatsId, ApiCallback<List<AcatsAsset>> _callback) throws ApiException List assets for a transfer (asynchronously) Assets are only available for partial transfers and for transfers where the deliverer has already responded with the list of assets. The asset list may change as the transfer is updated by the deliverer, all the way up until the transfer settles.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsId- The ID of the ACATS transfer (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found. No transfer with this `acats_id` exists for the given `account_id`. - 500 Internal Server Error -
-
listACATSContraBrokersCall
Build call for listACATSContraBrokers- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSContraBrokers
List contra brokers This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers. Only participants that are either brokers or banks are returned. These numbers are the valid values for the `broker_number` property that is required for initiating transfers.- Returns:
- AcatsListContraBrokersResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSContraBrokersWithHttpInfo
public ApiResponse<AcatsListContraBrokersResponse> listACATSContraBrokersWithHttpInfo() throws ApiExceptionList contra brokers This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers. Only participants that are either brokers or banks are returned. These numbers are the valid values for the `broker_number` property that is required for initiating transfers.- Returns:
- ApiResponse<AcatsListContraBrokersResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSContraBrokersAsync
public okhttp3.Call listACATSContraBrokersAsync(ApiCallback<AcatsListContraBrokersResponse> _callback) throws ApiException List contra brokers (asynchronously) This information is provided based on the latest ACATS Participant Master File, and contains the DTCC account numbers of valid contra brokers. Only participants that are either brokers or banks are returned. These numbers are the valid values for the `broker_number` property that is required for initiating transfers.- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersCall
public okhttp3.Call listACATSTransfersCall(@Nullable String accountNumber, @Nullable AcatsDtccTransferType transferType, @Nullable AcatsTransferDirection transferDirection, @Nullable AcatsTransferStatus transferStatus, @Nullable AcatsDtccStatus dtccStatus, @Nullable String contraBrokerNumber, @Nullable OffsetDateTime since, @Nullable OffsetDateTime until, @Nullable AcatsSortDirection sortDirection, @Nullable String sortBy, @Nullable Integer limit, @Nullable String pageToken, ApiCallback _callback) throws ApiException Build call for listACATSTransfers- Parameters:
accountNumber- Filter by the account number associated with the transfer (optional)transferType- Filter by the type of the transfer (optional)transferDirection- Filter by the direction of the transfer (optional)transferStatus- Filter by the current status of the transfer (optional)dtccStatus- Filter by the current DTCC status of the transfer (optional)contraBrokerNumber- Filter by the contra broker number of the transfer (optional)since- List transfers created at or after this RFC-3339 timestamp (e.g. `2026-01-01T00:00:00Z`). (optional)until- List transfers created strictly before this RFC-3339 timestamp (exclusive -- e.g. `2026-01-01T00:00:00Z` excludes transfers created exactly at that instant). (optional)sortDirection- Specify whether transfers should be sorted by creation time in ascending or descending order (optional, default to DESC)sortBy- Specify the field to sort by. Defaults to `created_at`. (optional, default to created_at)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfers
public AcatsListTransfersResponse listACATSTransfers(@Nullable String accountNumber, @Nullable AcatsDtccTransferType transferType, @Nullable AcatsTransferDirection transferDirection, @Nullable AcatsTransferStatus transferStatus, @Nullable AcatsDtccStatus dtccStatus, @Nullable String contraBrokerNumber, @Nullable OffsetDateTime since, @Nullable OffsetDateTime until, @Nullable AcatsSortDirection sortDirection, @Nullable String sortBy, @Nullable Integer limit, @Nullable String pageToken) throws ApiException List transfers List all incoming and outgoing transfers, for all accounts. The list may include transfers not initiated using this API. The list is paginated: use the `page_token` query parameter with the value returned in the response to continue listing transfers.- Parameters:
accountNumber- Filter by the account number associated with the transfer (optional)transferType- Filter by the type of the transfer (optional)transferDirection- Filter by the direction of the transfer (optional)transferStatus- Filter by the current status of the transfer (optional)dtccStatus- Filter by the current DTCC status of the transfer (optional)contraBrokerNumber- Filter by the contra broker number of the transfer (optional)since- List transfers created at or after this RFC-3339 timestamp (e.g. `2026-01-01T00:00:00Z`). (optional)until- List transfers created strictly before this RFC-3339 timestamp (exclusive -- e.g. `2026-01-01T00:00:00Z` excludes transfers created exactly at that instant). (optional)sortDirection- Specify whether transfers should be sorted by creation time in ascending or descending order (optional, default to DESC)sortBy- Specify the field to sort by. Defaults to `created_at`. (optional, default to created_at)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)- Returns:
- AcatsListTransfersResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersWithHttpInfo
public ApiResponse<AcatsListTransfersResponse> listACATSTransfersWithHttpInfo(@Nullable String accountNumber, @Nullable AcatsDtccTransferType transferType, @Nullable AcatsTransferDirection transferDirection, @Nullable AcatsTransferStatus transferStatus, @Nullable AcatsDtccStatus dtccStatus, @Nullable String contraBrokerNumber, @Nullable OffsetDateTime since, @Nullable OffsetDateTime until, @Nullable AcatsSortDirection sortDirection, @Nullable String sortBy, @Nullable Integer limit, @Nullable String pageToken) throws ApiException List transfers List all incoming and outgoing transfers, for all accounts. The list may include transfers not initiated using this API. The list is paginated: use the `page_token` query parameter with the value returned in the response to continue listing transfers.- Parameters:
accountNumber- Filter by the account number associated with the transfer (optional)transferType- Filter by the type of the transfer (optional)transferDirection- Filter by the direction of the transfer (optional)transferStatus- Filter by the current status of the transfer (optional)dtccStatus- Filter by the current DTCC status of the transfer (optional)contraBrokerNumber- Filter by the contra broker number of the transfer (optional)since- List transfers created at or after this RFC-3339 timestamp (e.g. `2026-01-01T00:00:00Z`). (optional)until- List transfers created strictly before this RFC-3339 timestamp (exclusive -- e.g. `2026-01-01T00:00:00Z` excludes transfers created exactly at that instant). (optional)sortDirection- Specify whether transfers should be sorted by creation time in ascending or descending order (optional, default to DESC)sortBy- Specify the field to sort by. Defaults to `created_at`. (optional, default to created_at)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)- Returns:
- ApiResponse<AcatsListTransfersResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersAsync
public okhttp3.Call listACATSTransfersAsync(@Nullable String accountNumber, @Nullable AcatsDtccTransferType transferType, @Nullable AcatsTransferDirection transferDirection, @Nullable AcatsTransferStatus transferStatus, @Nullable AcatsDtccStatus dtccStatus, @Nullable String contraBrokerNumber, @Nullable OffsetDateTime since, @Nullable OffsetDateTime until, @Nullable AcatsSortDirection sortDirection, @Nullable String sortBy, @Nullable Integer limit, @Nullable String pageToken, ApiCallback<AcatsListTransfersResponse> _callback) throws ApiException List transfers (asynchronously) List all incoming and outgoing transfers, for all accounts. The list may include transfers not initiated using this API. The list is paginated: use the `page_token` query parameter with the value returned in the response to continue listing transfers.- Parameters:
accountNumber- Filter by the account number associated with the transfer (optional)transferType- Filter by the type of the transfer (optional)transferDirection- Filter by the direction of the transfer (optional)transferStatus- Filter by the current status of the transfer (optional)dtccStatus- Filter by the current DTCC status of the transfer (optional)contraBrokerNumber- Filter by the contra broker number of the transfer (optional)since- List transfers created at or after this RFC-3339 timestamp (e.g. `2026-01-01T00:00:00Z`). (optional)until- List transfers created strictly before this RFC-3339 timestamp (exclusive -- e.g. `2026-01-01T00:00:00Z` excludes transfers created exactly at that instant). (optional)sortDirection- Specify whether transfers should be sorted by creation time in ascending or descending order (optional, default to DESC)sortBy- Specify the field to sort by. Defaults to `created_at`. (optional, default to created_at)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersByAccountCall
public okhttp3.Call listACATSTransfersByAccountCall(@Nonnull UUID accountId, @Nullable Integer limit, @Nullable String pageToken, ApiCallback _callback) throws ApiException Build call for listACATSTransfersByAccount- Parameters:
accountId- Account ID associated with the ACATS transfer (required)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersByAccount
public AcatsListTransfersResponse listACATSTransfersByAccount(@Nonnull UUID accountId, @Nullable Integer limit, @Nullable String pageToken) throws ApiException List transfers for an account List all incoming and outgoing transfers where the account was one of the parties. The list may include transfers not initiated using this API. By default, the response includes all transfers for the account for backwards compatibility. To paginate results, provide the `limit` query parameter and use the `page_token` value returned in the response to continue listing transfers.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)- Returns:
- AcatsListTransfersResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersByAccountWithHttpInfo
public ApiResponse<AcatsListTransfersResponse> listACATSTransfersByAccountWithHttpInfo(@Nonnull UUID accountId, @Nullable Integer limit, @Nullable String pageToken) throws ApiException List transfers for an account List all incoming and outgoing transfers where the account was one of the parties. The list may include transfers not initiated using this API. By default, the response includes all transfers for the account for backwards compatibility. To paginate results, provide the `limit` query parameter and use the `page_token` value returned in the response to continue listing transfers.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)- Returns:
- ApiResponse<AcatsListTransfersResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
listACATSTransfersByAccountAsync
public okhttp3.Call listACATSTransfersByAccountAsync(@Nonnull UUID accountId, @Nullable Integer limit, @Nullable String pageToken, ApiCallback<AcatsListTransfersResponse> _callback) throws ApiException List transfers for an account (asynchronously) List all incoming and outgoing transfers where the account was one of the parties. The list may include transfers not initiated using this API. By default, the response includes all transfers for the account for backwards compatibility. To paginate results, provide the `limit` query parameter and use the `page_token` value returned in the response to continue listing transfers.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)limit- Maximum number of transfers to return on one page (optional)pageToken- Page token for the next or previous page, used to continue listing transfers (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 200 OK - 403 Forbidden - 500 Internal Server Error -
-
requestACATSTransferCall
public okhttp3.Call requestACATSTransferCall(@Nonnull UUID accountId, @Nonnull AcatsInitiateTransferRequest acatsInitiateTransferRequest, ApiCallback _callback) throws ApiException Build call for requestACATSTransfer- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsInitiateTransferRequest- Details of the incoming ACATS transfer to initiate. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 403 Forbidden - 422 Unprocessable Entity. Returned when: - the cleansed contra account number contains no digit at all; - `validate_account_number` is `true` and the contra account number matches none of the contra broker's enabled format rules; - the calling correspondent is pending migration, in which case the account is treated as being in distribution. - 500 Internal Server Error -
-
requestACATSTransfer
public AcatsInitiateTransferResponse requestACATSTransfer(@Nonnull UUID accountId, @Nonnull AcatsInitiateTransferRequest acatsInitiateTransferRequest) throws ApiException Initiate an incoming transfer This endpoint allows you to create new incoming ACATS requests. We currently support full and partial transfer types, for US equities and cash. Note that after submitting a request, it might take some time for the transfer to show up on the other endpoints. Transfers are not immediately sent to DTCC, and will appear in the `PENDING` state initially.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsInitiateTransferRequest- Details of the incoming ACATS transfer to initiate. (required)- Returns:
- AcatsInitiateTransferResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 403 Forbidden - 422 Unprocessable Entity. Returned when: - the cleansed contra account number contains no digit at all; - `validate_account_number` is `true` and the contra account number matches none of the contra broker's enabled format rules; - the calling correspondent is pending migration, in which case the account is treated as being in distribution. - 500 Internal Server Error -
-
requestACATSTransferWithHttpInfo
public ApiResponse<AcatsInitiateTransferResponse> requestACATSTransferWithHttpInfo(@Nonnull UUID accountId, @Nonnull AcatsInitiateTransferRequest acatsInitiateTransferRequest) throws ApiException Initiate an incoming transfer This endpoint allows you to create new incoming ACATS requests. We currently support full and partial transfer types, for US equities and cash. Note that after submitting a request, it might take some time for the transfer to show up on the other endpoints. Transfers are not immediately sent to DTCC, and will appear in the `PENDING` state initially.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsInitiateTransferRequest- Details of the incoming ACATS transfer to initiate. (required)- Returns:
- ApiResponse<AcatsInitiateTransferResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- HTTP Response Details:
Response Details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 403 Forbidden - 422 Unprocessable Entity. Returned when: - the cleansed contra account number contains no digit at all; - `validate_account_number` is `true` and the contra account number matches none of the contra broker's enabled format rules; - the calling correspondent is pending migration, in which case the account is treated as being in distribution. - 500 Internal Server Error -
-
requestACATSTransferAsync
public okhttp3.Call requestACATSTransferAsync(@Nonnull UUID accountId, @Nonnull AcatsInitiateTransferRequest acatsInitiateTransferRequest, ApiCallback<AcatsInitiateTransferResponse> _callback) throws ApiException Initiate an incoming transfer (asynchronously) This endpoint allows you to create new incoming ACATS requests. We currently support full and partial transfer types, for US equities and cash. Note that after submitting a request, it might take some time for the transfer to show up on the other endpoints. Transfers are not immediately sent to DTCC, and will appear in the `PENDING` state initially.- Parameters:
accountId- Account ID associated with the ACATS transfer (required)acatsInitiateTransferRequest- Details of the incoming ACATS transfer to initiate. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- HTTP Response Details:
Response Details Status Code Description Response Headers 202 Accepted - 400 Bad Request - 403 Forbidden - 422 Unprocessable Entity. Returned when: - the cleansed contra account number contains no digit at all; - `validate_account_number` is `true` and the contra account number matches none of the contra broker's enabled format rules; - the calling correspondent is pending migration, in which case the account is treated as being in distribution. - 500 Internal Server Error -
-