cURL
curl --request GET \ --url https://api.zupy.com/api/v2/customers/{id}/points/ \ --header 'X-API-Key: <api-key>'
{ "data": { "customer_id": "<string>", "points_balance": 123, "points_earned": 123, "points_spent": 123, "points_name": "<string>", "last_activity_date": "2023-11-07T05:31:56Z", "tier": "<string>" }, "meta": { "cursor": "<string>", "has_next": true, "count": 123 } }
Get customer’s current points balance summary.
API key for partner access via APISIX key-auth plugin
Unique identifier for this customer.
Summary of a customer's loyalty points balance, including earned, spent, and current tier.
Show child attributes
Cursor-based pagination metadata matching envelope middleware output.