Herald
OpenapiPoints

List points wallets. Regular users see their own wallets; managers see all wallets in the realm.

GET
/api/points/wallets

Query Parameters

status?string

Filter by wallet status

search?string

Search by user ID

bucketId?string

Filter by Credit Bucket ID

page?integer

Page number (0-based, default: 0)

Formatint64
Range0 <= value
pageSize?integer

Page size (default: 20, max: 100)

Formatint64
Range0 <= value

Response Body

Wallets grouped by Credit Bucket

application/json
  1. response

Aggregated wallets-by-bucket list response.

cross_bucket_total is the sum of every bucket's bucketTotal. The field is always present; for a single-bucket realm it equals bucketTotal of the sole row.

crossBucketTotal*integer
Formatint64
items*array<>
Example Request
curl -X GET 'https://example.com/api/points/wallets'
Example Response
{
  "crossBucketTotal": 0,
  "items": [
    {
      "balancesByType": {
        "freePeriodic": 0,
        "granted": 0,
        "registration": 0,
        "subscription": 0,
        "topup": 0
      },
      "bucketId": "1980377d-7926-47e0-9e64-a9d0c746404d",
      "bucketTotal": 0,
      "enabled": true,
      "expiresAt": "string",
      "name": "string",
      "quotaWindows": [
        {
          "effectiveFrom": "2019-08-24T14:15:22Z",
          "effectiveUntil": "2019-08-24T14:15:22Z",
          "exhausted": true,
          "isTightest": true,
          "key": "string",
          "limit": 0,
          "remaining": 0,
          "resetsAt": "2019-08-24T14:15:22Z",
          "used": 0,
          "windowSeconds": 0
        }
      ],
      "spendableFromPool": 0,
      "spendableFromQuota": 0,
      "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
    }
  ]
}