Register PIX key
Registers a new PIX key after validating the request and successfully synchronizing with BACEN DICT. Registration fails closed if BACEN DICT is unavailable or rejects the key; a BACEN refusal such as EntryLimitExceeded (the account holds its key limit, which only BACEN counts) is relayed with its own token and status. A refusal BACEN would give for the same rule is answered locally with BACENβs own token and status 400: EntryAlreadyExists (the key is held for the same participant and owner), EntryKeyOwnedByDifferentPerson (held for another owner) or EntryKeyInCustodyOfDifferentParticipant (held for the same owner at another participant of this deployment).
Body
PIX key to register (key type, value, owner identity, and participant ISPB); registration fails closed if BACEN DICT rejects or is unavailable
Full legal name of the key owner (at most 150 characters). The accepted character set differs by owner type β letters, apostrophe, hyphen and space for an individual; printable Latin-1 for a company β and is applied by the service, since one schema pattern cannot depend on the tax id's length.
1 - 150"JoΓ£o Silva"
Owner tax identifier: 11 digits for a CPF (individuals), 14 alphanumeric characters for a CNPJ (businesses, IN RFB 2.229/2024). Shaped as the SPI wire type PICpfCnpj. The check digits are verified by the service.
^([0-9]{11}|[0-9A-Za-z]{12}[0-9]{2})$"12345678901"
Why this key is being registered, sent verbatim to BACEN as createEntry's Reason. USER_REQUESTED when an end user asked for the key, RECONCILIATION when restoring a binding this PSP already holds after a divergence. Required: only the participant holds the fact that decides it, so there is no default.
USER_REQUESTED, RECONCILIATION "USER_REQUESTED"
Idempotency key for this registration, a version 4 UUID, sent verbatim to BACEN as createEntry's RequestId. Required β never invented here. BACEN binds it to the vinculo for life and refuses a reuse under different binding parameters, so send a fresh value per registration. This rail does not refuse a reused value locally: the rule is BACEN's, enforced there and relayed. Must be version 4 for USER_REQUESTED: every other version derives from a clock, a node id or a hashed name, so two different registrations can collide by construction. On RECONCILIATION it is the binding's original requestId, replayed, and any well-formed UUID is accepted. Distinct from the X-Idempotency header, which is this rail's own de-duplication and never reaches BACEN.
"b2696bf1-0a51-48b0-ab4a-8af2dff440af"
PIX key value, formatted according to keyType: 11 digits for CPF, 14 alphanumeric characters for CNPJ, + followed by 2 to 15 digits, no leading zero (E.164) for PHONE, an email address for EMAIL. REQUIRED for those four types and REFUSED for EVP β the chave aleatΓ³ria is generated by the DICT, and the value it returns is the key.
"12345678901"
BACEN's Person discriminator for the key owner, sent verbatim on createEntry. Optional: omitted, it is resolved from ownerTaxId (11 characters natural, 14 legal). Supplied, it binds β a value contradicting ownerTaxId is refused, never honoured.
NATURAL_PERSON, LEGAL_PERSON "NATURAL_PERSON"
Attestation that key possession was verified, as DICT 8.4 section 2.1 requires. Optional for CPF, CNPJ, EMAIL and PHONE keys; refused for EVP, where nothing is possessed. Omitting it does not refuse the registration β the absence is recorded in the key's audit trail. Supplied, it is validated in full and a malformed attestation is refused.
Response
Created
Registered PIX key with its assigned status
The participant's own identifier for the registration that created this binding, echoed back. It is the value BACEN holds against the vinculo for life, so it is what a DICT support case and a retry are addressed by. Omitted for a key registered before this field existed, which had no caller to state one.
"b2696bf1-0a51-48b0-ab4a-8af2dff440af"

