Get loyalty card by ID
GET /v1/public/cards/{id}
Returns one merchant loyalty-card definition.
Authorization
X-API-Key required with the cards:read scope
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The resource's returned id or externalId. |
Request example
curl -X GET "https://api.remyrewards.co.uk/v1/public/cards/66c735e253f2836fbe941234" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"Responses
| Status | Description |
|---|---|
200 | Card retrieved. |
401 | The API key is missing or invalid. |
403 | The API key is valid but does not have the required scope. |
404 | The requested integration resource was not found. |
429 | A rate or concurrency limit was exceeded. |
Success response example
{
"success": true,
"data": {
"id": "66c735e253f2836fbe941237",
"title": "Coffee Club",
"active": true,
"type": "stamp",
"numberOfStamps": 10
}
}