---
title: "Get Points Expiry Schedule"
method: GET
path: "/customers/{userId}/pointsExpirySchedule"
---

# Get Points Expiry Schedule

`GET /customers/{userId}/pointsExpirySchedule`

Retrieves the history of points expired schedules of a customer.

## Path parameters

- `userId` integer, required

## Headers

- `X-CAP-API-OAUTH-TOKEN` string

## Response `200`

200

- object
  - `id` integer
  - `profiles` unknown[]
    - unknown
  - `loyaltyInfo` object
    - `loyaltyType` string
  - `segments` object
  - `extendedFields` object
  - `expirySchedules` object[]
    - `points` integer
    - `expiryDate` string
    - `programId` integer
    - `pointsType` string
    - `expiryType` string
  - `warnings` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
