Class FundingWalletsApi
java.lang.Object
markets.alpaca.client.openapi.broker.api.FundingWalletsApi
Generated client for FundingWalletsApi 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
batchCreateFundingWallets: Batch create funding walletscreateFundingWallet: Creates a funding walletcreateFundingWalletRecipientBank: Create a recipient bankcreateFundingWalletWithdrawal: Create a withdrawaldeleteFundingWalletRecipientBank: Delete a recipient bankdemoDepositFunding: Create sandbox deposit transfergetFundingWallet: Retrieve funding walletgetFundingWalletRecipientBank: Retrieve recipient bankgetFundingWalletTransferByID: Retrieve funding wallet transfer by IDgetFundingWalletTransfers: Retrieve funding wallet transferslistFundingDetails: Retrieve funding details
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchCreateFundingWallets(BatchCreateFundingWalletRequest batchCreateFundingWalletRequest) Batch create funding wallets Creates funding wallets for a list of accounts in a single request.okhttp3.CallbatchCreateFundingWalletsAsync(BatchCreateFundingWalletRequest batchCreateFundingWalletRequest, ApiCallback<BatchCreateFundingWalletResponse> _callback) Batch create funding wallets (asynchronously) Creates funding wallets for a list of accounts in a single request.okhttp3.CallbatchCreateFundingWalletsCall(BatchCreateFundingWalletRequest batchCreateFundingWalletRequest, ApiCallback _callback) Build call for batchCreateFundingWalletsbatchCreateFundingWalletsWithHttpInfo(BatchCreateFundingWalletRequest batchCreateFundingWalletRequest) Batch create funding wallets Creates funding wallets for a list of accounts in a single request.createFundingWallet(String accountId) Creates a funding wallet Creates a funding wallet for the specified account.okhttp3.CallcreateFundingWalletAsync(String accountId, ApiCallback<FundingWallet> _callback) Creates a funding wallet (asynchronously) Creates a funding wallet for the specified account.okhttp3.CallcreateFundingWalletCall(String accountId, ApiCallback _callback) Build call for createFundingWalletcreateFundingWalletRecipientBank(String accountId, CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest) Create a recipient bank Creates a new recipient bank.okhttp3.CallcreateFundingWalletRecipientBankAsync(String accountId, CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest, ApiCallback<FundingWalletRecipientBank> _callback) Create a recipient bank (asynchronously) Creates a new recipient bank.okhttp3.CallcreateFundingWalletRecipientBankCall(String accountId, CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest, ApiCallback _callback) Build call for createFundingWalletRecipientBankcreateFundingWalletRecipientBankWithHttpInfo(String accountId, CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest) Create a recipient bank Creates a new recipient bank.createFundingWalletWithdrawal(String accountId, CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest) Create a withdrawal Creates a withdrawalokhttp3.CallcreateFundingWalletWithdrawalAsync(String accountId, CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest, ApiCallback<FundingWalletTransfer> _callback) Create a withdrawal (asynchronously) Creates a withdrawalokhttp3.CallcreateFundingWalletWithdrawalCall(String accountId, CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest, ApiCallback _callback) Build call for createFundingWalletWithdrawalcreateFundingWalletWithdrawalWithHttpInfo(String accountId, CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest) Create a withdrawal Creates a withdrawalcreateFundingWalletWithHttpInfo(String accountId) Creates a funding wallet Creates a funding wallet for the specified account.voiddeleteFundingWalletRecipientBank(String accountId) Delete a recipient bank deletes a recipient bank.okhttp3.CalldeleteFundingWalletRecipientBankAsync(String accountId, ApiCallback<Void> _callback) Delete a recipient bank (asynchronously) deletes a recipient bank.okhttp3.CalldeleteFundingWalletRecipientBankCall(String accountId, ApiCallback _callback) Build call for deleteFundingWalletRecipientBankDelete a recipient bank deletes a recipient bank.demoDepositFunding(DemoFundingTransfer demoFundingTransfer) Create sandbox deposit transfer Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow.okhttp3.CalldemoDepositFundingAsync(DemoFundingTransfer demoFundingTransfer, ApiCallback<DemoFundingTransfer> _callback) Create sandbox deposit transfer (asynchronously) Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow.okhttp3.CalldemoDepositFundingCall(DemoFundingTransfer demoFundingTransfer, ApiCallback _callback) Build call for demoDepositFundingdemoDepositFundingWithHttpInfo(DemoFundingTransfer demoFundingTransfer) Create sandbox deposit transfer Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow.getFundingWallet(String accountId) Retrieve funding wallet Returns the funding wallet for the specified account.okhttp3.CallgetFundingWalletAsync(String accountId, ApiCallback<FundingWallet> _callback) Retrieve funding wallet (asynchronously) Returns the funding wallet for the specified account.okhttp3.CallgetFundingWalletCall(String accountId, ApiCallback _callback) Build call for getFundingWalletvoidgetFundingWalletRecipientBank(String accountId) Retrieve recipient bank Returns the recipient bank registered against the specified account's funding wallet.okhttp3.CallgetFundingWalletRecipientBankAsync(String accountId, ApiCallback<Void> _callback) Retrieve recipient bank (asynchronously) Returns the recipient bank registered against the specified account's funding wallet.okhttp3.CallgetFundingWalletRecipientBankCall(String accountId, ApiCallback _callback) Build call for getFundingWalletRecipientBankgetFundingWalletRecipientBankWithHttpInfo(String accountId) Retrieve recipient bank Returns the recipient bank registered against the specified account's funding wallet.getFundingWalletTransferByID(String accountId, String transferId) Retrieve funding wallet transfer by ID Returns a single funding wallet transfer for the specified account by `transfer_id`.okhttp3.CallgetFundingWalletTransferByIDAsync(String accountId, String transferId, ApiCallback<FundingWalletTransfer> _callback) Retrieve funding wallet transfer by ID (asynchronously) Returns a single funding wallet transfer for the specified account by `transfer_id`.okhttp3.CallgetFundingWalletTransferByIDCall(String accountId, String transferId, ApiCallback _callback) Build call for getFundingWalletTransferByIDgetFundingWalletTransferByIDWithHttpInfo(String accountId, String transferId) Retrieve funding wallet transfer by ID Returns a single funding wallet transfer for the specified account by `transfer_id`.getFundingWalletTransfers(String accountId) Retrieve funding wallet transfers Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.okhttp3.CallgetFundingWalletTransfersAsync(String accountId, ApiCallback<ListTransfersResponse> _callback) Retrieve funding wallet transfers (asynchronously) Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.okhttp3.CallgetFundingWalletTransfersCall(String accountId, ApiCallback _callback) Build call for getFundingWalletTransfersgetFundingWalletTransfersWithHttpInfo(String accountId) Retrieve funding wallet transfers Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.getFundingWalletWithHttpInfo(String accountId) Retrieve funding wallet Returns the funding wallet for the specified account.intlistFundingDetails(String accountId, FundingDetailPaymentType paymentType, String currency) Retrieve funding details Returns a list of funding details if it exists.okhttp3.CalllistFundingDetailsAsync(String accountId, FundingDetailPaymentType paymentType, String currency, ApiCallback<List<ListFundingDetails>> _callback) Retrieve funding details (asynchronously) Returns a list of funding details if it exists.okhttp3.CalllistFundingDetailsCall(String accountId, FundingDetailPaymentType paymentType, String currency, ApiCallback _callback) Build call for listFundingDetailslistFundingDetailsWithHttpInfo(String accountId, FundingDetailPaymentType paymentType, String currency) Retrieve funding details Returns a list of funding details if it exists.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
FundingWalletsApi
public FundingWalletsApi() -
FundingWalletsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
batchCreateFundingWalletsCall
public okhttp3.Call batchCreateFundingWalletsCall(@Nonnull BatchCreateFundingWalletRequest batchCreateFundingWalletRequest, ApiCallback _callback) throws ApiException Build call for batchCreateFundingWallets- Parameters:
batchCreateFundingWalletRequest- (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 Funding wallets - 0 Error response. -
-
batchCreateFundingWallets
public BatchCreateFundingWalletResponse batchCreateFundingWallets(@Nonnull BatchCreateFundingWalletRequest batchCreateFundingWalletRequest) throws ApiException Batch create funding wallets Creates funding wallets for a list of accounts in a single request. Every `account_id` in the request must belong to your firm, and the request is rejected if a funding wallet already exists for any of the supplied accounts.- Parameters:
batchCreateFundingWalletRequest- (required)- Returns:
- BatchCreateFundingWalletResponse
- 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 Funding wallets - 0 Error response. -
-
batchCreateFundingWalletsWithHttpInfo
public ApiResponse<BatchCreateFundingWalletResponse> batchCreateFundingWalletsWithHttpInfo(@Nonnull BatchCreateFundingWalletRequest batchCreateFundingWalletRequest) throws ApiException Batch create funding wallets Creates funding wallets for a list of accounts in a single request. Every `account_id` in the request must belong to your firm, and the request is rejected if a funding wallet already exists for any of the supplied accounts.- Parameters:
batchCreateFundingWalletRequest- (required)- Returns:
- ApiResponse<BatchCreateFundingWalletResponse>
- 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 Funding wallets - 0 Error response. -
-
batchCreateFundingWalletsAsync
public okhttp3.Call batchCreateFundingWalletsAsync(@Nonnull BatchCreateFundingWalletRequest batchCreateFundingWalletRequest, ApiCallback<BatchCreateFundingWalletResponse> _callback) throws ApiException Batch create funding wallets (asynchronously) Creates funding wallets for a list of accounts in a single request. Every `account_id` in the request must belong to your firm, and the request is rejected if a funding wallet already exists for any of the supplied accounts.- Parameters:
batchCreateFundingWalletRequest- (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 Funding wallets - 0 Error response. -
-
createFundingWalletCall
public okhttp3.Call createFundingWalletCall(@Nonnull String accountId, ApiCallback _callback) throws ApiException Build call for createFundingWallet- Parameters:
accountId- UUID alpaca account ID (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 funding wallet - 0 error -
-
createFundingWallet
Creates a funding wallet Creates a funding wallet for the specified account. The request is rejected if the account already has a funding wallet.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- FundingWallet
- 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 funding wallet - 0 error -
-
createFundingWalletWithHttpInfo
public ApiResponse<FundingWallet> createFundingWalletWithHttpInfo(@Nonnull String accountId) throws ApiException Creates a funding wallet Creates a funding wallet for the specified account. The request is rejected if the account already has a funding wallet.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ApiResponse<FundingWallet>
- 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 funding wallet - 0 error -
-
createFundingWalletAsync
public okhttp3.Call createFundingWalletAsync(@Nonnull String accountId, ApiCallback<FundingWallet> _callback) throws ApiException Creates a funding wallet (asynchronously) Creates a funding wallet for the specified account. The request is rejected if the account already has a funding wallet.- Parameters:
accountId- UUID alpaca account ID (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 funding wallet - 0 error -
-
createFundingWalletRecipientBankCall
public okhttp3.Call createFundingWalletRecipientBankCall(@Nonnull String accountId, @Nullable CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest, ApiCallback _callback) throws ApiException Build call for createFundingWalletRecipientBank- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletRecipientBankRequest- (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 Success. - 0 error -
-
createFundingWalletRecipientBank
public FundingWalletRecipientBank createFundingWalletRecipientBank(@Nonnull String accountId, @Nullable CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest) throws ApiException Create a recipient bank Creates a new recipient bank. Returns the new recipient bank entity on success. entity.- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletRecipientBankRequest- (optional)- Returns:
- FundingWalletRecipientBank
- 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 Success. - 0 error -
-
createFundingWalletRecipientBankWithHttpInfo
public ApiResponse<FundingWalletRecipientBank> createFundingWalletRecipientBankWithHttpInfo(@Nonnull String accountId, @Nullable CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest) throws ApiException Create a recipient bank Creates a new recipient bank. Returns the new recipient bank entity on success. entity.- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletRecipientBankRequest- (optional)- Returns:
- ApiResponse<FundingWalletRecipientBank>
- 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 Success. - 0 error -
-
createFundingWalletRecipientBankAsync
public okhttp3.Call createFundingWalletRecipientBankAsync(@Nonnull String accountId, @Nullable CreateFundingWalletRecipientBankRequest createFundingWalletRecipientBankRequest, ApiCallback<FundingWalletRecipientBank> _callback) throws ApiException Create a recipient bank (asynchronously) Creates a new recipient bank. Returns the new recipient bank entity on success. entity.- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletRecipientBankRequest- (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 Success. - 0 error -
-
createFundingWalletWithdrawalCall
public okhttp3.Call createFundingWalletWithdrawalCall(@Nonnull String accountId, @Nonnull CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest, ApiCallback _callback) throws ApiException Build call for createFundingWalletWithdrawal- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletWithdrawalRequest- (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 Transfer - 0 Error response. -
-
createFundingWalletWithdrawal
public FundingWalletTransfer createFundingWalletWithdrawal(@Nonnull String accountId, @Nonnull CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest) throws ApiException Create a withdrawal Creates a withdrawal- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletWithdrawalRequest- (required)- Returns:
- FundingWalletTransfer
- 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 Transfer - 0 Error response. -
-
createFundingWalletWithdrawalWithHttpInfo
public ApiResponse<FundingWalletTransfer> createFundingWalletWithdrawalWithHttpInfo(@Nonnull String accountId, @Nonnull CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest) throws ApiException Create a withdrawal Creates a withdrawal- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletWithdrawalRequest- (required)- Returns:
- ApiResponse<FundingWalletTransfer>
- 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 Transfer - 0 Error response. -
-
createFundingWalletWithdrawalAsync
public okhttp3.Call createFundingWalletWithdrawalAsync(@Nonnull String accountId, @Nonnull CreateFundingWalletWithdrawalRequest createFundingWalletWithdrawalRequest, ApiCallback<FundingWalletTransfer> _callback) throws ApiException Create a withdrawal (asynchronously) Creates a withdrawal- Parameters:
accountId- UUID alpaca account ID (required)createFundingWalletWithdrawalRequest- (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 Transfer - 0 Error response. -
-
deleteFundingWalletRecipientBankCall
public okhttp3.Call deleteFundingWalletRecipientBankCall(@Nonnull String accountId, ApiCallback _callback) throws ApiException Build call for deleteFundingWalletRecipientBank- Parameters:
accountId- UUID alpaca account ID (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 recipient bank - 0 Error response. -
-
deleteFundingWalletRecipientBank
Delete a recipient bank deletes a recipient bank.- Parameters:
accountId- UUID alpaca account ID (required)- 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 recipient bank - 0 Error response. -
-
deleteFundingWalletRecipientBankWithHttpInfo
public ApiResponse<Void> deleteFundingWalletRecipientBankWithHttpInfo(@Nonnull String accountId) throws ApiException Delete a recipient bank deletes a recipient bank.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ApiResponse<Void>
- 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 recipient bank - 0 Error response. -
-
deleteFundingWalletRecipientBankAsync
public okhttp3.Call deleteFundingWalletRecipientBankAsync(@Nonnull String accountId, ApiCallback<Void> _callback) throws ApiException Delete a recipient bank (asynchronously) deletes a recipient bank.- Parameters:
accountId- UUID alpaca account ID (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 recipient bank - 0 Error response. -
-
demoDepositFundingCall
public okhttp3.Call demoDepositFundingCall(@Nonnull DemoFundingTransfer demoFundingTransfer, ApiCallback _callback) throws ApiException Build call for demoDepositFunding- Parameters:
demoFundingTransfer- (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 Demo deposit funding transfer - 0 Error response. -
-
demoDepositFunding
public DemoFundingTransfer demoDepositFunding(@Nonnull DemoFundingTransfer demoFundingTransfer) throws ApiException Create sandbox deposit transfer Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow. The transfer can only credit accounts that belong to your firm. Available in non-production (sandbox) environments only.- Parameters:
demoFundingTransfer- (required)- Returns:
- DemoFundingTransfer
- 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 Demo deposit funding transfer - 0 Error response. -
-
demoDepositFundingWithHttpInfo
public ApiResponse<DemoFundingTransfer> demoDepositFundingWithHttpInfo(@Nonnull DemoFundingTransfer demoFundingTransfer) throws ApiException Create sandbox deposit transfer Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow. The transfer can only credit accounts that belong to your firm. Available in non-production (sandbox) environments only.- Parameters:
demoFundingTransfer- (required)- Returns:
- ApiResponse<DemoFundingTransfer>
- 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 Demo deposit funding transfer - 0 Error response. -
-
demoDepositFundingAsync
public okhttp3.Call demoDepositFundingAsync(@Nonnull DemoFundingTransfer demoFundingTransfer, ApiCallback<DemoFundingTransfer> _callback) throws ApiException Create sandbox deposit transfer (asynchronously) Simulates an inbound deposit into an account's funding wallet for end-to-end testing of the deposit flow. The transfer can only credit accounts that belong to your firm. Available in non-production (sandbox) environments only.- Parameters:
demoFundingTransfer- (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 Demo deposit funding transfer - 0 Error response. -
-
getFundingWalletCall
public okhttp3.Call getFundingWalletCall(@Nonnull String accountId, ApiCallback _callback) throws ApiException Build call for getFundingWallet- Parameters:
accountId- UUID alpaca account ID (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 funding wallet - 0 error -
-
getFundingWallet
Retrieve funding wallet Returns the funding wallet for the specified account. Responds with 404 if the account has not been onboarded to funding wallets or a wallet has not been created.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- FundingWallet
- 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 funding wallet - 0 error -
-
getFundingWalletWithHttpInfo
public ApiResponse<FundingWallet> getFundingWalletWithHttpInfo(@Nonnull String accountId) throws ApiException Retrieve funding wallet Returns the funding wallet for the specified account. Responds with 404 if the account has not been onboarded to funding wallets or a wallet has not been created.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ApiResponse<FundingWallet>
- 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 funding wallet - 0 error -
-
getFundingWalletAsync
public okhttp3.Call getFundingWalletAsync(@Nonnull String accountId, ApiCallback<FundingWallet> _callback) throws ApiException Retrieve funding wallet (asynchronously) Returns the funding wallet for the specified account. Responds with 404 if the account has not been onboarded to funding wallets or a wallet has not been created.- Parameters:
accountId- UUID alpaca account ID (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 funding wallet - 0 error -
-
getFundingWalletRecipientBankCall
public okhttp3.Call getFundingWalletRecipientBankCall(@Nonnull String accountId, ApiCallback _callback) throws ApiException Build call for getFundingWalletRecipientBank- Parameters:
accountId- UUID alpaca account ID (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 recipient bank - 0 Error response. -
-
getFundingWalletRecipientBank
Retrieve recipient bank Returns the recipient bank registered against the specified account's funding wallet. Responds with 404 if no recipient bank has been registered for the account.- Parameters:
accountId- UUID alpaca account ID (required)- 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 recipient bank - 0 Error response. -
-
getFundingWalletRecipientBankWithHttpInfo
public ApiResponse<Void> getFundingWalletRecipientBankWithHttpInfo(@Nonnull String accountId) throws ApiException Retrieve recipient bank Returns the recipient bank registered against the specified account's funding wallet. Responds with 404 if no recipient bank has been registered for the account.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ApiResponse<Void>
- 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 recipient bank - 0 Error response. -
-
getFundingWalletRecipientBankAsync
public okhttp3.Call getFundingWalletRecipientBankAsync(@Nonnull String accountId, ApiCallback<Void> _callback) throws ApiException Retrieve recipient bank (asynchronously) Returns the recipient bank registered against the specified account's funding wallet. Responds with 404 if no recipient bank has been registered for the account.- Parameters:
accountId- UUID alpaca account ID (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 recipient bank - 0 Error response. -
-
getFundingWalletTransferByIDCall
public okhttp3.Call getFundingWalletTransferByIDCall(@Nonnull String accountId, @Nonnull String transferId, ApiCallback _callback) throws ApiException Build call for getFundingWalletTransferByID- Parameters:
accountId- Alpaca account UUID (required)transferId- transfer UUID (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 transfer response if found - 404 error response if transfer is not found - 0 error -
-
getFundingWalletTransferByID
public FundingWalletTransfer getFundingWalletTransferByID(@Nonnull String accountId, @Nonnull String transferId) throws ApiException Retrieve funding wallet transfer by ID Returns a single funding wallet transfer for the specified account by `transfer_id`. Responds with 404 if no matching transfer exists for the account.- Parameters:
accountId- Alpaca account UUID (required)transferId- transfer UUID (required)- Returns:
- FundingWalletTransfer
- 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 transfer response if found - 404 error response if transfer is not found - 0 error -
-
getFundingWalletTransferByIDWithHttpInfo
public ApiResponse<FundingWalletTransfer> getFundingWalletTransferByIDWithHttpInfo(@Nonnull String accountId, @Nonnull String transferId) throws ApiException Retrieve funding wallet transfer by ID Returns a single funding wallet transfer for the specified account by `transfer_id`. Responds with 404 if no matching transfer exists for the account.- Parameters:
accountId- Alpaca account UUID (required)transferId- transfer UUID (required)- Returns:
- ApiResponse<FundingWalletTransfer>
- 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 transfer response if found - 404 error response if transfer is not found - 0 error -
-
getFundingWalletTransferByIDAsync
public okhttp3.Call getFundingWalletTransferByIDAsync(@Nonnull String accountId, @Nonnull String transferId, ApiCallback<FundingWalletTransfer> _callback) throws ApiException Retrieve funding wallet transfer by ID (asynchronously) Returns a single funding wallet transfer for the specified account by `transfer_id`. Responds with 404 if no matching transfer exists for the account.- Parameters:
accountId- Alpaca account UUID (required)transferId- transfer UUID (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 transfer response if found - 404 error response if transfer is not found - 0 error -
-
getFundingWalletTransfersCall
public okhttp3.Call getFundingWalletTransfersCall(@Nonnull String accountId, ApiCallback _callback) throws ApiException Build call for getFundingWalletTransfers- Parameters:
accountId- UUID alpaca account ID (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 transfers - 0 error -
-
getFundingWalletTransfers
public ListTransfersResponse getFundingWalletTransfers(@Nonnull String accountId) throws ApiException Retrieve funding wallet transfers Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ListTransfersResponse
- 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 transfers - 0 error -
-
getFundingWalletTransfersWithHttpInfo
public ApiResponse<ListTransfersResponse> getFundingWalletTransfersWithHttpInfo(@Nonnull String accountId) throws ApiException Retrieve funding wallet transfers Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.- Parameters:
accountId- UUID alpaca account ID (required)- Returns:
- ApiResponse<ListTransfersResponse>
- 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 transfers - 0 error -
-
getFundingWalletTransfersAsync
public okhttp3.Call getFundingWalletTransfersAsync(@Nonnull String accountId, ApiCallback<ListTransfersResponse> _callback) throws ApiException Retrieve funding wallet transfers (asynchronously) Returns all funding wallet transfers (deposits and withdrawals) associated with the specified account.- Parameters:
accountId- UUID alpaca account ID (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 transfers - 0 error -
-
listFundingDetailsCall
public okhttp3.Call listFundingDetailsCall(@Nonnull String accountId, @Nullable FundingDetailPaymentType paymentType, @Nullable String currency, ApiCallback _callback) throws ApiException Build call for listFundingDetails- Parameters:
accountId- UUID alpaca account ID (required)paymentType- The type of SSI to be returned, priority (SWIFT) or regular (local). A null value returns all payment types. (optional)currency- Should be provided in ISO 4217 standard (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 list of wallets - 0 error -
-
listFundingDetails
public List<ListFundingDetails> listFundingDetails(@Nonnull String accountId, @Nullable FundingDetailPaymentType paymentType, @Nullable String currency) throws ApiException Retrieve funding details Returns a list of funding details if it exists. Query parameters must be passed to create a new funding details object if none exist.- Parameters:
accountId- UUID alpaca account ID (required)paymentType- The type of SSI to be returned, priority (SWIFT) or regular (local). A null value returns all payment types. (optional)currency- Should be provided in ISO 4217 standard (optional)- Returns:
- List<ListFundingDetails>
- 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 list of wallets - 0 error -
-
listFundingDetailsWithHttpInfo
public ApiResponse<List<ListFundingDetails>> listFundingDetailsWithHttpInfo(@Nonnull String accountId, @Nullable FundingDetailPaymentType paymentType, @Nullable String currency) throws ApiException Retrieve funding details Returns a list of funding details if it exists. Query parameters must be passed to create a new funding details object if none exist.- Parameters:
accountId- UUID alpaca account ID (required)paymentType- The type of SSI to be returned, priority (SWIFT) or regular (local). A null value returns all payment types. (optional)currency- Should be provided in ISO 4217 standard (optional)- Returns:
- ApiResponse<List<ListFundingDetails>>
- 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 list of wallets - 0 error -
-
listFundingDetailsAsync
public okhttp3.Call listFundingDetailsAsync(@Nonnull String accountId, @Nullable FundingDetailPaymentType paymentType, @Nullable String currency, ApiCallback<List<ListFundingDetails>> _callback) throws ApiException Retrieve funding details (asynchronously) Returns a list of funding details if it exists. Query parameters must be passed to create a new funding details object if none exist.- Parameters:
accountId- UUID alpaca account ID (required)paymentType- The type of SSI to be returned, priority (SWIFT) or regular (local). A null value returns all payment types. (optional)currency- Should be provided in ISO 4217 standard (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 list of wallets - 0 error -
-