---
title: "Update a Plan"
method: PUT
path: "/v1/subscriptions/plans/{plan_id}"
---

# Update a Plan

`PUT /v1/subscriptions/plans/{plan_id}`

Use secret API key to update a Plan.

## Path parameters

- `id` string, required

## Request body

- object
  - `data` object
    - `attributes` object
      - `amount` integer — Amount to be collected from the customer. A positive integer with a minimum amount of 100. 100 is the smallest unit in cents. If you want to receive an amount of 1.00, the value that you should pass is 100. If you want to receive an amount of 1500.50, the value that you should pass is 150050.
      - `description` string — Description of the Plan.
      - `metadata` object — Object of a key value pair for storing other plan details.
      - `name` string — Name of the Plan.

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
