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

# Get Banks

> Lists the active banks. Use the `id` as `bankId` when registering a bank account.

This endpoint is public: it does not require an access token.

#### Response

An array of banks:

| Field | Description |
| --- | --- |
| id | Bank identifier. |
| code | Bank code used by the payment rail. |
| name | Bank name. |
| status | Whether the bank is active. |

IDs can differ between test and production: always read them from the parameter endpoints of the environment you use.



## OpenAPI

````yaml /business/openapi.json get /api/parameters/banks
openapi: 3.1.0
info:
  title: Kravata Business API
  version: '1.0'
  description: >-
    Kravata Business API: on-ramp and off-ramp orders, accounts and wallets,
    users, custody wallets and transfers.
servers:
  - url: https://testapi.kravata.co
    description: Test
  - url: https://apiv2.kravata.co
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Accounts
  - name: Wallets
  - name: Users
  - name: Ramp Orders
  - name: Custody
  - name: Webhooks
paths:
  /api/parameters/banks:
    get:
      tags:
        - Accounts
      summary: Get Banks
      description: >-
        Lists the active banks. Use the `id` as `bankId` when registering a bank
        account.


        This endpoint is public: it does not require an access token.


        #### Response


        An array of banks:


        | Field | Description |

        | --- | --- |

        | id | Bank identifier. |

        | code | Bank code used by the payment rail. |

        | name | Bank name. |

        | status | Whether the bank is active. |


        IDs can differ between test and production: always read them from the
        parameter endpoints of the environment you use.
      operationId: get-banks
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    code:
                      type: string
                    name:
                      type: string
                    status:
                      type: string
              examples:
                get-banks:
                  summary: Get Banks
                  value:
                    - id: '62'
                      code: '0'
                      name: BANCO MERCANTIL DEL NORTE
                      status: 'true'
                    - id: '69'
                      code: '0'
                      name: BANCO SANTANDER MÉXICO
                      status: 'true'
                    - id: '70'
                      code: '0'
                      name: BANCO VE POR MÁS
                      status: 'true'
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Access token from POST /api/token (valid 5 minutes).

````