appmixer.stripe.core.CreateSubscription
1.0.0
Public
| Field | Type | Description |
|---|---|---|
| Customer ID | text | The ID of the customer to subscribe, e.g. cus_NffrFeUfNV2Hib. |
| Line Items | expression | Up to 20 recurring prices to subscribe the customer to, each with a quantity. |
| Trial Period Days | number | Number of trial days before the customer is charged for the first time. |
| Default Payment Method ID | text | ID of a payment method attached to the customer, e.g. pm_1MqLiJLkdIwHu7ixUEgbFdYF. If empty, the customer's default payment method is used. |
| Collection Method | select | Charge the default payment method automatically, or email the customer an invoice to pay. |
| Days Until Due | number | Number of days the customer has to pay each invoice. Required when the collection method is Send Invoice. |
| Description | text | A description of the subscription shown to the customer (up to 500 characters). |
| Metadata | key-value | Optional key-value pairs to store on the object, e.g. an order ID from your system. |
| Field | Type | Description |
|---|---|---|
| Subscription ID | string | - |
| Object | string | - |
| Status | string | - |
| Customer ID | string | - |
| Collection Method | string | - |
| Currency | string | - |
| Created (Unix Timestamp) | integer | - |
| Start Date (Unix Timestamp) | integer | - |
| Trial Start (Unix Timestamp) | integer,null | - |
| Trial End (Unix Timestamp) | integer,null | - |
| Cancel At Period End | boolean | - |
| Days Until Due | integer,null | - |
| Default Payment Method ID | string,null | - |
| Latest Invoice ID | string,null | - |
| Description | string,null | - |
| Live Mode | boolean | - |
| Metadata | object | - |
| Items | object | - |