> 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/collections/virtual-bank-account/get-account.md).

# Get Account

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

#### 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     |

#### Request Body

| Name                                        | Type   | Description                                         |
| ------------------------------------------- | ------ | --------------------------------------------------- |
| reference<mark style="color:red;">\*</mark> | string | The `reference` you sent upon creating the account. |

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

```json
{
    "code": 200,
    "status": "success",
    "message": "Successful",
    "data": {
        "accountNumber": "2057488657",
        "accountName": "PIS - ISIMPLIFY SERVICES",
        "firstName": "David",
        "lastName": "Okedion",
        "email": "customer@gmail.com",
        "phone": "8031111111",
        "bvn": "211111111111",
        "callbackUrl": "https://isimplify.ng/webhook",
        "status": "active",
        "dateCreated": "1686047833"
    }
}
```

{% 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 %}
