plans/update

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

Triggered when an existing subscription plan is modified, containing the updated plan configuration.

Sample payload

{
  "id": "75cbecd2-660c-4944-985a-9f739f6d230e",
  "name": "Pro Plan",
  "topic": "plans/update",
  "amount": 39.99,
  "public": true,
  "features": {
    "custom_reports": {
      "id": "8fca5ac8-6b79-4411-92cd-46d9560479c9",
      "name": "Custom Reports",
      "type": "boolean",
      "value": true,
      "description": "Generate detailed analytics reports",
      "displayOrder": 1
    },
    "api_calls": {
      "id": "b1c2d3e4-f5g6-h7i8-j9k0-l1m2n3o4p5q6",
      "name": "API Calls",
      "type": "limit_with_overage",
      "value": "10000",
      "description": "Monthly API call limit",
      "displayOrder": 2
    }
  },
  "interval": "EVERY_30_DAYS",
  "createdAt": "2025-01-15T09:22:18.723Z",
  "trialDays": 14,
  "updatedAt": "2025-03-18T16:30:44.129Z",
  "description": "Advanced features for growing businesses",
  "currencyCode": "USD",
  "customFields": {
    "Recommended": "true",
    "IndustryFocus": "ecommerce"
  },
  "usageCharges": [
    {
      "id": "c1d2e3f4-g5h6-i7j8-k9l0-m1n2o3p4q5r6",
      "type": "unit",
      "terms": null,
      "amount": 0.005,
      "eventName": null,
      "cappedAmount": 200
    }
  ],
  "featuresOrder": [
    "custom_reports",
    "api_calls"
  ]
}
{
  "id": "price_1P2xZjLpM7KT5gH3n0VqS2Rb",
  "name": "Pro Plan",
  "topic": "plans/update",
  "amount": 39.99,
  "public": true,
  "features": {
    "custom_reports": {
      "id": "feat_cr_8fca5ac86b79",
      "name": "Custom Reports",
      "type": "boolean",
      "value": true,
      "description": "Generate detailed analytics reports",
      "displayOrder": 1
    },
    "api_calls": {
      "id": "feat_api_b1c2d3e4f5g6",
      "name": "API Calls",
      "type": "limit_with_overage",
      "value": "10000",
      "description": "Monthly API call limit",
      "displayOrder": 2
    }
  },
  "interval": "month",
  "createdAt": "2025-01-15T09:22:18.723Z",
  "trialDays": 14,
  "updatedAt": "2025-03-18T16:30:44.129Z",
  "description": "Advanced features for growing businesses",
  "currencyCode": "USD",
  "customFields": {
    "Recommended": "true",
    "IndustryFocus": "ecommerce"
  },
  "usageCharges": [
    {
      "id": "uc_c1d2e3f4g5h6i7j8",
      "type": "unit",
      "terms": null,
      "amount": 0.005,
      "eventName": null,
      "cappedAmount": 200
    }
  ],
  "featuresOrder": [
    "custom_reports",
    "api_calls"
  ],
  "stripe": {
    "id": "price_1P2xZjLpM7KT5gH3n0VqS2Rb",
    "createdAt": "2025-01-15T09:22:18.723Z"
  }
}
Body Params

A plan was updated

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!