> For the complete documentation index, see [llms.txt](https://selenium-4.gitbook.io/nexus-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://selenium-4.gitbook.io/nexus-docs/documentation/current-account/operations/main-1.md).

# Retrieve Current Account Details

## Retrieve Current Account Details

> Returns product, account, balance, customer, branch and linked-account details for a current account.

```json
{"openapi":"3.0.3","info":{"title":"NEXUS Banking Services API","version":"1.0.0"},"tags":[{"name":"current-account"}],"servers":[{"url":"https://sandbox.nexus.selenium.ao","description":"Sandbox"},{"url":"https://api-mock.selenium.ao","description":"Mock"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer Token (OAuth2 / OIDC or JWT) passed in the `Authorization` header."}},"responses":{"BadRequest":{"description":"The request payload is invalid — inconsistent dates, an amount ≤ 0, an invalid currency, or missing required fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"Unauthorized":{"description":"Missing, expired or invalid Bearer Token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"Forbidden":{"description":"Authenticated, but missing the scope required for this operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"NotFound":{"description":"The requested resource could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"InternalServerError":{"description":"Unexpected internal error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"schemas":{"ErrorEnvelope":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/Error"}}},"Error":{"type":"object","required":["status","reason","message","path"],"properties":{"status":{"type":"integer","description":"HTTP status code of the error."},"reason":{"type":"string","description":"High-level error category code."},"message":{"type":"string","description":"Human-readable description of the problem."},"path":{"type":"string","description":"HTTP method and endpoint path that originated the error."},"errordetail":{"type":"array","description":"Detailed error list. May be absent for generic errors (e.g. 500).","items":{"$ref":"#/components/schemas/ErrorDetail"}}}},"ErrorDetail":{"type":"object","properties":{"code":{"type":"string","description":"Domain-specific error code."},"reason":{"type":"string","description":"Textual identifier of the specific cause."},"message":{"type":"string","description":"Detailed message, with concrete values where applicable."}}}}},"paths":{"/current-account/{currentAccountId}/retrieve":{"get":{"summary":"Retrieve Current Account Details","description":"Returns product, account, balance, customer, branch and linked-account details for a current account.","tags":["current-account"],"operationId":"retrieveCurrentAccountDetails","parameters":[{"name":"currentAccountId","in":"path","required":true,"description":"The account number (BBAN).","schema":{"type":"string"}}],"responses":{"200":{"description":"Current account details.","content":{"application/json":{"schema":{"type":"object","required":["accountType","productInstanceReference","currentAccountNumber","accountIdentification","accountDate","accountStatus","customerAgreementReference","accountCurrency","bankBranchLocationReference","accountBalances"],"properties":{"accountType":{"type":"string","enum":["IndividualCurrentAccount","BusinessCurrentAccount"],"description":"Type of the current account: `IndividualCurrentAccount` (individual account) or `BusinessCurrentAccount` (business account)."},"productInstanceReference":{"type":"object","description":"Product associated with the account.","required":["productReference"],"properties":{"productReference":{"type":"object","required":["productType","productIdentification","productComponentReference"],"properties":{"productType":{"type":"string","description":"Internal product type code."},"productIdentification":{"type":"object","required":["productIdentification","productIdentificationType"],"properties":{"productIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Commercial product code."}}},"productIdentificationType":{"type":"string","description":"Type of product identifier."}}},"productComponentReference":{"type":"object","required":["componentCode"],"properties":{"componentCode":{"type":"string","description":"Product component code."},"componentDescription":{"type":"string","description":"Commercial description of the component."}}}}}}},"currentAccountNumber":{"type":"object","description":"Internal number of the current account (BBAN).","required":["accountIdentificationType","accountIdentification"],"properties":{"accountIdentificationType":{"type":"string","description":"Type of account identification."},"accountIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Account number value."}}}}},"accountIdentification":{"type":"object","description":"Normalized/external identification of the account (IBAN).","required":["accountIdentificationType","accountIdentification"],"properties":{"accountIdentificationType":{"type":"string","description":"Type of account identification."},"accountIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Account identifier value."}}}}},"accountDate":{"type":"object","description":"Relevant date of the account.","required":["accountDateType","accountDate"],"properties":{"accountDateType":{"type":"string","description":"Type of date."},"accountDate":{"type":"object","properties":{"dateContent":{"type":"string","format":"date","description":"Date value (YYYY-MM-DD)."}}}}},"accountStatus":{"type":"string","description":"Current status of the account (e.g. `Normal`, `Bloqueada`, `Encerrada`)."},"customerAgreementReference":{"type":"object","description":"Contract and involved party (owner) associated with the account.","required":["agreementType","agreementIdentification","involvedParty"],"properties":{"agreementType":{"type":"string","description":"Type of agreement."},"agreementIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Contract number associated with the account."}}},"involvedParty":{"type":"object","description":"Party involved in the account. Note: for multiple parties, this should be treated as an array.","required":["accountInvolvementType","partyReference"],"properties":{"accountInvolvementType":{"type":"string","description":"Role of the involved party in the account."},"partyReference":{"type":"object","required":["partyName","partyIdentification"],"properties":{"partyName":{"type":"object","properties":{"name":{"type":"string","description":"Name of the account holder."}}},"partyIdentification":{"type":"object","properties":{"partyIdentificationType":{"type":"string","description":"Type of identification document of the holder."},"partyIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Identification document number of the holder."}}}}}}}}}}},"accountCurrency":{"type":"object","description":"Base currency of the account.","required":["accountCurrencyType","accountCurrency"],"properties":{"accountCurrencyType":{"type":"string","description":"Type of account currency."},"accountCurrency":{"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO 4217 currency code."}}}}},"bankBranchLocationReference":{"type":"object","description":"Branch where the account is domiciled.","required":["branchIdentification"],"properties":{"branchIdentification":{"type":"object","description":"Branch code.","properties":{"identifierValue":{"type":"string","description":"Branch identifier value."}}}}},"accountBalances":{"type":"array","description":"Balances of the account by type.","items":{"type":"object","required":["balanceAmount","balanceType"],"properties":{"balanceAmount":{"type":"object","description":"Value of the balance.","properties":{"amountValue":{"type":"number","format":"double","description":"Monetary value of the balance."},"amountCurrency":{"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO 4217 currency code."}}}}},"balanceType":{"type":"string","enum":["AvailableBalance","ValueDateBalance","AverageBalanceByAccountBalance","AverageBalanceByValueDate"],"description":"Type of balance: `AvailableBalance`, `ValueDateBalance`, `AverageBalanceByAccountBalance` or `AverageBalanceByValueDate`."}}}},"linkedAccounts":{"type":"array","description":"Accounts related to this account (e.g. associated credit/debit account).","items":{"type":"object","required":["accountIdentification","accountType"],"properties":{"accountIdentification":{"type":"object","description":"Identification of the linked account.","properties":{"accountIdentificationType":{"type":"string","description":"Type of account identification of the linked account."},"accountIdentification":{"type":"object","properties":{"identifierValue":{"type":"string","description":"Number of the linked account."}}}}},"accountType":{"type":"string","enum":["CreditorRelatedAccount","DebtorRelatedAccount"],"description":"Role of the linked account relative to this account."}}}},"limitSettings":{"type":"object","description":"Limit condition applicable to the account (e.g. authorized overdraft).","required":["limitType","limitAmount","limitCreditDebitIndicator","limitAmountType"],"properties":{"limitType":{"type":"string","description":"Type of limit."},"limitAmount":{"type":"object","properties":{"amountValue":{"type":"number","format":"double","description":"Value of the limit."},"amountCurrency":{"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO 4217 currency code."}}}}},"limitCreditDebitIndicator":{"type":"string","enum":["Debit","Credit"],"description":"Sign indicator of the limit."},"limitAmountType":{"type":"string","description":"Type of limit amount."},"chequeServiceLimit":{"type":"object","properties":{"maxNumOfChequesPerMonth":{"type":"integer","description":"Maximum number of authorized cheques per month."}}}}},"interestRateSummary":{"type":"array","description":"Interest rates applicable to the account.","items":{"type":"object","required":["rateValue","interestRateType"],"properties":{"rateValue":{"type":"number","format":"double","description":"Value of the interest rate."},"interestRateType":{"type":"string","enum":["CreditorInterestCalculation","CreditorInterestRecalculation","DebtorInterestCalculation","DebtorInterestRecalculation"],"description":"Type of interest rate."}}}},"accountRiskClassification":{"type":"object","description":"Risk classification of the account.","required":["riskLevelCode","riskLevelDescription"],"properties":{"riskLevelCode":{"type":"string","enum":["A","B","C","D","E","F","G"],"description":"Risk level code: `A` Nulo, `B` Muito Reduzido, `C` Reduzido, `D` Moderado, `E` Elevado, `F` Muito Elevado, `G` Perda."},"riskLevelDescription":{"type":"string","description":"Description corresponding to the risk code."}}},"accountAdditionalAttribute":{"type":"array","description":"Extensibility container for regulatory attributes (IFRS 9 / CIRC / BNA) not natively covered by the BIAN model.","items":{"type":"object","required":["attributeCode","attributeDescription","attributeValue"],"properties":{"attributeCode":{"type":"string","description":"Short code of the attribute."},"attributeDescription":{"type":"string","description":"Readable description of the attribute."},"attributeValue":{"type":"string","description":"Value of the attribute."}}}}}}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"500":{"$ref":"#/components/responses/InternalServerError"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://selenium-4.gitbook.io/nexus-docs/documentation/current-account/operations/main-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
