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 | no | Provider coupon ID. |
| coupon_name | string | no | Coupon name. |
| percent_off | number | no | Percentage 0–100. |
| amount_off | pennies | no | Fixed amount in pennies. |
| currency | string | no | ISO 4217 currency for fixed discounts. |
| duration | enum | no | forever | once | repeating. |
| duration_in_months | number | no | Repeating duration in months. |
| start | datetime | no | When active. |
| end | datetime | no | When expires. |
Relationships
Inbound (1)
- Subscription[:HAS_DISCOUNT]→Discount