> ## Documentation Index
> Fetch the complete documentation index at: https://docs.creptapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Plan

Update a plan. Every field is editable, price and cadence included.

<Note>
  Changing a plan only affects **new** subscribers. Everyone already subscribed
  keeps the terms copied onto their subscription when they signed up. To move
  someone onto current pricing, call
  [Apply current plan terms](/api-reference/subscription/apply-plan-terms).
</Note>

## Request authentication

This endpoint requires a **Secret Key** (`sk_...`).

## Request parameters

Send only the fields you want to change.

<ResponseField name="name" type="string">
  What customers see on the plan.
</ResponseField>

<ResponseField name="amount" type="number">
  The new price for new subscribers.
</ResponseField>

<ResponseField name="currency" type="string">
  The fiat currency the plan is priced in.
</ResponseField>

<ResponseField name="interval" type="string">
  `day`, `week`, `month` or `year`.
</ResponseField>

<ResponseField name="interval_count" type="integer">
  Bill every N intervals.
</ResponseField>

<ResponseField name="trial_days" type="integer">
  A free trial before the first charge.
</ResponseField>

<ResponseField name="grace_days" type="integer">
  Days after a period ends that a subscriber can still pay. Between `0` and
  `30`.
</ResponseField>

<ResponseField name="collection_mode" type="string">
  `invoice`, `auto_debit` or `both`.
</ResponseField>
