Rename or Promote a Wallet
Rename a wallet and/or promote it to the user’s primary for its currency.
To change which wallet is primary, PATCH the wallet you want to
promote with is_primary=true — the previous primary is demoted
automatically in the same transaction. Sending is_primary=false is
rejected; every (user, currency) must have exactly one primary.
Master wallets cannot be renamed or re-prioritized.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The wallet UUID.
Body
Rename and/or promote-to-primary in a single PATCH.
Both fields are optional; at least one must be present.
Response
Successful Response
Standard response wrapper for single-object responses and errors.
Generic over the payload type. A route that declares
CommonResponse[SomeModel] gets the real data schema rendered in
OpenAPI/Swagger; a bare CommonResponse leaves data untyped.

