> ## Documentation Index
> Fetch the complete documentation index at: https://guides.saber.money/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bank Codes for Country

> Look up the supported bank names and their `bank_code` values for a country, for use in [Add Bank Account](/api-reference/bank-account-operations/add-bank-account).

Currently only `PHL` (Philippines) is supported.


Response `data` is a flat object mapping bank name to `bank_code` — pass the `bank_code` value as-is into `add-bank-account`'s `bank_code` field.




## OpenAPI

````yaml openapi-v2.json GET /api/v2/user/bank_account/bank-codes/{countryIso}
openapi: 3.1.0
info:
  title: Saber Money API (v2)
  version: v2
  description: >-
    ## Authentication


    There is no standalone API-key auth — every request must be **signed**. An
    API key by itself authenticates nothing. Each call requires four headers
    together: `X-Api-Key` (your key), `X-Signature` (HMAC-SHA256 of `apiKey +
    timestamp` — or `apiKey + timestamp + userId` when `X-User-Id` is required —
    keyed with your API secret), `X-Timestamp` (unix seconds), and
    `X-Request-Id` (any unique string per request). The signature must be
    computed by a client script; there is no way to derive it by hand. Use the
    HMAC Generator flow to compute valid values for manual testing.


    ## Common Authentication Errors


    - **Invalid Client ID**: {"error_code":6092,"message":"X-Client-Id
    invalid","success":false}

    - **Invalid Secret**: {"error_code":6090,"message":"invalid
    secret","success":false}

    - **Timestamp (Older than 10 secs)**:
    {"errors":{"error_code":6093,"text":"timestamp expired"},"success":false}
servers:
  - url: https://api.saber.money
security: []
paths:
  /api/v2/user/bank_account/bank-codes/{countryIso}:
    get:
      tags:
        - Bank Account Operations
      summary: Get Bank Codes for Country
      description: >
        Look up the supported bank names and their `bank_code` values for a
        country, for use in [Add Bank
        Account](/api-reference/bank-account-operations/add-bank-account).


        Currently only `PHL` (Philippines) is supported.



        Response `data` is a flat object mapping bank name to `bank_code` — pass
        the `bank_code` value as-is into `add-bank-account`'s `bank_code` field.
      operationId: get-bank-codes-for-country-v2
      parameters:
        - name: countryIso
          in: path
          required: true
          description: ISO alpha-3 country code. Only `PHL` is currently supported.
          schema:
            type: string
            description: ISO alpha-3 country code. Only `PHL` is currently supported.
        - name: X-Api-Key
          in: header
          required: true
          description: Your API key (configured in credentials)
          schema:
            type: string
        - name: X-Signature
          in: header
          required: true
          description: >-
            HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256
            of `apiKey + timestamp` (or `apiKey + timestamp + userId` when
            X-User-Id is required), keyed with your API secret. The HMAC
            Generator flow computes this for you.
          schema:
            type: string
        - name: X-Timestamp
          in: header
          required: true
          description: >-
            Unix timestamp in seconds (auto-generated) Unix seconds, e.g.
            `Math.floor(Date.now() / 1000)`. Must match the timestamp used in
            the X-Signature computation.
          schema:
            type: string
        - name: X-Request-Id
          in: header
          required: true
          description: >-
            Unique request identifier (auto-generated) Any unique string per
            request, e.g. a UUID.
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      BDO Unibank:
                        type: string
                      Bank of the Philippine Islands:
                        type: string
                      Metropolitan Bank and Trust Company:
                        type: string
                      Land Bank of the Philippines:
                        type: string
              example:
                success: true
                data:
                  BDO Unibank: BDO
                  Bank of the Philippine Islands: BPI
                  Metropolitan Bank and Trust Company: MBTC
                  Land Bank of the Philippines: LBP
        '400':
          description: >-
            `5999`: Country ISO is required; `5999`: Currently only phl is
            supported.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type:
                            - integer
                            - string
                        text:
                          type: string
              example:
                success: false
                errors:
                  - code: 5999
                    text: Currently only phl is supported.
        '500':
          description: '`5999`: Something went wrong!'
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type:
                            - integer
                            - string
                        text:
                          type: string
              example:
                success: false
                errors:
                  - code: 5999
                    text: Currently only phl is supported.

````

## Related topics

- [Add Bank Account](/api-reference/bank-account-operations/add-bank-account.md)
- [Get Bank Accounts](/api-reference/bank-account-operations/get-bank-accounts.md)
- [Get Bank Account by ID](/api-reference/bank-account-operations/get-bank-account-by-id.md)
- [Get User Details](/api-reference/user-operations/get-user-details.md)
- [Through API Endpoints](/user/bank-account/api.md)
