1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints – Offers
  5. GET /cards/:id/offers

GET /cards/:id/offers

List all Offers that you linked to a Card.

Headers

Name Value
Authorization Bearer {JWT}

URL parameters

Key Required Comment
id Yes Integer. The Card ID.

Response

Name Value
clos JSON array. Each element is a JSON object.
clos[].card_offer JSON object
clos[].card_offer.id integer
clos[].card_offer.card_id integer
clos[].card_offer.offer_id integer
clos[].card_offer.created_at string. Timestamp in format YYYYMMDDhhmmss
clos[].card_offer.redeemed boolean
clos[].card_offer.redeemed_at string. Timestamp in format YYYYMMDDhhmmss
clos[].offer JSON object
clos[].offer.id integer
clos[].offer.name string
clos[].offer.start_date string. Timestamp in format YYYYMMDDhhmmss
clos[].offer.description JSON array
clos[].offer.merchant_id integer
clos[].offer.offer_type string

How can we help?