> ## 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.

# Pix keys validator

> This endpoint allows you to verify whether a Pix Key exists or not. All Pix Key types can be verified with this API.



## OpenAPI

````yaml open-api-yaml/cashouts-api/validate-bank-accounts/pix-keys-validator.json POST /account/pix_key/validate
openapi: 3.0.0
info:
  title: Pix Key Validation API
  version: v5
servers:
  - url: https://api-stg.pandablue.com/v5
    description: Staging Server
security: []
paths:
  /account/pix_key/validate:
    post:
      summary: Validate one or more Pix Keys
      description: >-
        This endpoint allows you to verify whether a Pix Key exists or not. All
        Pix Key types can be verified with this API.
      operationId: validatePixKeys
      parameters:
        - name: Content-Type
          in: header
          required: true
          description: Media type of the request.
          schema:
            type: string
        - name: X-Date
          in: header
          required: true
          description: ISO8601 Datetime with Timezone.
          schema:
            type: string
            format: date-time
        - name: X-Login
          in: header
          required: true
          description: Merchant X-Login Cashouts API Key.
          schema:
            type: string
        - name: Authorization
          in: header
          required: true
          description: Authorization control hash.
          schema:
            type: string
      requestBody:
        description: A JSON array of Pix Key objects to be validated.
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PixKey'
      responses:
        '200':
          description: OK - A list of validation results for each submitted Pix Key.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ValidationResult'
        '401':
          description: Unauthorized - The provided credentials are not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    PixKey:
      type: object
      required:
        - pix
      properties:
        pix:
          type: string
          description: The Pix Key to validate (e.g., CPF, Email, Phone Number).
    ValidationResult:
      type: object
      properties:
        pix:
          type: string
          description: The Pix Key that was validated.
        valid:
          type: boolean
          description: Indicates if the Pix Key is valid.
    Error:
      type: object
      properties:
        code:
          type: integer
          description: An internal error code.
        description:
          type: string
          description: A human-readable description of the error.
        type:
          type: string
          description: The type of error that occurred.

````

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