Skip to main content

Query account

Request

ENDPOINT
/account/ACCOUNT_KEY
METHOD
GET

PATH PARAMS

FieldTypeDescription
ACCOUNT_KEYUUIDKey of the account to be detailed

Response

Response Body
{
"account_branch": "0001",
"account_digit": "5",
"account_documents": ["1e4b8746-da58-4799-bcd0-063326428ssd"],
"account_key": "3e4b8746-da58-4799-bcd0-063326428d3f",
"account_number": "5960388",
"account_status": "opened",
"account_type": "checking",
"balance": 264.76,
"blocked_balance": 0,
"owner_document_number": "30987145223",
"owner_name": "Maria Luiza Vieira",
"owner_person_key": "47d08366-a8ec-414c-a0a5-a089fc8a4ee8",
"created_at": "2023-05-15T19:56:10"
}

Body params

FieldTypeDescriptionMax. Characters
account_keyuuidUnique account identifier.36
account_branchstringBranch, without the check digit.4
account_digitstringAccount check digit.1
account_numberstringAccount number, without the check digit.20
account_typestringDefinition of account type.20
account_statusstringAccount status.Enumerators account_status
owner_document_numberstringCPF or CNPJ number.14
owner_namestringAccount holder's name.120
balancedoubleAccount balance.120
blocked_balancedoubleBlocked account balance.120
owner_person_keystringUnique identifier of the account holder.36
account_documentsARRAYArray of unique account identifiers.-
created_atdatetime ZuluDate the request was created.20

Enumerators account_status

EnumeratorDescription
openedAccount opened
closedAccount closed
blockedAccount blocked
STATUS
404
Response Body: User does not have credentials
{
"title": "Not Found",
"description": "Account not found for the given key 3e4b8746-da58-4799-bcd0-063326428d3f",
"translation": "Conta não encontrada para a seguinte chave 3e4b8746-da58-4799-bcd0-063326428d3f",
"code": "ACC000006"
}
STATUS
403
Response Body: User does not have credentials
{
"title": "Permission Validator Error",
"description": "Selected agent do not own this item.",
"translation": "O agente selecionado não é dono do item.",
"code": "QIT000005"
}