---
title: "Change a Subscription’s Payment Method"
method: PUT
path: "/v1/subscriptions/{id}/payment_method"
---

# Change a Subscription’s Payment Method

`PUT /v1/subscriptions/{id}/payment_method`

Use secret API key to change the Payment Method of the Subscription.

## Path parameters

- `id` string, required

## Request body

- object
  - `data` object
    - `attributes` object
      - `payment_method_id` string, required — ID of the new payment method. Example: `pm_CbFCTDfxvMFNjwjVi26Uzhtj`
      - `redirect_url` string — An optional value for the change in `card` payment method . The URL to redirect your customer back to after they authenticate their payment.

## 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)
