
com.lithic.api.services.async.ExternalBankAccountServiceAsync.kt Maven / Gradle / Ivy
// File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.lithic.api.services.async
import com.lithic.api.core.RequestOptions
import com.lithic.api.models.ExternalBankAccountCreateParams
import com.lithic.api.models.ExternalBankAccountCreateResponse
import com.lithic.api.models.ExternalBankAccountListPageAsync
import com.lithic.api.models.ExternalBankAccountListParams
import com.lithic.api.models.ExternalBankAccountRetrieveParams
import com.lithic.api.models.ExternalBankAccountRetrieveResponse
import com.lithic.api.models.ExternalBankAccountUpdateParams
import com.lithic.api.models.ExternalBankAccountUpdateResponse
import com.lithic.api.services.async.externalBankAccounts.MicroDepositServiceAsync
interface ExternalBankAccountServiceAsync {
fun microDeposits(): MicroDepositServiceAsync
/** Creates an external bank account within a program or Lithic account. */
suspend fun create(
params: ExternalBankAccountCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountCreateResponse
/** Get the external bank account by token. */
suspend fun retrieve(
params: ExternalBankAccountRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountRetrieveResponse
/** Update the external bank account by token. */
suspend fun update(
params: ExternalBankAccountUpdateParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountUpdateResponse
/** List all the external bank accounts for the provided search criteria. */
suspend fun list(
params: ExternalBankAccountListParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountListPageAsync
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy