Skip to main content
Retrieve a paginated, newest-first feed of the customer’s loyalty activity: point earnings, redemptions, and cashback rows combined into a single list.

Usage

Parameters

limit
number
default:"10"
Maximum number of rows to return.
offset
number
default:"0"
Number of rows to skip, for pagination.

Response

success
boolean
Whether the request was successful.
data.points
number
The customer’s current balance, in the shop’s loyalty unit.
data.pointsNextExpiryAt
string | null
When the next tranche of points expires, or null.
data.hasCashback
boolean
Whether the shop runs cashback. When true, cashback rows may appear in the feed.
data.activity
array
The activity rows.
data.pagination
object
{ hasMore, totalCount }. Use with offset to page through the feed.
data.content
object
Merchant-configured { greeting, description } copy for the activity block.
data.loyaltyMode
string
"points" or "store_credit". In store-credit mode points values are minor currency units. See Loyalty modes.
data.currency
string
The shop’s ISO currency code.

Sample response