POST
/
api
/
wallets
/
wallets
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": {}
      }
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string

Use an idempotency key

Body

application/json

Response

201
application/json

Wallet created

The response is of type object.