Pix Key Validation Endpoint
Validate Pix Keys in real time by using the Pix Key Validation Endpoint
Account Validation Request
POST
https://api-stg.directa24.com/v5/account/pix_key/validate
This endpoint allows you to validate if a Pix Key exists and is valid.
Check with your TAM regarding the production API endpoint.
Headers
Name | Type | Description |
---|---|---|
Content-Type* | string |
|
X-Date* | string | ISO8601 Datetime with Timezone: |
X-Login* | string | Merchant X-Login Cashouts API Key |
Authorization* | string | Authorization control hash |
Request Body
Name | Type | Description |
---|---|---|
pix* | String | JSON Array containing the list of Pix Keys to check in one request |
Description
This endpoint allows you to verify whether a Pix Key exists or not, preventing users from registering an invalid Pix Key on your website.
All Pix Key types can be verified with this API.
In order to start using this API, you need to:
Send the request with POST method.
Use the headers described here.
Specify the pix key(s) in the body of the request as a JSON array. Each object within the array should contain a key "pix" with a corresponding string value.
This API must be activated on your account. Check with your Account Manager regarding the activation
Example Responses
Success Example
In case the Pix Keys is valid, a boolean field called "valid
" will be returned for each Pix Key with either true/false.