Skip to main content
GET
cURL
Retrieve a list of transactions for the program. Each transaction represents an addition or removal of points from a customer. Unlike activities and rewards, transactions are immutable. For example, if an activity is triggered and then voided, it will typically create two transactions, one which adds points and a second which removes points.

Authorizations

Authorization
string
header
required

An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header

Query Parameters

type
enum<string>
default:json

The format of the response

Available options:
csv,
json
since_id
integer

Return only resources whose id is after the specified id

Required range: x >= 0
limit
integer
default:100

Max number of resources to return per request

Required range: 1 <= x <= 500
cursor
string

Fetch another page of results using a cursor returned in a previous response

customer_id
number

Return only transactions for this LoyaltyLion customer ID

created_at_min
string

Return only transactions created on or after the specified ISO 8601 datetime string

created_at_max
string

Return only transactions created before the specified ISO 8601 datetime string

Response

200

transactions
(Activity · object | Adjustment · object | Expiry · object | Reward · object)[]
required
cursor
object
required