Backup and Recovery

Backup and Recovery Kit lets users gain access to their wallet via Cloud Storage in case they've lost access to their device or uninstalled their wallet.

To start your Backup process, you make a POST request to /wallet/user-backup

To initiate the process, the required parameter is:

  1. userEmail - The email address of the user.

POST https://dev-api.altra.click/wallet/user-backup

Request Body

NameTypeDescription

userEmail*

String

eMail of the user getting backed up

// Initiate wallet backup
{
    "userEmail":"user@gmail.com"
}

The API response returns an array of encrypted keys generated for the user's new wallets. We strongly advise backing up these keys in a cloud storage service like Google Drive, iCloud, or Dropbox for safety. To setup any of them click any of the cards below to configure.

To start your Recovery process, you make a POST request to /wallet/recovery

To initiate the process, the required parameter is:

  1. keys - The users encrypted keys that were backed up should be fetched and returned as an array to enable recovery.

POST https://dev-api.altra.click/wallet/recovery

Request Body

NameTypeDescription

keys*

String

Encrypted keys of user backed up

// Wallet Recovery
{
    "keys": [
        "AQICAHjF5MYGrrk+b/1CbpKjZjf3qVXP/zp99I0hBP9oxOO9EgFxdOXCy+eDasTk8VITRe8nAAAApDCBoQYJKoZIhvcNAQcGoIGTMIGQAgEAMIGKBgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEuMBEEDPglDU4ZULmC/NhL2AIBEIBdoWf0z0XpTui7anlR3DRXfQ/f+cVPA9NFk5NmlaXalYuZZhYOaS+yoRS9KJeM1yC+EzGK0uARe0H34EdlDjCsHQbiYLUu2fmxSLcr16JYooI09b0BO7jcMRa8pWWb"
    ]
}

Last updated