| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | Subscription ID | |
| name | string | ||
| status | string | ||
| billingPeriod | int | ||
| billingPeriodUnit | string | ||
| currencyCode | string | ||
| totalPrice | int | Total price in cents | |
| renewalPrice | int | Renewal price in cents | |
| isAutoRenewed | bool | ||
| createdAt | \DateTime | ||
| expiresAt | \DateTime | Final date when the subscription will be or was cancelled and expire. Set when a cancellation is scheduled (e.g. after auto-renewal is disabled) or the subscription is already cancelled; `null` otherwise. | |
| nextBillingAt | \DateTime | Date when the next charge will happen while the subscription is auto-renewing. Only relevant when `is_auto_renewed` is `true`; ignore it otherwise. |