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:
httpCode | Description |
---|---|
200 | Boolean to indicate if it exists. |
400 | The JWT is missing or invalid. |
{
"exist": false
}
{
"message": "no bearer token found in header authorization or not well formated"
}
Updated 9 months ago