Package com.stripe.param
Class TokenCreateParams.BankAccount
java.lang.Object
com.stripe.param.TokenCreateParams.BankAccount
- Enclosing class:
- TokenCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the person or business that owns the bank account.The type of entity that holds the account.Required. The account number for the bank account, in string form.The bank account type.Required. The country in which the bank account is located.The currency the bank account is in.Map of extra parameters for custom features not available in this client library.The ID of a Payment Method with atype
ofus_bank_account
.The routing number, sort code, or other country-appropriate institution number for the bank account.
-
Method Details
-
builder
-
getAccountHolderName
The name of the person or business that owns the bank account. This field is required when attaching the bank account to aCustomer
object. -
getAccountHolderType
The type of entity that holds the account. It can becompany
orindividual
. This field is required when attaching the bank account to aCustomer
object. -
getAccountNumber
Required. The account number for the bank account, in string form. Must be a checking account. -
getAccountType
The bank account type. This can only bechecking
orsavings
in most countries. In Japan, this can only befutsu
ortoza
. -
getCountry
Required. The country in which the bank account is located. -
getCurrency
The currency the bank account is in. This must be a country/currency pairing that Stripe supports. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getPaymentMethod
The ID of a Payment Method with atype
ofus_bank_account
. The Payment Method's bank account information will be copied and returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in thebank_account
hash. You must include the top-levelcustomer
parameter if the Payment Method is attached to aCustomer
object. If the Payment Method is not attached to aCustomer
object, it will be consumed and cannot be used again. You may not use Payment Methods which were created by a Setup Intent withattach_to_self=true
. -
getRoutingNumber
The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN foraccount_number
, this field is not required.
-