Lightspeed Commerce · Schema
Store Credit Customer
The store credit information for a customer.
CommercePoint-of-SaleRetailRestaurantInventoryLoyaltyPaymentsE-CommerceOmnichannelCanada
Properties
| Name | Type | Description |
|---|---|---|
| balance | number | The customers store credit balance. |
| created_at | string | Creation timestamp in UTC. |
| customer_id | string | The customer id. |
| id | string | Store Credit Customer's internal ID. |
| store_credit_transactions | array | The transactions associated with this customer. |
| total_credit_issued | number | Total amount of store credit issued to this customer. |
| total_credit_redeemed | number | Total amount of store credit spent by this customer. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-store-credit-customer-schema.json",
"title": "Store Credit Customer",
"description": "The store credit information for a customer.",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/lightspeed-store-credits-api-openapi.yml#/components/schemas/StoreCreditCustomer",
"properties": {
"balance": {
"description": "The customers store credit balance.",
"format": "double",
"type": "number"
},
"created_at": {
"description": "Creation timestamp in UTC.",
"type": "string"
},
"customer_id": {
"description": "The customer id.",
"format": "uuid",
"type": "string"
},
"id": {
"description": "Store Credit Customer's internal ID.",
"format": "string",
"type": "string"
},
"store_credit_transactions": {
"description": "The transactions associated with this customer.",
"items": {
"$ref": "#/$defs/StoreCreditTransaction"
},
"type": "array"
},
"total_credit_issued": {
"description": "Total amount of store credit issued to this customer.",
"format": "double",
"type": "number"
},
"total_credit_redeemed": {
"description": "Total amount of store credit spent by this customer.",
"format": "double",
"type": "number"
}
},
"required": [
"customer_id",
"balance",
"total_credit_issued",
"total_credit_redeemed"
],
"type": "object",
"$defs": {
"StoreCreditTransaction": {
"description": "A store credit operation",
"properties": {
"amount": {
"description": "The amount of the transaction",
"format": "double",
"type": "number"
},
"client_id": {
"description": "An operation idempotency identifier.\nThe client must provide this and normally it should be the transaction id from the client system.\nAn operation and it's reverse operation must have the same client_id\n",
"type": "string"
},
"created_at": {
"description": "The date time the transaction was created.",
"format": "date-time",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(Z|[+-]\\d{2}:\\d{2})$",
"type": "string"
},
"id": {
"description": "transaction unique identifier (base64 encoded)",
"type": "string"
},
"notes": {
"description": "The notes associated with the transaction.",
"type": "string"
},
"sale_id": {
"description": "The sale id the transaction is associated with. This should be null for transactions initiated outside of Lightspeed Retail. If it is a sale id, it will be in UUID format.",
"format": "uuid",
"type": "string"
},
"type": {
"description": "The type of the transaction",
"enum": [
"ISSUE",
"REDEMPTION",
"REVERSE"
],
"type": "string"
},
"user_id": {
"description": "The user id of the person who performed the transaction (during a sale or a manual issue)",
"format": "uuid",
"type": "string"
}
},
"title": "Store Credit Transaction for Customer",
"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-store-credit-customer"
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.