aibank
API ReferenceWallets

Delete Wallet

Permanently delete a wallet and all associated data.

Delete Wallet

Permanently removes a wallet, all its transactions, and spending controls. This action cannot be undone.

Authentication

Requires X-API-Key header.

Path parameters

ParameterTypeDescription
idstringWallet UUID

Request

curl -X DELETE http://localhost:4000/v1/wallets/WALLET_ID \
  -H "X-API-Key: ak_your_key"

Response (200)

{
  "deleted": true,
  "id": "wallet-uuid"
}

Errors

StatusCodeDescription
404NOT_FOUNDWallet not found or doesn't belong to your API key

On this page