# MaskedBankAccountDetails

- [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#SCHEMA_REPRESENTATION)
- [BankAccountType](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountType)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountType.SCHEMA_REPRESENTATION)
- [Type](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#Type)
- [BankAccountMetadata](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountMetadata)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountMetadata.SCHEMA_REPRESENTATION)

Masked account details of a bank account.

| JSON representation |
|---|
| ``` { "accountNumberSuffix": string, "bankAccountType": { object (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountType`) }, "bankAccountMetadata": { object (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountMetadata`) } } ``` |

| Fields ||
|---|---|
| `accountNumberSuffix` | `string` **REQUIRED**: Suffix of the account number. |
| `bankAccountType` | ``object (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountType`)`` **OPTIONAL**: Account type of the bank account. |
| `bankAccountMetadata` | ``object (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#BankAccountMetadata`)`` **OPTIONAL**: Metadata about this account. |

## BankAccountType

Account type of a bank account.

| JSON representation |
|---|
| ``` { "type": enum (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#Type`) } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/MaskedBankAccountDetails#Type`)`` **REQUIRED**: The account type of a bank account. |

## Type

The bank account type.

| Enums ||
|---|---|
| `TYPE_UNSPECIFIED` | Do not ever set this default value! |
| `SAVINGS` | A savings account. |
| `CHECKING` | A checking account. |
| `CURRENT` | A current account. |

## BankAccountMetadata

Metadata about the bank account.

| JSON representation |
|---|
| ``` { "bankingProductName": string } ``` |

| Fields ||
|---|---|
| `bankingProductName` | `string` **OPTIONAL**: The banking product name of this account. |