Loyalty.lt
Shop points

Get Card Points Balance

Get the current points balance for a specific loyalty card

GET/{locale}/shop/points/balance/{card_id}

Get the current points balance for a specific loyalty card

Authorization

bearerAuth
AuthorizationBearer <token>

Enter JWT token in the format: Bearer {token}

In: header

Path Parameters

locale*string

Locale code

card_id*integer

Loyalty card ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/en/shop/points/balance/1"
{  "success": true,  "data": {    "card_id": 1,    "card_name": "My Loyalty Card",    "card_number": "LC00000001",    "points_balance": 1250,    "total_earned": 2500,    "total_spent": 1250,    "last_transaction_at": "2019-08-24T14:15:22Z"  },  "code": 200}