How do I create subscription plans?

You must first have a Stripe Connect account with an OAuth connection to the Camio platform in order to create your own Subscription Plans. See the article "How do I connect Camio to my Stripe account?".

  1. Open your Stripe Dashboard at https://dashboard.stripe.com

  2. Choose Subscriptions and Plans
    Stripe-Connect-Plans-Screen_Shot_2017-11-29_at_7.01.13_AM.png

  3. Create the Plan using the Stripe UI or API. Remember, you cannot change the price of a Plan after it has been created, so contact Camio to review any questions about pricing prior to creating the Plan.

  4. Specify the metadata that describes the service level and price of the Plan.

Metadata key/value descriptions

key example value description
history_days 45 Required integer number of days that video history is retained.
data_bytes 32212254720 Required integer number of bytes uploaded included in the base price of the Plan. For example, 30 Gigabytes is 32212254720 bytes.
data_overage_bytes 10737418240 Required integer number of bytes incrementally added to the user's account upon exceeding data_bytes in a particular billing period. For example, 10 Gigabytes is 10737418240 bytes.
data_overage_price  500 Required integer number of cents to charge the user for the additional data_overage_bytes. For example, $5 (5 US Dollars) is 500.
vision_services  LABEL_DETECTION,TEXT_DETECTION Optional comma-separated list of vision services to be applied to important Events. LABEL_DETECTION,TEXT_DETECTION
vision_services_rate  10 Required when vision_services has been specified. The integer number of vision service operations allocated each hour.
vision_services_capacity  30  Required when vision_services has been specified. The integer maximum number of vision service operations that can be accumulated. 
video_upload_filter  0,1 Optional comma-separate list of integer Event importance levels to be filtered from uploading. 0 is no motion, 1 is unimportant, and 2 is important. So the video_upload_filter "0,1" will upload only important Events.
labels test,prod Required comma-separated list of labels used to reference this Plan. Only Plans with the label "prod" appear by default on the camio.com/account page, so adding the label "prod" has the effect of publishing the Plan for all users.
Have more questions? Submit a request

Comments