Skip to main content
GET
/
v1
/
loyalties
/
{campaignId}
/
members
/
{memberId}
/
points-expiration
List Loyalty Card Point Expiration
curl --request GET \
  --url https://{cluster}.voucherify.io/v1/loyalties/{campaignId}/members/{memberId}/points-expiration \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "object": "list",
  "data_ref": "data",
  "data": [
    {
      "id": "lopb_ERSwDxeWTlvWwFrn3AtJxt3s",
      "voucher_id": "v_0aMj6Mdp0i3zuXrd9NnBKboc7746mlgF",
      "campaign_id": "camp_7s3uXI44aKfIk5IhmeOPr6ic",
      "bucket": {
        "total_points": 2
      },
      "status": "ACTIVE",
      "expires_at": "2022-11-25",
      "created_at": "2022-11-25T09:10:20.994Z",
      "object": "loyalty_points_bucket"
    },
    {
      "id": "lopb_zdeIBq3EsnPnRSDa7Tyyb6X2",
      "voucher_id": "v_0aMj6Mdp0i3zuXrd9NnBKboc7746mlgF",
      "campaign_id": "camp_7s3uXI44aKfIk5IhmeOPr6ic",
      "bucket": {
        "total_points": 12
      },
      "status": "ACTIVE",
      "expires_at": "2022-11-30",
      "created_at": "2022-11-21T13:49:54.949Z",
      "object": "loyalty_points_bucket"
    },
    {
      "id": "lopb_Mg80vhZtqHFItWlJFYZ2rJAS",
      "voucher_id": "v_0aMj6Mdp0i3zuXrd9NnBKboc7746mlgF",
      "campaign_id": "camp_7s3uXI44aKfIk5IhmeOPr6ic",
      "bucket": {
        "total_points": 0
      },
      "status": "ACTIVE",
      "expires_at": "2023-05-30",
      "created_at": "2022-06-09T11:07:07.344Z",
      "updated_at": "2022-08-30T08:34:45.989Z",
      "object": "loyalty_points_bucket"
    },
    {
      "id": "lopb_dQE1TwyTkHAJDlVCPlqSC0nu",
      "voucher_id": "v_0aMj6Mdp0i3zuXrd9NnBKboc7746mlgF",
      "campaign_id": "camp_7s3uXI44aKfIk5IhmeOPr6ic",
      "bucket": {
        "total_points": 13124
      },
      "status": "ACTIVE",
      "created_at": "2022-02-28T12:13:57.749Z",
      "updated_at": "2022-11-25T09:09:51.136Z",
      "object": "loyalty_points_bucket"
    }
  ],
  "total": 4
}

Authorizations

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

Path Parameters

campaignId
string
required
Example:
memberId
string
required
Example:

Query Parameters

limit
integer
Required range: 1 <= x <= 100
page
integer
Required range: 1 <= x <= 100

Response

200 - application/json
object
enum<string>
default:list
required
Available options:
list
data_ref
enum<string>
default:data
required
Available options:
data
data
Loyalty Point Bucket · object[]
required
total
integer
required