Add Recovery Method To A Wallet

Changed on

Add a recovery method to a wallet.

post/2025-06-09/wallets/me{walletLocator}/recovery-methods

Request

  • Base URL: https://staging.crossmint.com/api
  • URL: https://staging.crossmint.com/api/2025-06-09/wallets/me{walletLocator}/recovery-methods
  • Auth: none declared. Required headers: X-API-KEY

Path parameters

walletLocatorstring required

Headers

X-API-KEYstring required

API key required for authentication

Request body

OR
OR

Example request

{
  "approver": "passkey:cWtP7gmZbd98HbKUuGXx5Q",
  "recoveryMethods": "passkey:cWtP7gmZbd98HbKUuGXx5Q"
}

Response

The recovery method transaction has been created.

Example response

{
  "tx": {
    "params": {
      "signer": "passkey:cWtP7gmZbd98HbKUuGXx5Q",
      "transaction": {
        "type": "migrate-wallet"
      }
    }
  }
}

Changes