# BankAccountIdentifier

- [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SCHEMA_REPRESENTATION)
- [SgBankAccount](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgBankAccount)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgBankAccount.SCHEMA_REPRESENTATION)
- [SgFastBankAccount](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgFastBankAccount)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgFastBankAccount.SCHEMA_REPRESENTATION)
- [SwiftBusinessIdentifierCode](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SwiftBusinessIdentifierCode)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SwiftBusinessIdentifierCode.SCHEMA_REPRESENTATION)
- [SgLocalBankIdentifier](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgLocalBankIdentifier)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#SgLocalBankIdentifier.SCHEMA_REPRESENTATION)
- [UsBankAccount](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#UsBankAccount)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#UsBankAccount.SCHEMA_REPRESENTATION)
- [DomesticBankAccountNumber](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#DomesticBankAccountNumber)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#DomesticBankAccountNumber.SCHEMA_REPRESENTATION)
- [UsBankIdentifier](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#UsBankIdentifier)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#UsBankIdentifier.SCHEMA_REPRESENTATION)
- [AbaRoutingTransitNumber](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#AbaRoutingTransitNumber)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#AbaRoutingTransitNumber.SCHEMA_REPRESENTATION)
- [JapanBankAccount](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#JapanBankAccount)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#JapanBankAccount.SCHEMA_REPRESENTATION)
- [JapanLocalBankIdentifier](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#JapanLocalBankIdentifier)
  - [JSON representation](https://developers.google.com/pay/banking-fop-v2/payment-integrator-banking-fop-api/BankAccountIdentifier.md.txt#JapanLocalBankIdentifier.SCHEMA_REPRESENTATION)

Unique identifier of a bank account.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "singaporeBankAccount": { object (`SgBankAccount`) }, "usBankAccount": { object (`UsBankAccount`) }, "japanBankAccount": { object (`JapanBankAccount`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| **REQUIRED**: Unique identifier for a country-specific bank account. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `singaporeBankAccount` | ``object (`SgBankAccount`)`` An account with a bank in Singapore. |
| `usBankAccount` | ``object (`UsBankAccount`)`` An account with a bank in the United States. |
| `japanBankAccount` | ``object (`JapanBankAccount`)`` An account with a bank in Japan. |
| End of mutually exclusive fields. ||

## SgBankAccount

Details of a user's bank account in SG.

| JSON representation |
|---|
| ``` { "sgFastBankAccount": { object (`SgFastBankAccount`) }, "localBankIdentifier": { object (`SgLocalBankIdentifier`) } } ``` |

| Fields ||
|---|---|
| `sgFastBankAccount` | ``object (`SgFastBankAccount`)`` **REQUIRED**: FAST-related bank account details. |
| `localBankIdentifier` | ``object (`SgLocalBankIdentifier`)`` **REQUIRED**: Bank Id with local identifiers. |

## SgFastBankAccount

Details of a customer's bank account in SG that are relevant for operations that involve the FAST payment network.

| JSON representation |
|---|
| ``` { "localAccountNumber": string, "swiftBic": { object (`SwiftBusinessIdentifierCode`) } } ``` |

| Fields ||
|---|---|
| `localAccountNumber` | `string` **REQUIRED**: The local account number for this account. |
| `swiftBic` | ``object (`SwiftBusinessIdentifierCode`)`` **REQUIRED**: SWIFT Business Identifier Code as defined in ISO 9362. |

## SwiftBusinessIdentifierCode

SWIFT Business Identifier Code as defined in ISO 9362.

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

| Fields ||
|---|---|
| `value` | `string` **REQUIRED**: An 8-character code, defined as 'business party identifier', consisting of the business party prefix (4 alphanumeric), the country code as defnied in ISO 3166-1 (2 alphabetic), and the business party suffix (2 alphanumeric). The branch identifier is a 3-character optional element that can supplement the 8-character BIC, used to identify specific location, departments, services or units of the same business party. |

## SgLocalBankIdentifier

Local Ids for a bank in Singapore.

| JSON representation |
|---|
| ``` { "localBankCode": string, "localBranchCode": string } ``` |

| Fields ||
|---|---|
| `localBankCode` | `string` **REQUIRED**: Bank code of the customer bank. |
| `localBranchCode` | `string` **REQUIRED**: Code of the branch where the customer account is located. |

## UsBankAccount

Details of a user's bank account in the US.

| JSON representation |
|---|
| ``` { "accountNumber": { object (`DomesticBankAccountNumber`) }, "bankIdentifier": { object (`UsBankIdentifier`) } } ``` |

| Fields ||
|---|---|
| `accountNumber` | ``object (`DomesticBankAccountNumber`)`` **REQUIRED**: Account number for the bank account. |
| `bankIdentifier` | ``object (`UsBankIdentifier`)`` **REQUIRED**: Globally identifies the bank where this account is held. |

## DomesticBankAccountNumber

Local representation of a bank account number for domestic transfers.

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

| Fields ||
|---|---|
| `number` | `string` **REQUIRED**: The local bank account number. |

## UsBankIdentifier

Identifiers for a Bank in the United States.

| JSON representation |
|---|
| ``` { "swiftBic": { object (`SwiftBusinessIdentifierCode`) }, "usAbaRoutingNumber": { object (`AbaRoutingTransitNumber`) } } ``` |

| Fields ||
|---|---|
| `swiftBic` | ``object (`SwiftBusinessIdentifierCode`)`` **OPTIONAL**: SWIFT Business Identifier Code as defined in ISO 9362. |
| `usAbaRoutingNumber` | ``object (`AbaRoutingTransitNumber`)`` **REQUIRED**: US ABA routing number (ABA RTN). |

## AbaRoutingTransitNumber

An American Bankers Association (ABA) routing transit number (ABA RTN).

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

| Fields ||
|---|---|
| `value` | `string` **REQUIRED**: ABA routing transit number. |

## JapanBankAccount

Details of a user's bank account in Japan.

| JSON representation |
|---|
| ``` { "localAccountNumber": string, "localBankIdentifier": { object (`JapanLocalBankIdentifier`) } } ``` |

| Fields ||
|---|---|
| `localAccountNumber` | `string` **REQUIRED**: Local account number for the bank account. |
| `localBankIdentifier` | ``object (`JapanLocalBankIdentifier`)`` **REQUIRED**: Bank ID with local identifiers. |

## JapanLocalBankIdentifier

Local IDs for a bank in Japan.

| JSON representation |
|---|
| ``` { "localBankCode": string, "localBranchCode": string } ``` |

| Fields ||
|---|---|
| `localBankCode` | `string` **REQUIRED**: Bank code of the customer bank. |
| `localBranchCode` | `string` **REQUIRED**: Code of the branch where the customer account is located. |