1.8 KiB
1.8 KiB
PreviewAttachFreeTrial
Fields
| Field | Type | Required | Description |
|---|---|---|---|
duration_length |
float | ✔️ | Number of duration_type periods the trial lasts. |
duration_type |
Optional[models.PreviewAttachDurationType] | ➖ | Unit of time for the trial ('day', 'month', 'year'). |
card_required |
Optional[bool] | ➖ | If true, payment method required to start trial. Customer is charged after trial ends. |