Class TransfersBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.TransfersBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-14T15:38:56.783574Z[Etc/UTC]") public class TransfersBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description TransfersBankApi()TransfersBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<TransferBankModel>createTransfer(PostTransferBankModel postTransferBankModel)Create Transfer Creates a transfer.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferBankModel>>createTransferWithHttpInfo(PostTransferBankModel postTransferBankModel)ApiClientgetApiClient()reactor.core.publisher.Mono<TransferBankModel>getTransfer(String transferGuid)Get Transfer Retrieves a transfer.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferBankModel>>getTransferWithHttpInfo(String transferGuid)reactor.core.publisher.Mono<TransferListBankModel>listTransfers(BigInteger page, BigInteger perPage, String guid, String transferType, String bankGuid, String customerGuid, String accountGuid, String state, String label)Get transfers list Retrieves a listing of transfers.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferListBankModel>>listTransfersWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String transferType, String bankGuid, String customerGuid, String accountGuid, String state, String label)voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
TransfersBankApi
public TransfersBankApi()
-
TransfersBankApi
@Autowired public TransfersBankApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createTransfer
public reactor.core.publisher.Mono<TransferBankModel> createTransfer(PostTransferBankModel postTransferBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
Create Transfer Creates a transfer. ## State | State | Description | |-------|-------------| | storing | The Platform is storing the trade details in our private store | | pending | The Platform is executing the transfer | | completed | The Platform has successfully completed the transfer | | failed | The Platform was not able to successfully complete the transfer | ## Failure codes | Code | Description | |------|-------------| | non_sufficient_funds | The customer does not have enough funds to complete the transfer | | refresh_required | The transfer's associated external_bank_account needs to be reconnected via Plaid | | party_name_invalid | The transfer's associated external bank account has an invalid party name | | limit_exceeded | The customer is over the limits that have been set for them for this activity | | compliance_rejection | The transfer was rejected for compliance reasons | Required scope: **transfers:execute**201 - Transfer created
400 - Invalid requests
401 - Unauthorized - Authentication failed,
403 - Invalid scope
409 - Data already exists
422 - Unable to process request
- Parameters:
postTransferBankModel- The postTransferBankModel parameter- Returns:
- TransferBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createTransferWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferBankModel>> createTransferWithHttpInfo(PostTransferBankModel postTransferBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
getTransfer
public reactor.core.publisher.Mono<TransferBankModel> getTransfer(String transferGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get Transfer Retrieves a transfer. Required scope: **transfers:read**200 - transfer found
401 - Unauthorized - Authentication failed,
403 - Invalid scope
404 - transfer not found
- Parameters:
transferGuid- Identifier for the transfer.- Returns:
- TransferBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
getTransferWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferBankModel>> getTransferWithHttpInfo(String transferGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
listTransfers
public reactor.core.publisher.Mono<TransferListBankModel> listTransfers(BigInteger page, BigInteger perPage, String guid, String transferType, String bankGuid, String customerGuid, String accountGuid, String state, String label) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get transfers list Retrieves a listing of transfers. Required scope: **transfers:read**200 - get list of transfers
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 transfer_guids to list transfers for.transferType- Comma separated transfer_types to list accounts for.bankGuid- Comma separated bank_guids to list transfers for.customerGuid- Comma separated customer_guids to list transfers for.accountGuid- Comma separated account_guids to list transfers for.state- Comma separated states to list transfers for.label- Comma separated labels to list transfers for.- Returns:
- TransferListBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
listTransfersWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<TransferListBankModel>> listTransfersWithHttpInfo(BigInteger page, BigInteger perPage, String guid, String transferType, String bankGuid, String customerGuid, String accountGuid, String state, String label) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-