BankAccount

data class BankAccount @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String? = null, val accountHolderName: String? = null, val accountHolderType: BankAccount.Type? = null, val bankName: String? = null, @Size(value = 2) val countryCode: String? = null, @Size(value = 3) val currency: String? = null, val fingerprint: String? = null, val last4: String? = null, val routingNumber: String? = null, val status: BankAccount.Status? = null) : StripeModel, StripePaymentSource

The bank account object

Constructors

Link copied to clipboard
constructor(id: String? = null, accountHolderName: String? = null, accountHolderType: BankAccount.Type? = null, bankName: String? = null, @Size(value = 2) countryCode: String? = null, @Size(value = 3) currency: String? = null, fingerprint: String? = null, last4: String? = null, routingNumber: String? = null, status: BankAccount.Status? = null)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

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

Link copied to clipboard

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

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.

Functions

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