POST
/
wallets
curl --request POST \
  --url https://api.sulu.sh/v0/wallets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ownedBy": "<string>",
  "currency": "<string>",
  "timezone": "<string>",
  "tag": "<string>",
  "initialBalance": "<string>",
  "name": "<string>",
  "description": "<string>",
  "legacy": {
    "isConsumer": true,
    "orgId": "<string>"
  }
}'
{
  "id": "<string>",
  "object": "wallet",
  "ownedBy": "<string>",
  "balance": 123,
  "currency": "<string>",
  "timezone": "<string>",
  "tag": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "name": "<string>",
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json
Wallet created successfully

The response is of type object.