> For the complete documentation index, see [llms.txt](https://docs.pis.ng/v1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pis.ng/v1.0/misc/get-account-details.md).

# Get Account Details

<mark style="color:blue;">`GET`</mark> `https://api.pis.ng/v1.0/account/details`

#### Headers

| Name                                           | Type   | Description          |
| ---------------------------------------------- | ------ | -------------------- |
| Secret-Key<mark style="color:red;">\*</mark>   | string | Your PIS Secret Key. |
| Content-Type<mark style="color:red;">\*</mark> | string | application/json     |

{% tabs %}
{% tab title="200: OK application/json" %}

```json
{
    "code": 200,
    "status": "success",
    "message": "Successful",
    "data": {
        "id": "1000000001",
        "name": "PRO INTERNET SOLUTIONS LIMITED",
        "type": "corporate",
        "status": "active",
        "vba": {
            "reference": "372718167784507651059052",
            "accountNumber": "2051777052",
            "accountName": "PIS - PRO INTERNET SOLUTIONS LIMITED",
            "bankName": "KUDA MICROFINANCE BANK"
        },
        "settlementAccounts": [
            {
                "reference": "78450765105905",
                "accountNumber": "0260706071",
                "accountName": "PRO INTERNET SOLUTIONS LIMITED",
                "bankName": "GUARANTEE TRUST BANK"
            },
            {
                "reference": "51059057845076",
                "accountNumber": "0607102607",
                "accountName": "PRO INTERNET SOLUTIONS LIMITED",
                "bankName": "VFD MICROFINANCE BANK"
            }
        ]
    }
}
```

{% endtab %}

{% tab title="401: Unauthorized application/json" %}

```json
{
    "code": 401,
    "status": "error",
    "message": "Authorization required!",
    "data": null
}
```

{% endtab %}

{% tab title="400: Bad Request application/json" %}

```json
{
    "code": 400,
    "status": "error",
    "message": "Bad Request",
    "data": null
}
```

{% endtab %}

{% tab title="404: Not Found application/json" %}

```json
{
    "code": 404,
    "status": "error",
    "message": "The endpoint you are trying to access does not exist.",
    "data": null
}
```

{% endtab %}
{% endtabs %}
