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

# Get bank codes

> This API allows you to retrieve the list of banks available in each country.



## OpenAPI

````yaml open-api-yaml/cashouts-api/banks/get-bank-codes.json GET /banks
openapi: 3.0.0
info:
  title: Cashout Bank Codes API
  version: v3
servers:
  - url: https://api-stg.pandablue.com/v3
    description: Staging server
security:
  - bearerAuth: []
paths:
  /banks:
    get:
      summary: Retrieve Bank List by Country
      description: >-
        This API allows you to retrieve the list of banks available in each
        country.
      operationId: getBankListByCountry
      parameters:
        - name: country
          in: query
          required: true
          description: Country ISO code (2 letters).
          schema:
            type: string
            minLength: 2
            maxLength: 2
      responses:
        '200':
          description: Bank list successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Bank'
        '401':
          description: Invalid credentials error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInvalidCredentials'
components:
  schemas:
    Bank:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: >-
            Bank code. It is the value you must send in the field bank_code of
            the cashouts and deposits requests.
        name:
          type: string
          description: Name of the bank.
      required:
        - code
        - name
    ErrorInvalidCredentials:
      type: object
      properties:
        code:
          type: integer
          description: Error code.
        description:
          type: string
          description: A human-readable description of the error.
        type:
          type: string
          description: A machine-readable error type.
      required:
        - code
        - description
        - type
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Authentication using a Bearer Token (Read-Only API Key). The token
        should be prefixed with "Bearer ".

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.