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
Example response
{
"createdDate": "2021-01-01",
"updatedDate": "2021-01-01",
"key": "key1",
"data": "value1"
}