Skip to main content

Consult an Alias Entity

Consult an Alias entity that is already registered to an existing account.

Request

ENDPOINT
/account/ACCOUNT_KEY/alias/ALIAS_KEY
METHOD
GET

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account key.36
alias_keyuuidv4Unique alias key.36

Response

STATUS
200
Response Body
{
"alias_key": "c446e513-131c-4741-bbc2-b7e6b6282899",
"ispb": "12345678",
"account_branch": "0001",
"account_number": "4968688",
"account_digit": "3",
"account_type": "checking_account",
"account_created_at": "2021-10-22T20:30:23.459Z",
"owner_person_type": "legal",
"owner_document_number": "89248771384257",
"owner_name": " Vinicius De Oliveira",
"owner_trading_name": "Pix Ltda",
"created_at": "2021-10-22T20:30:23.459Z"
}

Response Body Params

FieldTypeDescriptionMax. Characters
alias_keystringUnique alias key36
ispbstringISPB of the financial institution linked to the Alias36
account_branchstringBranch, without the check digit4
account_numberstringAccount number, without the check digit20
account_digitstringAccount check digit1
account_typeenumeratorAccount typeEnumerator account_type
account_created_atstringAccount creation date20
owner_document_numberstringCPF or CNPJ number14
owner_namestringAccount owner's name120
owner_trading_namestringAccount owner's trade name (only for CNPJ)100
created_atstringDate the request was made20

Enumerator account_type

EnumeratorDescription
checking_accountConta Corrente
salary_accountConta Salário
saving_accountConta Poupança
payment_accountConta de Pagamentos
STATUS
404
Response Body: Not Found

{
"title": "Not Found",
"description": "Account not found for the given key \{account_key\}",
"translation": "A account_key \{account_key\} não foi encontrada",
"extra_fields": {},
"code": "ACC000006"
}
Response Body: Not found

{
"title": "Not found",
"description": "Alias \{alias_key\} not found",
"translation": "Alias \{alias_key\} n\u00e3o encontrado",
"extra_fields": {},
"code": "ACC000181"
}