plans/create

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Triggered when a new subscription plan is created, providing details about the plan configuration, pricing, and features.

Sample payload

{
  "id": "price_1Nx82jKLmT9ej7XS0V9AHGc",
  "name": "Basic Starter",
  "topic": "plans/create",
  "amount": 19.99,
  "public": true,
  "features": {
    "basic_analytics": {
      "id": "feat_ba_7d3a49f2c8e142b5",
      "name": "Basic Analytics",
      "type": "boolean",
      "value": true,
      "description": "Simple performance tracking",
      "displayOrder": 1
    },
    "order_management": {
      "id": "feat_om_9e6b2403f71547a3",
      "name": "Order Management",
      "type": "boolean",
      "value": true,
      "description": "Up to 500 orders per month",
      "displayOrder": 2
    }
  },
  "interval": "month",
  "createdAt": "2025-02-18T13:26:40.000Z",
  "trialDays": 0,
  "updatedAt": "2025-02-18T13:26:40.000Z",
  "description": "Affordable plan for small businesses",
  "currencyCode": "USD",
  "customFields": {
    "tier": "starter"
  },
  "usageCharges": [
    {
      "id": "uc_5f83c92147e649b8",
      "type": "unit_limits",
      "terms": "Per order over 500",
      "amount": 0.05,
      "eventName": "order_processed",
      "cappedAmount": 25
    }
  ],
  "featuresOrder": [
    "basic_analytics",
    "order_management"
  ]
}
{
  "id": "price_1Ox75nAHGcN6ej7XS0V9KLmT",
  "name": "Professional Plan",
  "topic": "plans/create",
  "amount": 29.99,
  "public": true,
  "features": {
    "advanced_analytics": {
      "id": "feat_adv_analytics_21c8e",
      "name": "Advanced Analytics",
      "type": "boolean",
      "value": true,
      "description": "Comprehensive metrics dashboard",
      "displayOrder": 1
    },
    "inventory_management": {
      "id": "feat_inv_mgmt_93f7d",
      "name": "Inventory Management",
      "type": "boolean",
      "value": true,
      "description": "Up to 1000 products",
      "displayOrder": 2
    },
    "priority_support": {
      "id": "feat_support_57e2b",
      "name": "Priority Support",
      "type": "boolean",
      "value": true,
      "description": "24/7 email and chat support",
      "displayOrder": 3
    }
  },
  "interval": "month",
  "createdAt": "2025-03-01T09:15:22.000Z",
  "trialDays": 14,
  "updatedAt": "2025-03-10T14:32:50.000Z",
  "description": "Complete solution for growing businesses",
  "currencyCode": "USD",
  "customFields": {
    "tier": "professional",
    "recommended": true
  },
  "usageCharges": [
    {
      "id": "uc_1Nt83mAHGcN6ej7X9sT1Qz5",
      "type": "tiered_pricing",
      "terms": "Per product over 1000",
      "amount": 0.10,
      "eventName": "product_added",
      "cappedAmount": 50
    }
  ],
  "featuresOrder": [
    "advanced_analytics",
    "inventory_management",
    "priority_support"
  ],
  "stripe": {
    "id": "price_1Ox75nAHGcN6ej7XS0V9KLmT",
    "createdAt": "2025-03-01T09:15:22.000Z"
  }
}
Body Params

A plan was created

string

The topic of the webhook

string

Unique identifier for the plan.

string

Name of the plan.

string

Description of the plan.

number

Amount of the plan.

string

Currency code of the plan.

boolean

Indicates if the plan is public.

integer

Number of trial days for the plan.

string

Billing interval of the plan.

date-time

Date when the plan was created.

date-time

Date when the plan was last updated.

features
object

Features included in the plan.

featuresOrder
array of strings

Order of the features in the plan.

featuresOrder
usageCharges
array of objects

Usage charges associated with the plan.

usageCharges
customFields
object

Custom fields associated with the plan.

stripe
object
Response
200

Return a 200 status to indicate that the data was received successfully

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!