# Pix keys validator

## Validate one or more Pix Keys

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

```json
{"openapi":"3.0.0","info":{"title":"Pix Key Validation API","version":"v5"},"servers":[{"url":"https://api-stg.directa24.com/v5","description":"Staging Server"}],"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."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandablue.com/api-reference-1/cashouts-api/validate-bank-accounts/pix-keys-validator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
