Skip to main content
POST
/
wallet
/
unlink
Wallet Unlink
curl --request POST \
  --url https://pm-t1.bxingupdate.com/bvapi/wallet/unlink \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "error": "<string>"
}
Revert from self-custody back to managed wallet.

Overview

Restores the user’s managed wallet from the previous state. Users can switch back and forth freely between managed and self-custody.

What Happens

  1. mk_ai_agent.wallet_address is cleared (set to NULL)
  2. All active wallet credentials for the user are soft-deleted (status = 0)
  3. The user can re-link a wallet at any time via the challenge flow

Rate Limiting

  • 10 attempts per hour per API key (IP-based)

Re-linking

After unlinking, you can link the same or a different wallet by going through the challenge flow again:
  1. GET /wallet/link/challenge?address=0x...
  2. POST /wallet/link with the signed challenge

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful Response

success
boolean
required
message
string | null
error
string | null