Stampede Platform
Nothing published in this section yet.
Schema
LoyaltyCommerce
GiftCard
Digital gift card. Tracks created → activated → redeemed → refunded lifecycle.
10 fields3 relationships
Fields
| Name | Type | Req | Description |
|---|---|---|---|
| id | uuid | yes | Gift card UUID. |
| org_id | uuid | yes | Owning organisation. |
| title | string | — | Display name (Birthday Gift etc.). |
| amount | pennies | yes | Face value in pennies. |
| currency | string | — | ISO 4217. |
| status | enum | yes | active | redeemed | refunded | deactivated. |
| created_at | datetime | yes | Created. Indexed. |
| activated_at | datetime | — | Activated. |
| redeemed_at | datetime | — | Redeemed. |
| refunded_at | datetime | — | Refunded. |
Relationships
Outbound (1)
- GiftCard[:BELONGS_TO]→Organization
Related entities
OrganizationGraph AI Engine
Top-level organisation node. Supports franchise and group hierarchies via :PARENT_OF. Every piece of data in the platform is scoped to an organisation.CustomerGraph AI Engine
The root guest identity node. Every interaction across bookings, Wi-Fi, orders, reviews, and loyalty is unified under a single Customer node per organisation.
