Skip to main content
GET
/
v2
/
loyalties
/
programs
/
{programId}
/
members
/
{memberId}
/
cards
/
{cardId}
/
expiring-points
List card expiring points buckets
curl --request GET \
  --url {protocol}://{host}/v2/loyalties/programs/{programId}/members/{memberId}/cards/{cardId}/expiring-points \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "card_id": "<string>",
      "customer_id": "<string>",
      "card_definition_id": "<string>",
      "program_id": "<string>",
      "card_type": "INDIVIDUAL",
      "member_id": "<string>",
      "points": {
        "total": 123
      },
      "expiration_date": "2023-12-25",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "object": "<string>"
    }
  ],
  "cursor": {
    "next": "<string>",
    "expires_at": "2023-11-07T05:31:56Z"
  },
  "object": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}
{
"code": 123,
"key": "<string>",
"message": "<string>",
"details": "<string>",
"request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

programId
string
required

Loyalty program ID (format lprg_[a-f0-9]+).

Pattern: ^lprg_[a-f0-9]+$
memberId
string
required

Program member ID (format lmbr_[a-f0-9]+).

Pattern: ^lmbr_[a-f0-9]+$
cardId
string
required

Loyalty card ID (format lcrd_[a-f0-9]+).

Pattern: ^lcrd_[a-f0-9]+$

Query Parameters

limit
integer | null
default:10

Maximum number of buckets to return. Must be between 1 and 100. Defaults to 10 when not provided.

Required range: 1 <= x <= 100
order

Field(s) to order results by. Valid orders are expiration_date and -expiration_date; defaults to expiration_date (soonest expiration first). Ordering by the same field in both directions simultaneously is rejected.

Available options:
expiration_date,
-expiration_date
cursor
string | null

Pagination cursor returned in the cursor.next field of a previous response. Must match the pattern ^lcrspeb_[a-f0-9]+$.

Pattern: ^lcrspeb_[a-f0-9]+$

Response

Cursor-paginated list of points expiration buckets.

Cursor-paginated list of points expiration buckets.

data
object[]
required

Points expiration buckets on the current page.

cursor
object | null
required

Pagination cursor, or null when there are no more results.

object
string
required

Object type marker, always list.

Allowed value: "list"
Last modified on July 9, 2026