cURL
curl --request POST \ --url http://localhost:55001/api/wallets/wallets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "metadata": {}, "name": "<string>" }'
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "metadata": {}, "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "ledger": "<string>", "balances": { "main": { "assets": {} } } } }
The access token received from the authorization server in the OAuth 2.0 flow.
Use an idempotency key
Wallet created
The response is of type object.
object