The amount in cents to be charged on the interval specified
Currency in which subscription will be charged
One of Interval.Day, Interval.Week, Interval.Month or Interval.Year. The frequency with which a subscription should be billed.
The number of intervals (specified in the interval property) between each subscription billing. For example, \interval=Interval.Month and intervalCount=3 bills every 3 months.
Display name of the plan
A set of key/value pairs that you can attach to a plan object. It can be useful for storing additional information about the plan in a structured format.
Extra information about a charge for the customer’s credit card statement.
Number of trial period days granted when subscribing a customer to this plan. scala.None if the plan has no trial period.
https://stripe.com/docs/api#plan_object
Unique string of your choice that will be used to identify this plan when subscribing a customer. This could be an identifier like “gold” or a primary key from your own database.
A positive integer in cents (or 0 for a free plan) representing how much to charge (on a recurring basis).
3-letter ISO code for currency.
Specifies billing frequency. Either Interval.Day, Interval.Week, Interval.Month or Interval.Year.
Name of the plan, to be displayed on invoices and in the web interface.
The number of intervals between each subscription billing. For example, interval=Interval.Month and intervalCount=3 bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
A set of key/value pairs that you can attach to a plan object. It can be useful for storing additional information about the plan in a structured format. This will be unset if you POST an empty value.
An arbitrary string to be displayed on your
customer’s credit card statement. This may be up to
22 characters. As an example, if your website is
RunClub and the item you’re charging for is your
Silver Plan, you may want to specify a statementDescriptor
of RunClub Silver Plan. The statement description may not include <>"'
characters, and will appear on your customer’s statement in
capital letters. Non-ASCII characters are automatically stripped.
While most banks display this information consistently,
some may display it incorrectly or not at all.
Specifies a trial period in (an integer number of) days. If you include a trial period, the customer won’t be billed for the first time until the trial period ends. If the customer cancels before the trial period is over, she’ll never be billed at all.
StatementDescriptorInvalidCharacter
- If statementDescriptor has an invalid character
StatementDescriptorTooLong
- If statementDescriptor is longer than 22 characters
https://stripe.com/docs/api#create_plan
A filter on the list based on the object created field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with the following options:
A cursor for use in pagination. endingBefore is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include endingBefore=obj_bar in order to fetch the previous page of the list.
A limit on the number of objects to be returned. Limit can range between 1 and 100 items.
A cursor for use in pagination. startingAfter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include startingAfter=obj_foo in order to fetch the next page of the list.
https://stripe.com/docs/api#list_plans