Synq Docs
Account APIWallets

Name a wallet, or make it primary

Its label (null clears it), and `primary: true` makes it their primary wallet in place of the one that was. Needs `me:write`. Recorded as `user.updated`.

PATCH/v1/wallets/{wallet}

Its label (null clears it), and primary: true makes it their primary wallet in place of the one that was. Needs me:write. Recorded as user.updated.

Authorization

bearer
AuthorizationBearer <token>

An access token from this issuer for its account API (resource=<issuer>/me).

In: header

Path Parameters

wallet*string
Lengthlength <= 100

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/wallets/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "address": "string",  "label": "string",  "primary": true,  "created_at": "2019-08-24T14:15:22Z",  "last_used_at": "2019-08-24T14:15:22Z"}