Get loyalty card
Changed on[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Get the given loyalty card.
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the List loyalty programs endpoint.
Identifier of the loyalty card. You can get the identifier with the List loyalty cards endpoint.
Important: The loyalty card ID requires URL encoding if it contains special characters. For example, you must encode NewCard2026% as NewCard2026%25.
Response
OK
Example response
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"programID": 125,
"programName": "Loyalty_program",
"programTitle": "Loyalty program",
"status": "active",
"blockReason": "Current card lost. Customer needs a new card.",
"attributes": {
"PIN": 1234,
"Language": "DE"
},
"identifier": "summer-loyalty-card-0543",
"usersPerCardLimit": 111,
"profiles": [
{
"integrationId": "R195412",
"timestamp": "2021-09-12T10:12:42Z"
}
],
"ledger": {
"currentBalance": 100,
"pendingBalance": 10,
"negativeBalance": 10,
"tentativeCurrentBalance": 100,
"tentativePendingBalance": 20,
"tentativeNegativeBalance": 100,
"currentTier": {
"id": 11,
"name": "bronze",
"startDate": "2025-05-03T12:32:00Z07:00",
"expiryDate": "2026-08-02T15:04:05+07:00",
"downgradePolicy": "one_down",
"source": "points",
"reason": "Subscription to newsletter"
},
"pointsToNextTier": 20,
"nextTierName": "Silver"
},
"modified": "2021-09-12T10:12:42Z",
"oldCardIdentifier": "summer-loyalty-card-0543",
"newCardIdentifier": "summer-loyalty-card-0543",
"batchId": "wdefpov"
}Changes
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info