v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Get Center Predefined Gift Card Templates

This API retrieves the list of different types of predefined gift card templates for a given center.

get/v1/giftcards/templates

Request body

RAW_BODYstring

Response

200

OR
OR
OR

Example response

{
  "templates": [
    {
      "id": "9a95803c-a609-43cd-b1e6-8b50a2c90ec1",
      "name": "Center Specific Card",
      "description": "This is a center-specific gift card",
      "price": 50,
      "value": 50,
      "validity": 20,
      "expiry_date": "9999-12-31T23:59:59.9999999",
      "confirmation_message": "This is a locally redeemable gift card",
      "discount": 100,
      "can_be_sold": true,
      "restrict_redemption_to_sale_center": true
    }
  ]
}