Register a new Pix key
Registers a new PIX key on the account. Key ownership for e-mail and phone keys is validated by the settlement bank; the response reflects the registration status.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
accountId
Account identifier.
Headers
X-Tenant-Id
Tenant context used for authorization and routing.
Idempotency-Key
Client-generated idempotency token.
Request
This endpoint expects an object.
keyType
Type of PIX key to be registered:
cpf- Account holder’s CPFcnpj- Account holder’s CNPJphone- Phone with area code (+5511999999999). Starts OTP; confirm with/pix/keys/verify.email- Email address. Starts OTP; confirm with/pix/keys/verify.random- Random key (EVP) - system generates automatically
email and phone return 202 pending_verification. The facade sends the OTP (SES / Twilio). The key is created on the partner only after a correct code.
pixKey
Value of the PIX key to be registered.
Required for all types except random.
For random, omit this field and the system will generate a UUID.
Response
Pix key registered (cpf, cnpj, random).
keyType
keyTypeId
pixKey
created
Errors
400
Bad Request Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error
504
Gateway Timeout Error