Class ExternalWalletsBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-09-11T14:15:30.815585Z[Etc/UTC]")
    public class ExternalWalletsBankApi
    extends Object
    • Constructor Detail

      • ExternalWalletsBankApi

        public ExternalWalletsBankApi()
      • ExternalWalletsBankApi

        @Autowired
        public ExternalWalletsBankApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createExternalWallet

        public reactor.core.publisher.Mono<ExternalWalletBankModel> createExternalWallet​(PostExternalWalletBankModel postExternalWalletBankModel)
                                                                                  throws org.springframework.web.reactive.function.client.WebClientResponseException
        Create ExternalWallet Create an ExternalWallet. ## Wallet creation External Wallets can be created for a Bank or a Customer. To create a wallet for your Bank, omit the `customer_guid` parameter in the request body. To create a wallet for your Customers, include the `customer_guid` parameter in the request body. ## State | State | Description | |-------|-------------| | storing | The Platform is storing the external wallet details in our private store | | pending | The Platform is waiting for the external wallet to be created | | completed | The Platform has created the external wallet | | failed | The Platform was not able to successfully create the external wallet | | deleting | The Platform is deleting the external wallet | | deleted | The Platform has deleted the external wallet | External wallets can be added to the bank by leaving the customer_guid blank. External wallets added to the bank can be used by any customer of the bank. External wallets can also be added to a specific customer by providing the customer_guid. External wallets added to a customer can only be used by that customer. Required scope: **external_wallets:execute**

        201 - ExternalWallet created

        400 - Invalid requests

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        409 - Data already exists

        422 - Unable to process request

        Parameters:
        postExternalWalletBankModel - The postExternalWalletBankModel parameter
        Returns:
        ExternalWalletBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • createExternalWalletWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalWalletBankModel>> createExternalWalletWithHttpInfo​(PostExternalWalletBankModel postExternalWalletBankModel)
                                                                                                                                       throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • deleteExternalWallet

        public reactor.core.publisher.Mono<ExternalWalletBankModel> deleteExternalWallet​(String externalWalletGuid)
                                                                                  throws org.springframework.web.reactive.function.client.WebClientResponseException
        Delete External Wallet Deletes an external wallet. Required scope: **external_wallets:execute**

        200 - External wallet deleted

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        404 - ExternalWallet not found

        Parameters:
        externalWalletGuid - Identifier for the external wallet.
        Returns:
        ExternalWalletBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • deleteExternalWalletWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalWalletBankModel>> deleteExternalWalletWithHttpInfo​(String externalWalletGuid)
                                                                                                                                       throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • getExternalWallet

        public reactor.core.publisher.Mono<ExternalWalletBankModel> getExternalWallet​(String externalWalletGuid)
                                                                               throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get External Wallet Retrieves an external_wallet. Required scope: **external_wallets:read**

        200 - External wallet found

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        404 - ExternalWallet not found

        Parameters:
        externalWalletGuid - Identifier for the external_wallet.
        Returns:
        ExternalWalletBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • getExternalWalletWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalWalletBankModel>> getExternalWalletWithHttpInfo​(String externalWalletGuid)
                                                                                                                                    throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • listExternalWallets

        public reactor.core.publisher.Mono<ExternalWalletListBankModel> listExternalWallets​(BigInteger page,
                                                                                            BigInteger perPage,
                                                                                            String owner,
                                                                                            String guid,
                                                                                            String bankGuid,
                                                                                            String customerGuid,
                                                                                            String asset,
                                                                                            String state)
                                                                                     throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get external wallets list Retrieves a listing of external wallets. Required scope: **external_wallets:read**

        200 - Get list of external_wallets

        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.
        owner - The owner of the entity.
        guid - Comma separated external_wallet_guids to list external_wallets for.
        bankGuid - Comma separated bank_guids to list external_wallets for.
        customerGuid - Comma separated customer_guids to list external_wallets for.
        asset - Comma separated assets to list external_wallets for.
        state - Comma separated states to list external_wallets for.
        Returns:
        ExternalWalletListBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • listExternalWalletsWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ExternalWalletListBankModel>> listExternalWalletsWithHttpInfo​(BigInteger page,
                                                                                                                                                 BigInteger perPage,
                                                                                                                                                 String owner,
                                                                                                                                                 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