[−][src]Struct stripe::BankAccount
The resource representing a Stripe "BankAccount".
Fields
id: BankAccountId
Unique identifier for the object.
account: Option<Expandable<Account>>
account_holder_name: Option<String>
The name of the person or business that owns the bank account.
account_holder_type: Option<AccountHolderType>
The type of entity that holds the account.
This can be either individual
or company
.
bank_name: Option<String>
Name of the bank associated with the routing number (e.g., WELLS FARGO
).
country: Option<String>
Two-letter ISO code representing the country the bank account is located in.
currency: Currency
Three-letter ISO code for the currency paid out to the bank account.
customer: Option<Expandable<Customer>>
default_for_currency: Option<Currency>
Whether this bank account is the default external account for its currency.
deleted: bool
fingerprint: Option<String>
Uniquely identifies this particular bank account.
You can use this attribute to check whether two bank accounts are the same.
last4: Option<String>
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
routing_number: Option<String>
The routing transit number for the bank account.
status: Option<BankAccountStatus>
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. For external accounts, possible values are new
and errored
.
Validations aren't run against external accounts because they're only used for payouts.
This means the other statuses don't apply.
If a transfer fails, the status is set to errored
and transfers are stopped until account details are updated.
Trait Implementations
impl Object for BankAccount
[src]
type Id = BankAccountId
The canonical id type for this object.
fn id(&self) -> Self::Id
[src]
fn object(&self) -> &'static str
[src]
impl Clone for BankAccount
[src]
fn clone(&self) -> BankAccount
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for BankAccount
[src]
impl Serialize for BankAccount
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for BankAccount
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for BankAccount
impl Sync for BankAccount
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self