> For the complete documentation index, see [llms.txt](https://yogupay.gitbook.io/yogupay-payout-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yogupay.gitbook.io/yogupay-payout-api/payouts/view-account-balances.md).

# View Account Balances

<mark style="color:green;">`GET`</mark> `/` `auth/view-wallet`

This endpoint is used to view the wallet details through an HTTP GET request

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| Token        | `<token>`          |

**Response**

{% tabs %}
{% tab title="Successful Response" %}

```json
{
  "id": 1,
{
  "status": integer,
  "transactions": [
    {
      "id": integer,
      "customer_id": integer,
      "currency": string,
      "actual_balance": integer,
      "held_balance": integer,
      "transacted_balance": integer,
      "created_at": string,
      "updated_at": string|null,
      "status": integer
    }
  ],
  "message": string
}
```

{% endtab %}

{% tab title="Unsuccessful Response" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
