FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
square
/
square
/
doc
/
models
Edit File: get-bank-account-response.md
# Get Bank Account Response Response object returned by `GetBankAccount`. ## Structure `GetBankAccountResponse` ## Fields | Name | Type | Tags | Description | Getter | Setter | | --- | --- | --- | --- | --- | --- | | `errors` | [`?(Error[])`](../../doc/models/error.md) | Optional | Information on errors encountered during the request. | getErrors(): ?array | setErrors(?array errors): void | | `bankAccount` | [`?BankAccount`](../../doc/models/bank-account.md) | Optional | Represents a bank account. For more information about<br>linking a bank account to a Square account, see<br>[Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api). | getBankAccount(): ?BankAccount | setBankAccount(?BankAccount bankAccount): void | ## Example (as JSON) ```json { "bank_account": { "account_number_suffix": "971", "account_type": "CHECKING", "bank_name": "Bank Name", "country": "US", "creditable": false, "currency": "USD", "debitable": false, "holder_name": "Jane Doe", "id": "w3yRgCGYQnwmdl0R3GB", "location_id": "S8GWD5example", "primary_bank_identification_number": "112200303", "status": "VERIFICATION_IN_PROGRESS", "version": 5, "secondary_bank_identification_number": "secondary_bank_identification_number4", "debit_mandate_reference_id": "debit_mandate_reference_id0", "reference_id": "reference_id2", "fingerprint": "fingerprint0" }, "errors": [ { "category": "MERCHANT_SUBSCRIPTION_ERROR", "code": "MAP_KEY_LENGTH_TOO_LONG", "detail": "detail6", "field": "field4" } ] } ```
Save
Back