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
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Client-generated idempotency token.
Unix seconds. Required on the signed host; tolerance is 300s either way (403 request_timestamp_skew).
Lowercase hex SHA-256 of the body. An empty body hashes the empty string, so the header is always present. Mismatch returns 400 body_hash_mismatch.
Detached JWS (<protected>..<signature>, ES256 or PS256) over METHOD\nPATH?QUERY\nTIMESTAMP\nIDEMPOTENCY_KEY_OR_EMPTY\nX_CONTENT_SHA256.
Request
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.
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).