CreatePixKey

Overview

The CreatePixKey method creates a new PIX key in the system, executing validations in multiple layers:

  1. Input validation
  2. PIX key format validation
  3. Business validation
  4. Key quantity validation
  5. Key creation
  6. Registration in DICT

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014The input data is invalid. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
PIX Key Format Validation
EXC0001PIX key of type {0} is invalid, verify.Invalid PIX key formatCorrect PIX key format
EXC0044Invalid mobile phone number. Use the format: +55 (##) 9 ####-####Invalid mobile phone formatUse +5511999999999 format
EXC0050It is not allowed to enter a value for a PIX key when the type is {0}.Value entered for aleatory keyRemove value from PixKey field
EXC0067Invalid PIX key type.Invalid PIX key typeUse valid key types
EXC0076For the type of key provided, it is necessary to provide the PIX key value.PIX key value not providedProvide PIX key value
Business Validation
EXC0002Person with the provided TaxNumber not found.Person not registeredRegister person in the system
EXC0002Account holder not foundAccount holder not foundCheck account holder information
EXC0002SPI account not foundSPI account not foundCreate SPI account for the holder
EXC0008The BusinessUnit does not allow this actionBusinessUnit does not allow PIXEnable PIX in the BusinessUnit
EXC0013PIX key creation not authorizedAccount on PIX restricted listRemove account from PIX restricted list
EXC0015PIX key value is divergent from the holder's TaxNumber.Invalid CPF/CNPJCorrect PIX key or document
PIX Infrastructure
ESE0092PIX DICT configuration not found for BusinessUnitId 123PIX DICT configuration not foundConfigure PIX parameters
EXC0012The account provided cannot operate with the BusinessUnit's agreementIncompatible bankUpdate banking configuration
EXC0014Maximum number of PIX keys registered.Maximum key limit exceededPF: max 5, PJ: max 20 keys
Success
INF0001Request to register a PIX key of type {0} received successfully.Key creation successfulKey created successfully

Important Notes

Supported PIX key types: CPF, CNPJ, Email, Phone, Aleatory

Quantity limits: Individual Person (5 keys), Legal Person (20 keys)

Required configurations: CnabConfigPixSPI or CnabConfigPixDICT in the BusinessUnit

SPI account: Necessary to have a SPI account linked to the holder

CPF/CNPJ validation: PIX key must match the holder's CPF/CNPJ

Restricted list: Accounts can be blocked for PIX key creation


GetInfosPixKey

Overview

The GetInfosPixKey method performs validations in multiple layers:

  1. PIX key format validation
  2. BusinessUnit validation
  3. Person validation
  4. DICT query
  5. Limit validation
  6. Return information

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Invalid input data. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
PIX Key Format Validation
ISI0479The attribute {0} is invalid for the type {1}Invalid PIX key format for the specified typeCorrect PIX key format
Business Validation
ISI0088Business unit not foundBusinessUnit not found by IDVerify valid BusinessUnitId
ISI0467No data found for the provided TaxNumberPerson not found by CPF/CNPJVerify if the document is registered
PIX Infrastructure
EXC0011No agreement found for this requestPIX agreement not configured for BusinessUnitConfigure PIX agreement in BusinessUnit
EXC0058PIX service unavailable. Try again laterPIX service unavailable or SPI service downWait for PIX service normalization or enable parameter
Rate Limiting
EXC0036Couldn't validate the PIX key sentRate limit exceeded (BusinessUnit or Person)Wait for the interval between queries
DICT Query
EXC0025Error in PIX key queryGeneric error in PIX key query (Result = Error)Try again or check logs
EXC0027PIX key not foundPIX key not found in DICT (Result = NotFound)Verify if the key exists or is correctly typed
Success
ISI0001Method executed successfullyQuery successfulContinue with the transaction

Important Notes

Supported PIX key types: CPF (11 digits), CNPJ (14 digits), Email (≤ 77 characters), Phone (+5511999999999), Random (UUID)

Rate Limiting: Applied by BusinessUnit and Person - wait for the interval between queries

Required configurations: PIX agreement configured in the BusinessUnit

Format validation: Each key type has specific regex for validation

DICT timeout: Queries in DICT can fail due to BACEN instability

Query protocol: Always returns a SearchProtocol for traceability


CancelPixKey

Overview

The CancelPixKey method performs the cancellation of PIX keys registered in the system, executing validations in multiple layers:

  1. Input validation
  2. PIX key format validation
  3. Business validation
  4. PIX infrastructure validation
  5. Status verification
  6. Cancellation processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014Invalid input data. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
PIX Key Format Validation
EXC0001Invalid PIX key of type {0}, verify.Invalid PIX key formatCorrect PIX key format
Business Validation
EXC0001EXC0001 - Person not found with the provided data.TaxNumber not foundVerify provided CPF/CNPJ
EXC0002EXC0002 - Account holder not foundAccount holder not found or invalid accountVerify account holder information
EXC0005EXC0005 - Business unit not linked to PIX, verify.BusinessUnit without SPI configurationVerify PIX configuration
EXC0042Duplicate cancellation request for the selected infraction reportDuplicate cancellationWait for previous cancellation processing
EXC0051Cannot cancel a key in status {0}.Key status does not allow cancellationVerify current key status
EXC0052PIX key not found or it is in a status that does not allow cancellation.PIX key not found or invalid statusVerify if the key exists and its status
EXC0008EXC0008 - Business unit does not allow this actionBusinessUnit without permissionVerify BusinessUnit configuration
PIX Infrastructure
ESE0092PIX configuration error {0} for BusinessUnitId {1}PIX configuration not foundConfigure PIX parameters

ClaimPixKey

Overview

The ClaimPixKey method initiates the process of claiming/portability of a PIX key:

  1. Input Validation
  2. PIX Key Format Validation
  3. Account Validation
  4. Business Validation
  5. Processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014ISE0014 - Input data is invalid. See the Validation property of the json for more details.JSON model validation failureCorrect JSON payload
PIX Key Format Validation
EXC0001EXC0001 - Invalid CPF key, verify.Invalid CPF formatCorrect CPF format
EXC0001EXC0001 - Invalid CNPJ key, verify.Invalid CNPJ formatCorrect CNPJ format
EXC0001EXC0001 - Invalid Email key, verify.Invalid email formatProvide valid email
EXC0001EXC0001 - Invalid phone number key, verify.Invalid phone number formatProvide valid phone number
EXC0070Cannot claim a key of the Random typeAttempt to claim a random keyRandom keys cannot be claimed
Business Validation
EXC0001EXC0001 - Person not found with the provided data.TaxNumber not found in the systemVerify provided CPF/CNPJ titleholder
EXC0002EXC0002 - Account holder not foundAccountHolder not found for the personVerify account holder association
EXC0002EXC0002 - Account holder not foundAccount not found with the provided dataVerify account data
EXC0043PIX key already registered for this accountKey already exists for the user's accountUse the ChangePixKey method or cancel the existing key
EXC0045There is already a binding for this key with the same owner and another account information. Use the ChangePixKey method.Key already registered for another titleholder with the same accountUse the ChangePixKey method
PIX Infrastructure Validation
EXC0001EXC0001 - Business unit does not allow this actionMatchingBusinessUnit not found for SPIVerify business unit configuration
EXC0001EXC0001 - Person not found with the provided data.Person not found in the systemVerify person registration
EXC0001AccountHolder not foundAccountHolder not foundVerify account holder association
EXC0008EXC0008 - Account not foundAccount not found with the provided dataVerify account SPI data
ESE0092CNAB PIX SPI configuration error for BusinessUnitId {0}CNAB PIX configuration not foundConfigure CNAB PIX parameter
Business Rules Validation
EXC0018PIX key not registeredKey not found or in an inadequate status for portabilityVerify if key exists and its status
EXC0047PIX key status does not match a portability request.Key status is not ErrorOwnership or ErrorPortabilityKey must be in an error status for portability
Success
INF0006PIX key claim/portability request registered successfully.Claim process initiated successfullyProcess initiated - wait for confirmation

ChangePixKey

Overview

The ChangePixKey method changes the data associated with a PIX key, executing validations in multiple layers:

  1. Input Validation
  2. Key and Device Validation
  3. Business Validation
  4. Processing

Complete Codes and Messages

CodeLiteral MessageError ScenarioRecommended Action
Input Validation
ISE0014ISE0014 - Input data is invalid. See the Validation property of the json for more details.JSON model validation failureVerify required data and JSON format
Key and Device Validation
EXC0015PIX key value is divergent from the titleholder's TaxNumber.Attempt to change a random keyRandom keys cannot be changed
ISE0438DeviceIdentifier field is requiredDeviceIdentifier not provided when validation is enabledProvide device identifier
ISE0439Device not foundDevice not found or removedRegister device in the system
ISE0441Device unavailable for request. Contact the institutionDevice blocked for a specific reasonContact the institution
Business Validation
EXC0002EXC0002 - Person not found with the provided TaxNumber.TaxNumber not found in the systemVerify provided CPF/CNPJ titleholder
EXC0001EXC0001 - Account holder not foundAccountHolder not found for the personVerify account holder association
EXC0001EXC0001 - Business unit not foundMatchingBusinessUnit not found for SPI (source or destination)Verify business unit configuration
ESE0092CNAB PIX SPI configuration error for BusinessUnitId {0}CNAB PIX configuration not foundConfigure CNAB PIX parameter
EXC0030Invalid source or destination account data.Source or destination account not foundVerify account SPI data
EXC0020Source and destination accounts must be differentSource account equals destination accountProvide different accounts
EXC0017Account not linked to SPIPIX key not found in the source account with Registered statusVerify if key exists and is registered
Success
INF0015PIX key change request registered successfully.Change process initiated successfullyProcess initiated - wait for confirmation