post
https://appapi.heymantle.com/v1/webhooks/plans/create
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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"
}
} 200Return a 200 status to indicate that the data was received successfully