STPBankAccount
public class STPBankAccount : NSObject, STPAPIResponseDecodable, STPSourceProtocol
Representation of a user’s bank account details that have been tokenized with the Stripe API.
-
The routing number for the bank account. This should be the ACH routing number, not the wire routing number.
Declaration
Swift
@objc public private(set) var routingNumber: String? { get }
-
Two-letter ISO code representing the country the bank account is located in.
Declaration
Swift
@objc public private(set) var country: String? { get }
-
The default currency for the bank account.
Declaration
Swift
@objc public private(set) var currency: String? { get }
-
The last 4 digits of the account number.
Declaration
Swift
@objc public private(set) var last4: String? { get }
-
The name of the bank that owns the account.
Declaration
Swift
@objc public private(set) var bankName: String? { get }
-
The name of the person or business that owns the bank account.
Declaration
Swift
@objc public private(set) var accountHolderName: String? { get }
-
The type of entity that holds the account.
Declaration
Swift
@objc public private(set) var accountHolderType: STPBankAccountHolderType { get }
-
A proxy for the account number, this uniquely identifies the account and can be used to compare equality of different bank accounts.
Declaration
Swift
@objc public private(set) var fingerprint: String? { get }
-
The validation status of the bank account. - seealso: STPBankAccountStatus
Declaration
Swift
@objc public private(set) var status: STPBankAccountStatus { get }
-
The Stripe ID for the bank account.
Declaration
Swift
@available(*, deprecated, message: "Use stripeID (defined in STPSourceProtocol﹚") @objc public var bankAccountId: String? { get }
-
Declaration
Swift
@objc public private(set) var stripeID: String { get }
-
Declaration
Swift
@objc public private(set) var allResponseFields: [AnyHashable : Any] { get }
-
Declaration
Swift
@objc public class func decodedObject(fromAPIResponse response: [AnyHashable : Any]?) -> `Self`?