Gift Card

A gift card with monetary values represented as strings for precision.

CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada

Properties

Name Type Description
balance string The balance of the gift card, represented as a string for precision.
created_at string The creation timestamp in UTC.
expires_at stringnull The expiry timestamp in UTC.
gift_card_transactions array An array of Gift Card Transactions.
id string Auto-generated object ID.
number string The gift card number.
sale_id stringnull The ID of the sale associated with the gift card creation, if it was created through a register sale. Null if the gift card was created directly via the API.
sale_source string The source system where the gift card was created (e.g. x-series, e-series).
status string The gift card status.
total_redeemed string The amount redeemed with this gift card, represented as a string for precision.
total_sold string The amount loaded onto this gift card during activation or reloading, represented as a string for precision.
View JSON Schema on GitHub

JSON Schema

lightspeed-gift-card-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-gift-card-schema.json",
  "title": "Gift Card",
  "description": "A gift card with monetary values represented as strings for precision.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspeed-gift-cards-api-openapi.yml#/components/schemas/GiftCard",
  "properties": {
    "balance": {
      "description": "The balance of the gift card, represented as a string for precision.",
      "type": "string"
    },
    "created_at": {
      "description": "The creation timestamp in UTC.",
      "type": "string"
    },
    "expires_at": {
      "description": "The expiry timestamp in UTC.",
      "type": [
        "string",
        "null"
      ]
    },
    "gift_card_transactions": {
      "description": "An array of Gift Card Transactions.",
      "items": {
        "$ref": "#/$defs/GiftCardTransaction"
      },
      "type": "array"
    },
    "id": {
      "description": "Auto-generated object ID.",
      "type": "string"
    },
    "number": {
      "description": "The gift card number.",
      "type": "string"
    },
    "sale_id": {
      "description": "The ID of the sale associated with the gift card creation, if it was created through a register sale. Null if the gift card was created directly via the API.",
      "type": [
        "string",
        "null"
      ]
    },
    "sale_source": {
      "description": "The source system where the gift card was created (e.g. x-series, e-series).",
      "type": "string"
    },
    "status": {
      "description": "The gift card status.",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "REDEEMED",
        "VOIDED",
        "EXPIRED"
      ],
      "type": "string"
    },
    "total_redeemed": {
      "description": "The amount redeemed with this gift card, represented as a string for precision.",
      "type": "string"
    },
    "total_sold": {
      "description": "The amount loaded onto this gift card during activation or reloading, represented as a string for precision.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "GiftCardTransaction": {
      "description": "A gift card transaction with the amount represented as a string for precision.",
      "properties": {
        "amount": {
          "description": "The transaction amount, represented as a string for precision.",
          "type": "string"
        },
        "client_id": {
          "description": "The client id is a unique transaction identifier. The client must provide this and is normally the transaction id from the client system.",
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "description": "The creation timestamp in UTC.",
          "type": "string"
        },
        "id": {
          "description": "Auto-generated object ID.",
          "type": "string"
        },
        "source": {
          "description": "The source of the transaction.",
          "type": [
            "string",
            "null"
          ]
        },
        "source_id": {
          "description": "The source id is a unique identifier for the transaction in the source system.",
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "description": "The type of transaction.",
          "enum": [
            "ACTIVATION",
            "REDEEMING",
            "IMPORTING",
            "VOIDING",
            "EXPIRING",
            "REVERSING",
            "RELOADING"
          ],
          "type": "string"
        },
        "user_id": {
          "description": "The user id associated with the transaction.",
          "type": "string"
        }
      },
      "title": "Gift Card Transaction",
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lightspeed-gift-card"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.