Lightspeed Commerce · Schema
Gift Card Transaction Parameters
The parameters for creating a new gift card transaction.
CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada
Properties
| Name | Type | Description |
|---|---|---|
| amount | string | The transaction amount. Must be negative for REDEEMING transactions and positive for RELOADING transactions. |
| client_id | string | A unique transaction identifier for idempotency. The client must provide this and is normally the transaction id from the client system. |
| expires_at | string | Optional new expiry date for the gift card in YYYY-MM-DD format. Can be used to extend the gift card's expiry when reloading. |
| time_zone | string | The timezone to use when interpreting the `expires_at` date (e.g. "Pacific/Auckland"). See the list of tz database time zones for valid values. |
| type | string | The type of the transaction. |
| user_id | string | The ID of the user creating the transaction. If omitted, the authenticated user will be used. |
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-transaction-params-schema.json",
"title": "Gift Card Transaction Parameters",
"description": "The parameters for creating a new gift card transaction.",
"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/GiftCardTransactionParams",
"properties": {
"amount": {
"description": "The transaction amount. Must be negative for REDEEMING transactions and positive for RELOADING transactions.",
"type": "string"
},
"client_id": {
"description": "A unique transaction identifier for idempotency. The client must provide this and is normally the transaction id from the client system.",
"type": "string"
},
"expires_at": {
"description": "Optional new expiry date for the gift card in YYYY-MM-DD format. Can be used to extend the gift card's expiry when reloading.",
"type": "string"
},
"time_zone": {
"description": "The timezone to use when interpreting the `expires_at` date (e.g. \"Pacific/Auckland\"). See the list of tz database time zones for valid values.",
"type": "string"
},
"type": {
"description": "The type of the transaction.",
"enum": [
"REDEEMING",
"RELOADING"
],
"type": "string"
},
"user_id": {
"description": "The ID of the user creating the transaction. If omitted, the authenticated user will be used.",
"type": "string"
}
},
"required": [
"amount",
"client_id",
"type"
],
"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-transaction-params"
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.