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

# Bank list

> Returns the banks available for ACH payouts.



## OpenAPI

````yaml /openapi-v2.en.yaml get /v2/transactions/payouts/bank/banks
openapi: 3.0.0
info:
  title: YP API Partner
  description: Integration documentation for YP API partners.
  version: v2
  contact: {}
servers:
  - url: https://sandbox-rampa.mesadepagos.com/api
    description: Sandbox
security: []
tags:
  - name: Auth
    description: ''
  - name: Quotes
    description: ''
  - name: Payin
    description: ''
  - name: Payout
    description: ''
  - name: Wallet
    description: ''
  - name: Queries
    description: ''
  - name: Webhooks
    description: ''
  - name: Fees
    description: ''
  - name: Clients
    description: ''
paths:
  /v2/transactions/payouts/bank/banks:
    get:
      tags:
        - Payout
      summary: Bank list
      description: Returns the banks available for ACH payouts.
      operationId: getBanksV2
      parameters:
        - name: country
          required: false
          in: query
          description: ISO alpha-2 country code used to retrieve banks. Defaults to BO.
          schema:
            enum:
              - BO
              - BR
              - CO
              - CL
              - PE
              - CN
              - CR
              - PY
              - UY
              - PA
              - GT
            type: string
      responses:
        '200':
          description: Available banks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBanksResponseDoc'
        '401':
          description: Missing, invalid, or expired token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponseDoc'
        '500':
          description: Banks could not be retrieved from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponseDoc'
      security:
        - bearer: []
components:
  schemas:
    GetBanksResponseDoc:
      type: object
      properties:
        banks:
          description: Banks available for ACH payouts.
          type: array
          items:
            $ref: '#/components/schemas/BankDoc'
      required:
        - banks
    UnauthorizedResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 401
        message:
          type: string
          example: Unauthorized
      required:
        - statusCode
        - message
    InternalServerErrorResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 500
        message:
          type: string
          example: Failed to fetch banks, please try again later.
        error:
          type: string
          example: Internal Server Error
      required:
        - statusCode
        - message
        - error
    BankDoc:
      type: object
      properties:
        code:
          type: string
          example: '101'
          description: Bank code.
        name:
          type: string
          example: Example Bank
          description: Bank name.
      required:
        - code
        - name
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT obtained from /v2/auth/login

````