Class ExternalBankAccountsBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.ExternalBankAccountsBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-04T18:13:14.861197Z[Etc/UTC]") public class ExternalBankAccountsBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ExternalBankAccountsBankApi()ExternalBankAccountsBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<ExternalBankAccountBankModel>createExternalBankAccount(PostExternalBankAccountBankModel postExternalBankAccountBankModel)Create ExternalBankAccount Create an ExternalBankAccount.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>>createExternalBankAccountWithHttpInfo(PostExternalBankAccountBankModel postExternalBankAccountBankModel)reactor.core.publisher.Mono<ExternalBankAccountBankModel>deleteExternalBankAccount(String externalBankAccountGuid)Delete External Bank Account Deletes an external bank account.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>>deleteExternalBankAccountWithHttpInfo(String externalBankAccountGuid)ApiClientgetApiClient()reactor.core.publisher.Mono<ExternalBankAccountBankModel>getExternalBankAccount(String externalBankAccountGuid, Boolean forceBalanceRefresh, Boolean includeBalances, Boolean includePii)Get External Bank Account Retrieves an external bank account.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>>getExternalBankAccountWithHttpInfo(String externalBankAccountGuid, Boolean forceBalanceRefresh, Boolean includeBalances, Boolean includePii)reactor.core.publisher.Mono<ExternalBankAccountListBankModel>listExternalBankAccounts(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid, String asset, String state)Get external bank accounts list Retrieves a listing of external bank accounts.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountListBankModel>>listExternalBankAccountsWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid, String asset, String state)reactor.core.publisher.Mono<ExternalBankAccountBankModel>patchExternalBankAccount(String externalBankAccountGuid, PatchExternalBankAccountBankModel patchExternalBankAccountBankModel)Patch ExternalBankAccount Patch an external bank account.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>>patchExternalBankAccountWithHttpInfo(String externalBankAccountGuid, PatchExternalBankAccountBankModel patchExternalBankAccountBankModel)voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ExternalBankAccountsBankApi
public ExternalBankAccountsBankApi()
-
ExternalBankAccountsBankApi
@Autowired public ExternalBankAccountsBankApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createExternalBankAccount
public reactor.core.publisher.Mono<ExternalBankAccountBankModel> createExternalBankAccount(PostExternalBankAccountBankModel postExternalBankAccountBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
Create ExternalBankAccount Create an ExternalBankAccount. ## Account creation Accounts can be created for a Bank or a Customer. To create accounts for your Bank, omit the `customer_guid` parameter in the request body. To create accounts for your Customers, include the `customer_guid` parameter in the request body. ## State | State | Description | |-------|-------------| | storing | The Platform is storing the external bank account details in our private store | | completed | The Platform has created the external bank account | | unverified | The external bank account is created, but it has not yet been verified | | failed | The Platform was not able to successfully create the external bank account | | refresh_required | The Platform has created the external bank account, but needs to be refreshed | | deleting | The Platform is deleting the external bank account | | deleted | The Platform has deleted the external bank account | ## Failure codes | Code | Description | |------|-------------| | invalid_routing_number | The provided routing number is invalid | | duplicate | An account with the same details already exists | | plaid_processor_token | An account could not be created due to an invalid Plaid processor token or an error with Plaid | | plaid_multiple_accounts | The supplied Plaid token is associated with multiple accounts. Must only be a single account. | | create_failed | The bank account and associated holder could not be created correctly | | unverified_counterparty | The counterparty account is unverified | Required scope: **external_bank_accounts:execute**201 - ExternalBankAccount created
400 - Invalid requests
401 - Unauthorized - Authentication failed,
403 - Invalid scope
422 - Unable to process request
- Parameters:
postExternalBankAccountBankModel- The postExternalBankAccountBankModel parameter- Returns:
- ExternalBankAccountBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createExternalBankAccountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>> createExternalBankAccountWithHttpInfo(PostExternalBankAccountBankModel postExternalBankAccountBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
deleteExternalBankAccount
public reactor.core.publisher.Mono<ExternalBankAccountBankModel> deleteExternalBankAccount(String externalBankAccountGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
Delete External Bank Account Deletes an external bank account. Required scope: **external_bank_accounts:execute**200 - External bank account deleted
401 - Unauthorized - Authentication failed,
403 - Invalid scope
404 - ExternalBankAccount not found
- Parameters:
externalBankAccountGuid- Identifier for the external bank account.- Returns:
- ExternalBankAccountBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
deleteExternalBankAccountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>> deleteExternalBankAccountWithHttpInfo(String externalBankAccountGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
getExternalBankAccount
public reactor.core.publisher.Mono<ExternalBankAccountBankModel> getExternalBankAccount(String externalBankAccountGuid, Boolean forceBalanceRefresh, Boolean includeBalances, Boolean includePii) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get External Bank Account Retrieves an external bank account. ## ExternalBankAccount retrieval When retrieving an external bank account and include_balances is set to true, the Platform will attempt to retrieve the balance from the account's financial institution. If force_balance_refresh is set to true, the Platform will always attempt to retrieve the most up to date balance from the account's financial institution. If force_balance_refresh is set to false, the Platform will return the cached balance. If while getting the balance the Platform determines that the account needs to be refreshed, the Platform will return a 422 status code with the message \"Bank account refresh required\" and the ExternalBankAccount will be put into the refresh_required state. If while getting the balance the Platform determines that the account is no longer valid, the Platform will return a 422 status code with the message \"Bank account can no longer be used and is being deleted. It must be re-added\" and the ExternalBankAccount will be deleted. When retrieving an external bank account and include_pii is set to true, the Platform will include the account holder's information in the response. Required scope: **external_bank_accounts:read**200 - External bank account found
401 - Unauthorized - Authentication failed,
403 - Invalid scope
404 - ExternalBankAccount not found
422 - Unable to process request
- Parameters:
externalBankAccountGuid- Identifier for the external bank account.forceBalanceRefresh- Force the balance on the account to be retrieved.includeBalances- Include balance information in the response. If `force_balance_refresh` is `true`, the most up to date balance will be returned. If `force_balance_refresh` is `false`, the cached balance will be returned. `balance_updated_at` in the response will provide the timestamp the balance was last updated.includePii- Include the account holder's PII in the response.- Returns:
- ExternalBankAccountBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
getExternalBankAccountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>> getExternalBankAccountWithHttpInfo(String externalBankAccountGuid, Boolean forceBalanceRefresh, Boolean includeBalances, Boolean includePii) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
listExternalBankAccounts
public reactor.core.publisher.Mono<ExternalBankAccountListBankModel> listExternalBankAccounts(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid, String asset, String state) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get external bank accounts list Retrieves a listing of external bank accounts. Required scope: **external_bank_accounts:read**200 - Get list of external_bank_accounts
400 - Invalid requests
401 - Unauthorized - Authentication failed,
403 - Invalid scope
- Parameters:
page- The page index to retrieve.perPage- The number of entities per page to return.guid- Comma separated external_bank_account_guids to list external_bank_accounts for.bankGuid- Comma separated bank_guids to list external_bank_accounts for.customerGuid- Comma separated customer_guids to list external_bank_accounts for.asset- Comma separated assets to list external_bank_accounts for.state- Comma separated states to list external_bank_accounts for. Filtering by \"completed\" and \"unverified\" states is only supported for individual customer accounts.- Returns:
- ExternalBankAccountListBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
listExternalBankAccountsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountListBankModel>> listExternalBankAccountsWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String bankGuid, String customerGuid, String asset, String state) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
patchExternalBankAccount
public reactor.core.publisher.Mono<ExternalBankAccountBankModel> patchExternalBankAccount(String externalBankAccountGuid, PatchExternalBankAccountBankModel patchExternalBankAccountBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
Patch ExternalBankAccount Patch an external bank account. Required scope: **external_bank_accounts:write**200 - external bank account found
401 - Unauthorized - Authentication failed,
403 - Invalid scope
404 - ExternalBankAccount not found
- Parameters:
externalBankAccountGuid- Identifier for the external bank account.patchExternalBankAccountBankModel- The patchExternalBankAccountBankModel parameter- Returns:
- ExternalBankAccountBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
patchExternalBankAccountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalBankAccountBankModel>> patchExternalBankAccountWithHttpInfo(String externalBankAccountGuid, PatchExternalBankAccountBankModel patchExternalBankAccountBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-