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
GET
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*
string
User email
{
"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" ]
}
}
}
SDK
You can use getVitaEmail method from Vita Provider to know if a user is registered on Vita.
import Business from 'vita-business-node';
try {
await Business.vitaProvider.getVitaEmail(email);
} catch {}
Última actualización