Skip to content

Get user gift cards

Request

Returns a list of authorized user gift cards

Security
BearerPartnerUser
Query
location_idnumberrequired

Location ID

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token. The user_token is the Booking User token returned by /user/auth or /booking/auth.

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/public/openapi/user/loyalty/gift_cards?location_id=0' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of objects with data

Example:
[ { "id": 409726, "number": "888", "balance": 9000, "default_balance": 9000, "type_id": 27841, "status_id": 2, "created_date": "2026-09-21T23:00:00.000-05:00", "expiration_date": "2026-09-21T23:00:00.000-05:00", "type": { … }, "status": { … } } ]
metaobject

Metadata (contains the number of gift cards found)

Example:
{ "count": 1 }
Response
{ "success": true, "data": [ { … } ], "meta": { "count": 1 } }