DELETE /v2/merchant/wallet/:walletAddress?network=base removes a previously
registered settlement wallet from the merchant’s claim list. After
deregistration, settlements that would have routed to this address no longer
do — set a new primary via
POST /v2/merchant/wallet/claim
before settling fresh revenue.
Live on dev as of 2026-06-14; PROD ETA after next GTFU. Shipped via PR
#2103 (Phase 5.4.7).
DELETE /v2/merchant/wallet/:walletAddress
Authentication
Obtain a merchant JWT via
POST /merchant/admin/login — see
Authentication.
Path parameters
Query parameters
Example
Response — 200 OK (wallet existed)
Response — 200 OK (wallet never claimed)
Fields
Errors
Notes
- Idempotent on the dedup key. Deregistering a wallet that was never
claimed (or has already been removed) returns
200withderegistered: false. Clients can safely retry without checking membership first. This mirrors thePOSTidempotency contract — the pair forms a clean upsert / delete API. - Mixed-case lookup. Path-parameter casing is normalized to lowercase
before lookup, so
0xB272…eA9and0xb272…ea9resolve to the same row. - Primary-flag side-effect. Deregistering the current primary leaves the merchant with no primary on that network. Settlement routing falls back to the merchant’s account-level settlement target (if configured) or the platform escrow until a new primary is claimed.
- No
404for unknown rows. Choice is deliberate: the dedup key is the natural identity of the resource, and “not present” is a valid terminal state ofDELETEfor that identity. Returning404would force every client to add a pre-check; instead the response itself carries the membership signal viaderegistered. - Auth scope. A merchant cannot deregister another merchant’s wallet
even if they know the address — the
merchantId:network:walletcomposite is the lookup key andmerchantIdalways comes from the JWT. - Audit trail. Every deregister emits a
PlatformAuditEvent(OPERATOR_ACTION, subjectTypeMERCHANT_WALLET_CLAIM) for the compliance trail, including the no-op cases wherederegistered: false.
Related
- Register Settlement Wallet —
POSTcounterpart that creates / re-verifies a wallet entry. - List Registered Wallets —
GETcounterpart for the current set of registered wallets. - x402 Earnings (Merchant) — per-merchant rollup of settlement events affected by deregistration.