Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get consumer loyalty point transaction history with pagination
cURL
curl --request GET \ --url https://admin.fanfare.io/api/consumers/{id}/loyalty-transactions \ --header 'Authorization: Bearer <token>'
{ "expiringBuckets": [ { "earnedOn": "<string>", "expiresOn": "<string>", "pointsRemaining": 123 } ], "nextCursor": "<string>", "transactions": [ { "bucketExpiresOn": "<string>", "id": "<string>", "metadata": {}, "occurredAt": "<string>", "pointsDelta": 123, "sourceDescription": "<string>", "sourceType": "<string>" } ] }
Fanfare secret key. Keep secret credentials on your server.
Loyalty transactions retrieved successfully
Show child attributes