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.
Header parameters
Content-TypestringRequiredExample:
Media type of the request.
application/json
X-Datestring · date-timeRequiredExample:
ISO8601 Datetime with Timezone.
2023-10-27T10:00:00Z
X-LoginstringRequired
Merchant X-Login Cashouts API Key.
AuthorizationstringRequired
Authorization control hash.
Bodyobject[]
pixstringRequiredExample:
The Pix Key to validate (e.g., CPF, Email, Phone Number).
29318456719
Responses
200
OK - A list of validation results for each submitted Pix Key.
application/json
401
Unauthorized - The provided credentials are not valid.
application/json
post
POST /v5/account/pix_key/validate HTTP/1.1
Host: api-stg.directa24.com
Content-Type: application/json
X-Date: 2023-10-27T10:00:00Z
X-Login: text
Authorization: text
Accept: */*
Content-Length: 100
[
{
"pix": "29318456719"
},
{
"pix": "31379789206"
},
{
"pix": "[email protected]"
},
{
"pix": "551234512341"
}
]
[
{
"pix": "29318456719",
"valid": true
},
{
"pix": "31379789206",
"valid": false
},
{
"pix": "[email protected]",
"valid": false
},
{
"pix": "551234512341",
"valid": true
}
]
Last updated
Was this helpful?