Skip to main content
GET
/
stats
/
schema
Retrieve Stats Schema
curl --request GET \
  --url https://{defaultHost}/stats/schema
{
  "reporting_categories": [
    {
      "name": "<string>",
      "line_categories": [
        "<string>"
      ]
    }
  ],
  "groupings": [
    {
      "name": "<string>",
      "line_categories": [
        "<string>"
      ]
    }
  ],
  "line_categories": [
    {
      "key": "<string>",
      "description": "<string>",
      "grouping": "<string>",
      "reporting_categories": [
        "<string>"
      ]
    }
  ]
}

Headers

Api-Version-Date
string<date>

Pins the request to a dated API version. When omitted, the request uses the original (2025-01-01) request/response shapes, so existing unversioned callers are never broken. Generated SDKs always send the latest version they were built against. An unrecognized value is rejected with a 400. The schemas documented here always describe the latest version.

Example:

"2026-06-09"

Query Parameters

resource_type
enum<string>
required

The stats resource to describe. Currently only wallet is supported.

Available options:
wallet

Response

stats schema retrieved

reporting_categories
object[]
required
groupings
object[]
required
line_categories
object[]
required