Claim Digital Passports
As a brand, you wish to distribute digital passports. To get ownership, your customers must claim these digital passports stored in their wallets. We manage wallet creation based on blockchain transactions. Your users will get their secured wallet for the first digital passport claimed.
We do not recommend to create wallet for all customers if they do not own a digital passport.
URL
To claim a Digital Passport, use https://custody.arianee.com/{{client}}/{{chainType}}/nft/claim
.
POST - https://custody.arianee.com/{{client}}/{{chainType}}/nft/claim
Body
Field | Type | Required | Description |
---|---|---|---|
link | String | ✅ | Digital passport deeplink. |
{
"link": "https://test.arian.ee/967188109,nu8vy7848wn2"
}
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The digital passport transaction has been sent to the blockchain, the wallet is the new digital passport owner. |
{
"success": true
}
Errors
Status Code | Success | Description |
---|---|---|
400 | false | The link is not valid. |
404 | false | The wallet may not exist. You are not authenticated. |
500 | false | The digital passport link could not be retrieved. |
{
"success": false,
"error": "The link is not a valid URL"
}
{
"success": false,
"error": "Could not retrieve a smart asset from this link: https://test.arian.ee/922197706,j127dzcwq7t3"
}
Updated 6 days ago