BankAccount

data class BankAccount : StripeModel, StripePaymentSource

The bank account object

Types

Link copied to clipboard
enum Status : Enum<BankAccount.Status>
Link copied to clipboard
enum Type : Enum<BankAccount.Type>

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val accountHolderName: String? = null

The name of the person or business that owns the bank account.

Link copied to clipboard
val accountHolderType: BankAccount.Type? = null

The type of entity that holds the account. This can be either individual or company.

Link copied to clipboard
val bankName: String? = null

Name of the bank associated with the routing number (e.g., WELLS FARGO).

Link copied to clipboard
@Size(value = 2)
@get:Size(value = 2)
val countryCode: String? = null

Two-letter ISO code representing the country the bank account is located in.

Link copied to clipboard
@Size(value = 3)
@get:Size(value = 3)
val currency: String? = null

Three-letter ISO code for the currency paid out to the bank account.

Link copied to clipboard
val fingerprint: String? = null

Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.

Link copied to clipboard
open override val id: String? = null

Unique identifier for the object.

Link copied to clipboard
val last4: String? = null
Link copied to clipboard
val routingNumber: String? = null

The routing transit number for the bank account.

Link copied to clipboard
val status: BankAccount.Status? = null

For bank accounts, possible values are new, validated, verified, verification_failed, or errored. A bank account that hasn’t had any activity or validation performed is new. If Stripe can determine that the bank account exists, its status will be validated. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be verified. If the verification failed for any reason, such as microdeposit failure, the status will be verification_failed. If a transfer sent to this bank account fails, we’ll set the status to errored and will not continue to send transfers until the bank details are updated.