How do my Stripe Plans specify features and service levels?

Your Stripe Plan.metadata must include camio_plan_metadata_id. That's used to retrieve a full specification of the features and services to be applied to the Plan. 

The stripe_metadata field in the JSON response from /api/plans/metadata specifies the exact entries to include in your Stripe Plan.metadata like this:

"stripe_metadata": {
  "camio_plan_metadata_id": "my-best-1",
  "camio_plan_metadata_url": "https://video.acme.com/api/plans/metadata/?id\u003dmy-best-1"
}

The same camio_plan_metadata_id value can be used by multiple Plans.

Have more questions? Submit a request

Comments