v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-107095124.5 KB
Wallet storage endpoints

Edit wallet storage data

Create a new wallet storage data entry or make updates to an existing wallet storage data entry. The body should contain a JSON serialized string that conforms to the Zod schema for the specified storage key. See below for an example of saving an array with two values. Specific schemas and examples can be retrieved using the associated /keys list endpoint. Authentication is required using domain owner signature.

post/user/{account}/wallet/storage/{key}

Path parameters

accountstring required

The account ID to authenticate

Headers

Authorizationstring required

The JWT access token that authorizes the request

Request body

string required

A JSON serialized string that conforms to the Zod schema for the specified storage key

Example request

"[\"key3\",\"key4\"]"

Response

Wallet storage data

createdDatestring

The date the storage key was created

updatedDatestring

The date the storage key was last updated

keystring

The key of the storage data

datastring

The data of the storage key

schemastring

A serialized Zod schema that represents the data format. Use https://github.com/StefanTerdell/json-schema-to-zod to recreate the Zod schema on a client.

Example response

{
  "createdDate": "2021-01-01",
  "updatedDate": "2021-01-01",
  "key": "key1",
  "data": "value1"
}