Lightspeed Commerce · Schema
Gift Card Collection
A paginated list of gift cards.
CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada
Properties
| Name | Type | Description |
|---|---|---|
| data | array | An array of Gift Cards. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-gift-card-collection-schema.json",
"title": "Gift Card Collection",
"description": "A paginated list of gift cards.",
"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/GiftCardCollection",
"properties": {
"data": {
"description": "An array of Gift Cards.",
"items": {
"$ref": "#/$defs/GiftCard"
},
"type": "array"
}
},
"required": [
"data"
],
"type": "object",
"$defs": {
"GiftCard": {
"description": "A gift card with monetary values represented as strings for precision.",
"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"
}
},
"title": "Gift Card",
"type": "object"
},
"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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lightspeed-gift-card-collection"
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.