> For the complete documentation index, see [llms.txt](https://vitawallet.gitbook.io/vita-business-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vitawallet.gitbook.io/vita-business-documentation/english/gestion-de-transacciones/vita-wallet.md).

# Vita Wallet

Vita Business provides this module to know if there's a registered user on Vita Wallet with a specific email

## Get Vita User

<mark style="color:blue;">`GET`</mark> `api.vitawallet.io/api/businesses/vita_users`

This methos allows you to know if a user is registered on Vita Wallet.

#### Query Parameters

| Name                                    | Type   | Description |
| --------------------------------------- | ------ | ----------- |
| email<mark style="color:red;">\*</mark> | string | User email  |

{% tabs %}
{% tab title="200: OK OK Request" %}

```javascript
{
    "vita_user": {
        "id": 13,
        "type": "vita_user",
        "attributes": {
            "email": "example@example.com",
            "default_currency": "clp",
            "profile_verification": "accepted",
            "is_received": true,
            "country_iso_code": "CL",
            "currencies": [ "clp", "usd", "btc" ]
        }
    }
}
```

{% endtab %}
{% endtabs %}

### SDK

{% tabs %}
{% tab title="Node" %}
You can use **getVitaEmail** method from Vita Provider to know if a user is registered on Vita.

```javascript
import Business from 'vita-business-node';

try {
    await Business.vitaProvider.getVitaEmail(email);
} catch {}
```

{% endtab %}
{% endtabs %}
