Retrieve loyalty point expiration buckets for a given loyalty card. Expired point buckets are not returned in this endpoint. You can use the Exports API to retrieve a list of both ACTIVE and EXPIRED point buckets.
The access token received from the authorization server in the OAuth 2.0 flow.
The campaign ID or name of the loyalty campaign. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value, e.g., Loyalty%20Campaign.
"camp_rRsfatlwN7unSeUIJDCYedal"
Loyalty card code.
"MmFAzfDe"
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
1 <= x <= 100Which page of results to return. The lowest value is 1.
1 <= x <= 100Returns a list of loyalty points expiration buckets along with an expiration date if the points are due to expire. No expiration date parameter is returned if the loyalty points bucket does not expire.
Response body schema for GET v1/loyalties/{campaignId}/members/{memberId}/points-expiration.
The type of the object represented by JSON. This object stores information about loyalty points expiration buckets in a dictionary.
list Identifies the name of the attribute that contains the array of loyalty points expiration bucket objects.
data Contains array of loyalty points expiration buckets.
Total number of point expiration buckets.