> 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/gestion-de-transacciones/vita-wallet.md).

# Vita Wallet

Vita Business provee de este módulo para conocer si en Vita Wallet existe un usuario registrado con un email específico.

## Get Vita User

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

Este método permite conocer si un usuario está registrado en Vita Wallet.

#### Query Parameters

| Name                                    | Type   | Description                                              |
| --------------------------------------- | ------ | -------------------------------------------------------- |
| email<mark style="color:red;">\*</mark> | string | Correo electrónico del usuario registrado en Vita Wallet |

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

```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" %}
Puede hacer uso del método **getVitaEmail** del **proveedor de Vita**, para conocer si un email está registrado en Vita Wallet.

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

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

{% endtab %}
{% endtabs %}
