Validate Pix Key
validate_pix_keyConfirm a Brazilian PIX key is well-formed and identify its type (CPF, CNPJ, email, phone, or UUID) before initiating a payment.
Instructions
Validate a Brazilian PIX key and detect its type.
PIX is Brazil's instant-payment rail. A key is one of: CPF (11 digits), CNPJ (14 digits), e-mail, phone (E.164, +55…), or a random EVP (UUID v4). CPF/CNPJ keys are validated with full check-digit math. Lets a payments agent confirm a PIX key is well-formed before initiating a transfer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||