Create Pix Key
POSTTag: api-paas-post-pix-keysDescription: Add a new key for the user. Allowed key types:/v2/pix/keys
- CPF: Creates a new key based on the document available in the user profile.
- EMAIL: Creates a new key associated with an arbitrary email. An email will be sent with a 5-digit code to validate it.
- PHONE: Creates a new key associated with an arbitrary phone number. An SMS will be sent with a 5-digit code to validate it.
- EVP: Creates a random key.
- CNPJ: Creates a new key based on the document available in the user profile.
Request
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
Sender Wallet UUID (if empty, your default Wallet UUID will be settled)
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR
, en-US
]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
The product ID is a UUID (v4) used to identify the Z.ro product configuration.
The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.
- application/json
Body
required
- CPF: Key type CPF.
- EVP: Key type EVP.
- EMAIL: Key type EMAIL.
- PHONE: Key type PHONE.
- CNPJ: Key type CNPJ.
Possible values: [CNPJ
, CPF
, PHONE
, EMAIL
, EVP
]
Pix Key state:
Pix key.
Responses
- 201
- 400
- 401
- 422
The pix key returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Pix Key ID.
Pix Key.
Pix Key Type.
Pix Key State.
Pix Key Created At.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"key": "f6e2e084-29b9-4935-a059-5473b13033aa",
"type": "EVP",
"state": "CONFIRMED",
"created_at": "2025-10-22T19:11:19.373Z"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.