Get Rewards for User

Retrieve the rewards summary and detailed reward history for the authenticated business customer.

Get Rewards for User

Retrieves the complete rewards report for the authenticated business customer, including total accumulated points, last period reward details, and a grouped breakdown by reward type. This endpoint is available to business customers only, as rewards are a business-exclusive feature on the Netevia Banking platform. Use it to display reward balances, period summaries, and published report history within your application.

Endpoint

GET /api/UsersReward/Rewards

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 a business customer wants to view their current rewards balance and transaction-level reward history. It is also useful for displaying period-over-period reward summaries or allowing customers to review rewards earned through card transactions, financial account activity, and transfers. Call this endpoint before initiating a rewards redemption to confirm available points.

Query Parameters

ParameterTypeRequiredDescription
reportPeriodIdinteger (int32)NoThe ID of a specific reporting period to retrieve. If omitted, returns the most recent period's data.

Response

200 OK

Top-level response object (usersrewardreports):

FieldTypeDescription
lastPeriodRewardsarray of rewardreportresponseList of individual reward entries for the most recent (or requested) period.
totalPointsinteger (int64)The customer's total accumulated reward points across all periods.
lastPeriodPublishedstring (date-time)Timestamp when the last reward period report was published. Nullable.
publishedReportsarray of {item1, item2}List of previously published reward report periods. Each entry contains a date-time (item1) and a period ID (item2).
lastPeriodPointsinteger (int64)Total points earned during the most recent published period.
lastPeriodGroupedarray of rewardreportgroupedReward totals grouped by reward type for the last period.

rewardreportresponse object (items in lastPeriodRewards):

FieldTypeDescription
profileIdinteger (int32)The Netevia profile ID of the customer. Nullable.
periodstring (date-time)The reward period date-time this entry belongs to.
dbastringDoing-business-as name associated with the reward entry. Nullable.
transactionIdstringThe transaction ID that generated this reward. Nullable.
totalCashBackinteger (int64)Total cash back amount (in cents) for this reward entry.
agentIdinteger (int32)Internal agent identifier linked to this entry. Nullable.
typeinteger (int32)Reward history type code (enum values 1–15).
commentstringOptional comment or note associated with this reward entry. Nullable.
percentnumber (double)Reward percentage rate applied. Nullable.
templateIdinteger (int32)ID of the rewards template used for this entry.
welcomeinteger (int32)Welcome bonus points amount.
welcomeSpendinteger (int32)Spend amount that qualified for the welcome bonus.
cashBackinteger (int32)Standard cash back amount.
cashBackExtrinteger (int32)Extra cash back amount.
cashBackExtrCreditinteger (int32)Credit applied from extra cash back.
aprinteger (int32)APR-related reward amount.
aprSpendinteger (int32)Spend amount associated with APR rewards.
manualinteger (int32)Manually applied reward adjustment amount.
extraSpendCashBackinteger (int32)Cash back earned from extra spend thresholds.
paymentinteger (int64)Payment amount associated with this reward entry.
pointsnumber (double)Points earned for this reward entry.
typeNamestringHuman-readable name for the reward history type. Nullable.
amountinteger (int64)Raw reward amount for this entry.
fullNamestringFull name of the customer or authorized user linked to this reward. Nullable.
specialMerchantinteger (int32)Special merchant reward amount, if applicable.

rewardreportgrouped object (items in lastPeriodGrouped):

FieldTypeDescription
typeinteger (int32)Reward history type code (enum values 1–15).
pointsnumber (double)Total points earned for this reward type group.
typeNamestringHuman-readable name for this reward type group. Nullable.
amountinteger (int64)Total amount associated with this reward type group.
{
  "lastPeriodRewards": [
    {
      "profileId": 10042,
      "period": "2026-05-01T00:00:00Z",
      "dba": "Acme Corp",
      "transactionId": "txn_8a2f3c91d4e0",
      "totalCashBack": 250,
      "agentId": null,
      "type": 1,
      "comment": null,
      "percent": 1.5,
      "templateId": 3,
      "welcome": 0,
      "welcomeSpend": 0,
      "cashBack": 250,
      "cashBackExtr": 0,
      "cashBackExtrCredit": 0,
      "apr": 0,
      "aprSpend": 0,
      "manual": 0,
      "extraSpendCashBack": 0,
      "payment": 16667,
      "points": 2.50,
      "typeName": "Cash Back",
      "amount": 250,
      "fullName": "Jane Smith",
      "specialMerchant": 0
    }
  ],
  "totalPoints": 1840,
  "lastPeriodPublished": "2026-06-01T00:00:00Z",
  "publishedReports": [
    {
      "item1": "2026-05-01T00:00:00Z",
      "item2": 11
    },
    {
      "item1": "2026-04-01T00:00:00Z",
      "item2": 10
    }
  ],
  "lastPeriodPoints": 320,
  "lastPeriodGrouped": [
    {
      "type": 1,
      "points": 2.50,
      "typeName": "Cash Back",
      "amount": 250
    },
    {
      "type": 5,
      "points": 0.70,
      "typeName": "Special Merchant",
      "amount": 70
    }
  ]
}

Error Codes

CodeWhen it happens
400Invalid reportPeriodId value (e.g., non-integer or out of range)
401Token missing, expired, or invalid
403Insufficient permissions; this endpoint is restricted to business customers
404No reward data found for the specified reportPeriodId
500Internal server error

Common Mistakes

  • Calling this endpoint with a personal customer token — rewards are available to business customers only; a 403 will be returned.
  • Passing a reportPeriodId from a period that has not yet been published; use the publishedReports array in the response to confirm valid period IDs before querying.
  • Assuming totalPoints reflects only the last period — it is the cumulative lifetime total across all periods, not filtered by reportPeriodId.
  • Interpreting monetary fields (e.g., totalCashBack, payment, amount) as dollars — these values are expressed in cents.

Related Endpoints

  • POST /api/UsersReward/Redeem — Redeem accumulated reward points to a financial account
  • GET /api/UsersReward/RewardsSummary — Get a high-level summary of reward balances
  • GET /api/FinancialAccount/List — List financial accounts available as redemption targets

Example

curl -X GET "https://api.banking.netevia.dev/api/UsersReward/Rewards?reportPeriodId=11" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"
Query Params
int32
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