Delete static wallet
Delete a static wallet. Its address stops being monitored and can no longer receive new deposits; previously recorded deposits are unaffected.
DELETE
/v1/static-wallets/{staticWalletId}API keyPath parameters
| Field | Type | Description |
|---|---|---|
staticWalletIdrequired | string | Static wallet ID |
Response
200 OK
Errors
404 Not Found— each returns { errorCode, message, args? }. Codes, retries and limits: Errors & limits
Request
curl -X DELETE https://api.suward.com/v1/static-wallets/<static_wallet_id> \ -H "X-Api-Key: $SUWARD_API_KEY"const response = await fetch('https://api.suward.com/v1/static-wallets/<static_wallet_id>', { method: 'DELETE', headers: { 'X-Api-Key': process.env.SUWARD_API_KEY, },});const data = await response.json();package main import ( "fmt" "io" "net/http" "os") func main() { req, _ := http.NewRequest("DELETE", "https://api.suward.com/v1/static-wallets/<static_wallet_id>", nil) req.Header.Set("X-Api-Key", os.Getenv("SUWARD_API_KEY")) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() data, _ := io.ReadAll(res.Body) fmt.Println(string(data))}import requests, os response = requests.delete( 'https://api.suward.com/v1/static-wallets/<static_wallet_id>', headers={'X-Api-Key': os.environ['SUWARD_API_KEY']},)data = response.json()Illustrative values. Every field, type and status on this page is generated from the OpenAPI specification.
Something unclear? payments@suward.com — we treat every integration question as a documentation defect.