PPylon Developers
ApiStore Credit Administration

Get credit statistics

Returns aggregated store credit statistics including counts, totals, and source breakdown.

GET
/api/organizer/v1/credits/statistics
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Response Body

application/json

application/json

curl -X GET "https://loading/api/organizer/v1/credits/statistics"
{
  "totalCredits": 0,
  "activeCredits": 0,
  "expiredCredits": 0,
  "revokedCredits": 0,
  "fullyUsedCredits": 0,
  "totalIssuedAmount": 0.1,
  "totalRemainingBalance": 0.1,
  "totalUsedAmount": 0.1,
  "currency": "string",
  "bySource": {
    "property1": {
      "count": 0,
      "totalIssued": 0.1,
      "totalRemaining": 0.1
    },
    "property2": {
      "count": 0,
      "totalIssued": 0.1,
      "totalRemaining": 0.1
    }
  }
}
{
  "code": "string",
  "message": "string"
}