GET
/
wallets
curl --request GET \
  --url https://api.sulu.sh/v0/wallets \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "<string>",
      "object": "wallet",
      "ownedBy": "<string>",
      "balance": 123,
      "currency": "<string>",
      "timezone": "<string>",
      "tag": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "hasMore": true,
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

ownedBy
string
required

Organization ID that owns the wallets

pageSize
integer
default:10

Number of wallets to return per page

Required range: 1 <= x <= 100
pageToken
string

Token for pagination

Response

200
application/json
List of wallets
object
enum<string>
required
Available options:
list
data
object[]
required
hasMore
boolean
required

Whether there are more wallets to fetch

nextPageToken
string
required

Token to fetch next page, empty if no more pages