STPBankAccountParams

@interface STPBankAccountParams : NSObject <STPFormEncodable>

Representation of a user’s bank account details. You can assemble these with information that your user enters and then create Stripe tokens with them using an STPAPIClient.

  • The account number for the bank account. Currently must be a checking account.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *accountNumber;

    Swift

    var accountNumber: String? { get set }
  • The last 4 digits of the bank account’s account number, if it’s been set, otherwise nil.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *last4;

    Swift

    var last4: String? { get }
  • The routing number for the bank account. This should be the ACH routing number, not the wire routing number.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *routingNumber;

    Swift

    var routingNumber: String? { get set }
  • Two-letter ISO code representing the country the bank account is located in.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *country;

    Swift

    var country: String? { get set }
  • The default currency for the bank account.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *currency;

    Swift

    var currency: String? { get set }
  • The name of the person or business that owns the bank account.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *accountHolderName;

    Swift

    var accountHolderName: String? { get set }
  • The type of entity that holds the account.

    Defaults to STPBankAccountHolderTypeIndividual.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        STPBankAccountHolderType accountHolderType;

    Swift

    var accountHolderType: STPBankAccountHolderType { get set }