Stampede Platform
Nothing published in this section yet.
Schema
PayOSOrg Structure
Discount
Coupon or promotional discount on a subscription. Percentage or fixed.
10 fields1 relationships
Fields
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Discount ID. |
| coupon_id | string | — | Provider coupon ID. |
| coupon_name | string | — | Coupon name. |
| percent_off | number | — | Percentage 0–100. |
| amount_off | pennies | — | Fixed amount in pennies. |
| currency | string | — | ISO 4217 currency for fixed discounts. |
| duration | enum | — | forever | once | repeating. |
| duration_in_months | number | — | Repeating duration in months. |
| start | datetime | — | When active. |
| end | datetime | — | When expires. |
Relationships
Inbound (1)
- Subscription[:HAS_DISCOUNT]→Discount

