Skip to content

Get user gift cards

Request

Returns a list of authorized user gift cards

Security
BearerPartner
Query
location_idnumberrequired

Location ID

Headers
Acceptstringrequired

application/vnd.api.v2+json

Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/user/loyalty/certificates?location_id=0' \
  -H 'Accept: string' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_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 certificates found)

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