com.lithic.api.services.blocking.ExternalBankAccountService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lithic-java-core Show documentation
Show all versions of lithic-java-core Show documentation
The Lithic Developer API is designed to provide a predictable programmatic
interface for accessing your Lithic account through an API and transaction
webhooks. Note that your API key is a secret and should be treated as such.
Don't share it with anyone, including us. We will never ask you for it.
// 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.blocking
import com.lithic.api.core.RequestOptions
import com.lithic.api.models.ExternalBankAccountCreateParams
import com.lithic.api.models.ExternalBankAccountCreateResponse
import com.lithic.api.models.ExternalBankAccountListPage
import com.lithic.api.models.ExternalBankAccountListParams
import com.lithic.api.models.ExternalBankAccountRetrieveParams
import com.lithic.api.models.ExternalBankAccountRetrieveResponse
import com.lithic.api.models.ExternalBankAccountRetryMicroDepositsParams
import com.lithic.api.models.ExternalBankAccountRetryMicroDepositsResponse
import com.lithic.api.models.ExternalBankAccountRetryPrenoteParams
import com.lithic.api.models.ExternalBankAccountRetryPrenoteResponse
import com.lithic.api.models.ExternalBankAccountUpdateParams
import com.lithic.api.models.ExternalBankAccountUpdateResponse
import com.lithic.api.services.blocking.externalBankAccounts.MicroDepositService
interface ExternalBankAccountService {
fun microDeposits(): MicroDepositService
/** Creates an external bank account within a program or Lithic account. */
@JvmOverloads
fun create(
params: ExternalBankAccountCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountCreateResponse
/** Get the external bank account by token. */
@JvmOverloads
fun retrieve(
params: ExternalBankAccountRetrieveParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountRetrieveResponse
/** Update the external bank account by token. */
@JvmOverloads
fun update(
params: ExternalBankAccountUpdateParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountUpdateResponse
/** List all the external bank accounts for the provided search criteria. */
@JvmOverloads
fun list(
params: ExternalBankAccountListParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountListPage
/** Retry external bank account micro deposit verification. */
@JvmOverloads
fun retryMicroDeposits(
params: ExternalBankAccountRetryMicroDepositsParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountRetryMicroDepositsResponse
/** Retry external bank account prenote verification. */
@JvmOverloads
fun retryPrenote(
params: ExternalBankAccountRetryPrenoteParams,
requestOptions: RequestOptions = RequestOptions.none()
): ExternalBankAccountRetryPrenoteResponse
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy