Skip to main content

Pix Key Lookup

Request

ENDPOINT
/pix_key/PIX_KEY
METHOD
GET

Request Path Params

FieldTypeDescriptionCharacters
pix_key *stringPIX key to be queried.77
Pix Key Types

The “pix_key” can be a CPF, CNPJ, Email, Phone, or a Random Key (UUID), following these formats: CPF: Integer with 11 digits.

CNPJ: Integer with 14 digits.

Email: Text containing at least one “@”.

Phone: Text containing the following values: “+55” + “Mobile DDD“ + “Complete Mobile Number with a minimum of 8 and a maximum of 9 digits”. E.g., “+5511987654321“.

Random Key: UUID4.

Request Query Params

FieldTypeDescriptionCharacters
alias_key *uuidv4Unique alias key.36
Usage of Query Tokens

To ensure the correct person is charged for the PIX key query token, it is mandatory to send the alias_key.

Response

STATUS
200
Response Body: Key active
{
"account_branch": "0001",
"account_created_at": "2023-09-06T22:03:34.000Z",
"account_digit": "8",
"account_number": "2897775",
"account_type": "checking",
"bank_code": null,
"end_to_end_id": "E73856642202309201429bZKfklNlbwu",
"financial_institution": "BANCO INDIRETO PRUPRU",
"ispb": "32402502",
"owner_masked_document_number": "**.458.****/0001-**",
"owner_name": "Empresa teste 01",
"owner_person_type": "legal",
"owner_trading_name": null,
"pix_key": "0f723f66-b333-4187-be16-97fc37c86052"
}

FieldTypeDescriptionMax. Characters
pix_keystringPIX key of the query4
account_branchstringBranch, without the check digit4
account_digitstringAccount check digit1
account_numberstringAccount number, without the check digit20
account_typestringDefinition of account type20
owner_person_typestringType of account owner. Can be "legal" or "natural"7
owner_masked_document_numberstringCPF or CNPJ number14
end_to_end_idstringUnit key of the PIX transaction32
owner_namestringAccount owner's name120
owner_trading_namestringAccount owner's trade name (only for CNPJ)100
ispbstringISPB of the Participant holding the key8
bank_codestringCOMPE code of the financial institution3
financial_institutionstringName of the financial institution holding the key100
account_created_atstringAccount creation date20
STATUS
4XX
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP CodeQI Code
code
Title
title
Description (eng)
Description
Description (ptbr)
translation
400PIX000086Invalid Query Params CombinationAccount_key and Alias_key are mutually exclusive query parameters. Choose oneAccount_key e Alias_key são parâmetros mutualmente exclusivos. Escolha apenas um
403PIX000080Not enough permissionThe selected agent is not an Pix Indirect ParticipantO agente selecionado não é um Participante Indireto do Pix
404PIX000082Alias not foundAlias {alias_key} not foundAlias {alias_key} não encontrado
404PIX000017Pix Key is UnregisteredPix key {pix_key} is not currently usedA chave pix {pix_key} não está sendo utilizada
400PIX000081Rate Limit ExceededRate Limit ExceededLimite de requisições excedido