# Resolve Account

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

#### 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                                                                                                               |
| ----------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------------------------------- |
| accountNumber<mark style="color:red;">\*</mark> | int  | The recipient's bank account number.                                                                                      |
| bankCode<mark style="color:red;">\*</mark>      | int  | The recipient's bank code. See bank codes from the [Get bank list endpoint](https://docs.pis.ng/v1.0/misc/get-bank-list). |

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

```json
{
    "code": 200,
    "status": "success",
    "message": "Successful",
    "data": {
        "accountNumber": "0260706071",
        "accountName": "OKEDION DAVID DANIEL",
        "bankName": "GUARANTY TRUST BANK",
        "bankCode": "000013"
    }
}
```

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