index

GET /api/v1/accounts/:account_id/rewards

List rewards

Returns all rewards for the store. Optionally filter by card or active status.

Parameters

Name Type Required Description
account_id Must be a number. Required

Store (account) ID

card_id Must be a number. Optional

Filter rewards belonging to a specific card

active Must be a String Optional

When present, return only active rewards

Error Codes

Code Description
401 Unauthorized – invalid or missing API token
404 Store not found