Wallets
Delete a Wallet

Delete a wallet

Removes an API wallet from your business.

DELETE
https://api-prod.useknit.io/api/v1/wallets/{id}
Scopewallets:writeAuthBearer token
⚠️

Deleting a wallet does not close anything on-chain, and it does not reverse funds already credited. Stop handing the address out to customers before you delete it — deposits sent to a deleted wallet's address may not be attributable.

Path parameters

idstringrequired

The wallet's id.

Request

cURL
curl -X DELETE "https://api-prod.useknit.io/api/v1/wallets/d95143d2-c076-49da-b121-b3beed054bf3" \
  -H "Authorization: Bearer $KNIT_ACCESS_TOKEN" \
  -H "Accept: application/json"

Response

200 OK
{
  "statusCode": 200,
  "message": "Wallet deleted successfully",
  "data": null,
  "success": true
}

Errors

StatusCause
401Missing or invalid token, IP not allow-listed, or missing wallets:write
404No wallet with that ID belongs to your business