Points Transactions

Create, retrieve, and list credits and debits to a loyalty account's points balance.

View as Markdown

A points transaction records a credit or debit to a loyalty account's balance. Credits increase the balance (e.g. from a qualifying purchase); debits decrease it (e.g. when redeeming a reward).

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The points transaction objectAsk

idstring

Unique identifier for the transaction, e.g. pt_7Rm1cW.

loyalty_accountobjectExpandable

The loyalty account whose balance was affected. Expand to retrieve the full object.

amountinteger

Number of points credited or debited. Always positive; direction is indicated by type.

typeenum

Either credit (points added) or debit (points removed).

points_afterinteger

The loyalty account's points balance immediately after this transaction.

reasonstring

Human-readable description of why the transaction occurred, e.g. Purchase earn or Reward redemption.

createdinteger

Unix timestamp of when the transaction was created.

Create a points transactionAsk

Manually credit or debit a loyalty account. Most credits are created automatically by the engine when an earning rule fires; use this endpoint for manual adjustments or custom integrations.

Retrieve a points transactionAsk

Fetch a single points transaction by its ID.

List points transactionsAsk

Returns a paginated list of points transactions, newest first. Filter by loyalty_account and/or type to narrow results.

ParameterTypeDescription
loyalty_accountstringFilter to transactions on a specific loyalty account.
typeenumcredit or debit. Omit to return both.
limitintegerNumber of results to return. Default 10, max 100.

points_transaction.created. See Events.

Was this page helpful?