These docs are for v1.7. Click to read the latest docs for v2.1.

Check If User Has Wallet

Before you begin

As a brand, you wish to know if your user owns a wallet.

โš ๏ธ

  • The Json Web Token corresponding to the user is required.
  • We do not recommend to create wallets for all users if they do not own a digital passport.

Let's start ๐Ÿš€

To fetch the authenticity, use the wallet/exist.

curl -X POST "https://custodial.arianee.com/testnet/wallet/exist" -H "accept: application/json" H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."

Result:

httpCodeDescription
200Boolean to indicate if it exists.
400The JWT is missing or invalid.
{
  "exist": false
}
{
  "message": "no bearer token found in header authorization or not well formated"
}