Class AccountApi

java.lang.Object
travel.wink.sdk.payment.api.AccountApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T12:57:53.332531+07:00[Asia/Bangkok]") public class AccountApi extends Object
  • Constructor Details

    • AccountApi

      public AccountApi()
    • AccountApi

      @Autowired public AccountApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • beginKYCPath

      public reactor.core.publisher.Mono<SendInvitationResponse> beginKYCPath(SendInvitationRequest sendInvitationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Send KYC email Starts / Re-starts account verification workflow.

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SendInvitationResponse>> beginKYCPathWithHttpInfo(SendInvitationRequest sendInvitationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createAccount

      public reactor.core.publisher.Mono<Account> createAccount(CreateAccountRequest createAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Account Create a new account

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> createAccountWithHttpInfo(CreateAccountRequest createAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createAccountBankAccount

      public reactor.core.publisher.Mono<Account> createAccountBankAccount(String id, CreateBankAccountRequest createBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Bank Account Add a bank account to an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      createBankAccountRequest - The createBankAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> createAccountBankAccountWithHttpInfo(String id, CreateBankAccountRequest createBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createAccountIntegration

      public reactor.core.publisher.Mono<Account> createAccountIntegration(String id, CreateIntegrationRequest createIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Integration Add a integration to an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      createIntegrationRequest - The createIntegrationRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> createAccountIntegrationWithHttpInfo(String id, CreateIntegrationRequest createIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createExternalAccountBankAccount

      public reactor.core.publisher.Mono<Account> createExternalAccountBankAccount(String id, CreateBankAccountRequest createBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Bank Account to External Add a bank account to an existing account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      createBankAccountRequest - The createBankAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createExternalAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> createExternalAccountBankAccountWithHttpInfo(String id, CreateBankAccountRequest createBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • createExternalAccountIntegration

      public reactor.core.publisher.Mono<Account> createExternalAccountIntegration(String id, CreateIntegrationRequest createIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Integration to External Add a integration to an existing account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      createIntegrationRequest - The createIntegrationRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createExternalAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> createExternalAccountIntegrationWithHttpInfo(String id, CreateIntegrationRequest createIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • deleteAccount

      public reactor.core.publisher.Mono<RemoveEntryResponse> deleteAccount(String id, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Account Show a specific account

      200 - OK

      Parameters:
      id - The id parameter
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • deleteAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> deleteAccountWithHttpInfo(String id, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadAccount

      public reactor.core.publisher.Mono<Account> loadAccount(String id, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account Show a specific account

      200 - OK

      Parameters:
      id - The id parameter
      accept - The accept parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> loadAccountWithHttpInfo(String id, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadAccountByName

      public reactor.core.publisher.Flux<Account> loadAccountByName(String name, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Accounts by Name Show accounts matching name

      200 - OK

      Parameters:
      name - The name parameter
      accept - The accept parameter
      Returns:
      List<Account>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadAccountByNameWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Account>>> loadAccountByNameWithHttpInfo(String name, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • loadAccountsForAuthenticatedUser

      public reactor.core.publisher.Flux<Account> loadAccountsForAuthenticatedUser(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Account for User Load account details for authenticated user

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      List<Account>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • loadAccountsForAuthenticatedUserWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Account>>> loadAccountsForAuthenticatedUserWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeAccountBankAccount

      public reactor.core.publisher.Mono<Account> removeAccountBankAccount(String id, String bankAccountId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Bank Account Remove an existing bank account for an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      bankAccountId - The bankAccountId parameter
      accept - The accept parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> removeAccountBankAccountWithHttpInfo(String id, String bankAccountId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeAccountIntegration

      public reactor.core.publisher.Mono<Account> removeAccountIntegration(String id, String integrationId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Integration Remove an existing integration for an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      integrationId - The integrationId parameter
      accept - The accept parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> removeAccountIntegrationWithHttpInfo(String id, String integrationId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeExternalAccountBankAccount

      public reactor.core.publisher.Mono<Account> removeExternalAccountBankAccount(String id, String bankAccountId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Bank Account for External Remove an existing bank account for an account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      bankAccountId - The bankAccountId parameter
      accept - The accept parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeExternalAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> removeExternalAccountBankAccountWithHttpInfo(String id, String bankAccountId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removeExternalAccountIntegration

      public reactor.core.publisher.Mono<Account> removeExternalAccountIntegration(String id, String integrationId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove Integration from External Remove an existing integration for an account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      integrationId - The integrationId parameter
      accept - The accept parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeExternalAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> removeExternalAccountIntegrationWithHttpInfo(String id, String integrationId, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • searchAccountByName

      public reactor.core.publisher.Flux<KeyValuePair> searchAccountByName(String name, Boolean ignorecase, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Accounts by Name Show accounts matching name

      200 - OK

      Parameters:
      name - The name parameter
      ignorecase - The ignorecase parameter
      accept - The accept parameter
      Returns:
      List<KeyValuePair>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchAccountByNameWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> searchAccountByNameWithHttpInfo(String name, Boolean ignorecase, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showAccountsByOwner

      public reactor.core.publisher.Flux<Account> showAccountsByOwner(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Accounts by Owner List all accounts owned by creating entity

      200 - OK

      Parameters:
      accept - The accept parameter
      Returns:
      List<Account>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAccountsByOwnerWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Account>>> showAccountsByOwnerWithHttpInfo(String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateAccount

      public reactor.core.publisher.Mono<Account> updateAccount(String id, UpdateAccountRequest updateAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Account Update an existing account

      200 - OK

      Parameters:
      id - The id parameter
      updateAccountRequest - The updateAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> updateAccountWithHttpInfo(String id, UpdateAccountRequest updateAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateExternalAccount

      public reactor.core.publisher.Mono<Account> updateExternalAccount(String id, UpdateAccountRequest updateAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update External Account Update an existing account using the externalIdentifier to find the account

      200 - OK

      Parameters:
      id - The id parameter
      updateAccountRequest - The updateAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateExternalAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> updateExternalAccountWithHttpInfo(String id, UpdateAccountRequest updateAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • upsertAccountBankAccount

      public reactor.core.publisher.Mono<Account> upsertAccountBankAccount(String id, String bankAccountId, UpdateBankAccountRequest updateBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Bank Account Update an existing bank account for an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      bankAccountId - The bankAccountId parameter
      updateBankAccountRequest - The updateBankAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • upsertAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> upsertAccountBankAccountWithHttpInfo(String id, String bankAccountId, UpdateBankAccountRequest updateBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • upsertAccountIntegration

      public reactor.core.publisher.Mono<Account> upsertAccountIntegration(String id, String integrationId, UpdateIntegrationRequest updateIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Integration Update an existing integration for an existing account using local account identifier

      200 - OK

      Parameters:
      id - The id parameter
      integrationId - The integrationId parameter
      updateIntegrationRequest - The updateIntegrationRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • upsertAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> upsertAccountIntegrationWithHttpInfo(String id, String integrationId, UpdateIntegrationRequest updateIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • upsertExternalAccountBankAccount

      public reactor.core.publisher.Mono<Account> upsertExternalAccountBankAccount(String id, String bankAccountId, UpdateBankAccountRequest updateBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Bank Account for External Update an existing bank account for an account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      bankAccountId - The bankAccountId parameter
      updateBankAccountRequest - The updateBankAccountRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • upsertExternalAccountBankAccountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> upsertExternalAccountBankAccountWithHttpInfo(String id, String bankAccountId, UpdateBankAccountRequest updateBankAccountRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • upsertExternalAccountIntegration

      public reactor.core.publisher.Mono<Account> upsertExternalAccountIntegration(String id, String integrationId, UpdateIntegrationRequest updateIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Integration for External Update an existing integration for an account using the external account identifier

      200 - OK

      Parameters:
      id - The id parameter
      integrationId - The integrationId parameter
      updateIntegrationRequest - The updateIntegrationRequest parameter
      Returns:
      Account
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • upsertExternalAccountIntegrationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Account>> upsertExternalAccountIntegrationWithHttpInfo(String id, String integrationId, UpdateIntegrationRequest updateIntegrationRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException