Get user rewards activity

Get User Rewards Activity

Returns a summary of rewards points earned and redeemed for the authenticated business customer, broken down by date range. The response includes a list of period-specific reports as well as an overall total. This endpoint is available to business customers only, as rewards are a business-exclusive feature on the Netevia platform.

Endpoint

GET /api/UsersReward/Activity

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when you need to display a business customer's rewards history on a dashboard or statement. It is useful for building reward summaries across configurable time windows such as the last 7 days, last month, or year-to-date. Call it when a user navigates to a rewards activity screen or when generating periodic rewards reports.

Query Parameters

ParameterTypeRequiredDescription
rewardActivitystring (enum)NoTime period filter for rewards activity. Accepted values: None, D7 (last 7 days), M1 (last 1 month), M6 (last 6 months), Y1 (last 1 year), QTD (quarter-to-date), YTD (year-to-date).

Response

200 OK

Top-level fields:

FieldTypeDescription
dataarray of objectsList of rewards activity reports, each covering a specific date range within the requested period.
totalobjectAggregate totals across all date ranges in the response.

Each object in data and the total object (rewardspointsdatereport):

FieldTypeDescription
dateFromstringStart date of the reporting period (nullable).
dateTostringEnd date of the reporting period (nullable).
pointsIninteger (int64)Total rewards points earned during the period.
pointsOutinteger (int64)Total rewards points redeemed or spent during the period.
{
  "data": [
    {
      "dateFrom": "2026-01-01",
      "dateTo": "2026-01-31",
      "pointsIn": 1200,
      "pointsOut": 300
    },
    {
      "dateFrom": "2026-02-01",
      "dateTo": "2026-02-28",
      "pointsIn": 850,
      "pointsOut": 0
    }
  ],
  "total": {
    "dateFrom": "2026-01-01",
    "dateTo": "2026-02-28",
    "pointsIn": 2050,
    "pointsOut": 300
  }
}

Error Codes

CodeWhen it happens
400Invalid value supplied for rewardActivity query parameter
401Token missing, expired, or invalid
403Insufficient permissions or endpoint accessed by a non-business customer
404No rewards activity record found for the authenticated customer
500Internal server error

Common Mistakes

  • Omitting the rewardActivity query parameter returns all available activity (equivalent to None); always pass an explicit period value when building time-scoped reports.
  • Passing an unrecognized period string (e.g., "M3") results in a 400 error — use only the documented enum values: None, D7, M1, M6, Y1, QTD, YTD.
  • This endpoint is for business customers only. Calling it with a personal customer token will return a 403 error.
  • pointsOut represents points that left the account (redemptions or transfers); a value of 0 means no redemption occurred in that period, not that the field is absent.

Related Endpoints

  • GET /api/UsersReward/Balance — Retrieve the current rewards points balance for the authenticated business customer
  • POST /api/UsersReward/Redeem — Redeem rewards points by transferring them to a financial account or another business customer
  • GET /api/UsersReward/Transactions — List individual rewards transactions for the authenticated business customer

Example

curl -X GET "https://api.banking.netevia.dev/api/UsersReward/Activity?rewardActivity=M6" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Query Params
string
enum
Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json