BankAccount

February 26, 2020 ยท View on GitHub

Description

Represents a bank account. For more information about linking a bank account to a Square account, see Bank Accounts API.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe unique, Square-issued identifier for the bank account.
account_number_suffixgetAccountNumberSuffix()setAccountNumberSuffix($value)stringThe last few digits of the account number.
countrygetCountry()setCountry($value)stringThe ISO 3166 Alpha-2 country code where the bank account is based. See Country for possible values
currencygetCurrency()setCurrency($value)stringThe 3-character ISO 4217 currency code indicating the operating currency of the bank account. For example, the currency code for US dollars is `USD`. See Currency for possible values
account_typegetAccountType()setAccountType($value)stringThe financial purpose of the associated bank account. See BankAccountType for possible values
holder_namegetHolderName()setHolderName($value)stringName of the account holder. This name must match the name on the targeted bank account record.
primary_bank_identification_numbergetPrimaryBankIdentificationNumber()setPrimaryBankIdentificationNumber($value)stringPrimary identifier for the bank. For more information, see Bank Accounts API.
secondary_bank_identification_numbergetSecondaryBankIdentificationNumber()setSecondaryBankIdentificationNumber($value)stringSecondary identifier for the bank. For more information, see Bank Accounts API.[optional]
debit_mandate_reference_idgetDebitMandateReferenceId()setDebitMandateReferenceId($value)stringReference identifier that will be displayed to UK bank account owners when collecting direct debit authorization. Only required for UK bank accounts.[optional]
reference_idgetReferenceId()setReferenceId($value)stringClient-provided identifier for linking the banking account to an entity in a third-party system (for example, a bank account number or a user identifier).[optional]
location_idgetLocationId()setLocationId($value)stringThe location to which the bank account belongs.[optional]
statusgetStatus()setStatus($value)stringRead-only. The current verification status of this BankAccount object. See BankAccountStatus for possible values
creditablegetCreditable()setCreditable($value)boolIndicates whether it is possible for Square to send money to this bank account.
debitablegetDebitable()setDebitable($value)boolIndicates whether it is possible for Square to take money from this bank account.
fingerprintgetFingerprint()setFingerprint($value)stringA Square-assigned, unique identifier for the bank account based on the account information. The account fingerprint can be used to compare account entries and determine if the they represent the same real-world bank account.[optional]
versiongetVersion()setVersion($value)intThe current version of the `BankAccount`.[optional]
bank_namegetBankName()setBankName($value)stringRead only. Name of actual financial institution. For example "Bank of America".[optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]