ConnectPlaidBankAccountRequest

data class ConnectPlaidBankAccountRequest(val account: String, val publicToken: String, val accountId: String, val institutionName: String? = null, val subtype: String? = null)

Request body for creating an ACH payment method by connecting a bank account via Plaid.

Constructors

Link copied to clipboard
constructor(account: String, publicToken: String, accountId: String, institutionName: String? = null, subtype: String? = null)

Properties

Link copied to clipboard

Identifier of the merchant account to associate with this payment method.

Link copied to clipboard
@SerializedName(value = "account_id")
val accountId: String

Plaid account identifier selected by the customer during the Link flow.

Link copied to clipboard
@SerializedName(value = "institution_name")
val institutionName: String? = null

Human-readable name of the financial institution, if available.

Link copied to clipboard
@SerializedName(value = "public_token")
val publicToken: String

Short-lived public token obtained from the Plaid Link flow.

Link copied to clipboard
val subtype: String? = null

Plaid account subtype (e.g., "checking" or "savings"), if available.