API Documentation
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 |
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 |