---
title: "Change payment method on subscription"
method: PUT
path: "/2023-10/subscription/{subscriptionId}/paymentMethod"
---

# Change payment method on subscription

`PUT /2023-10/subscription/{subscriptionId}/paymentMethod`

## Request

- Base URL: `https://api.loopsubscriptions.com/admin`
- URL: `https://api.loopsubscriptions.com/admin/2023-10/subscription/{subscriptionId}/paymentMethod`
- Auth: API key in header `X-Loop-Token`

Rate limit - 5/s

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `paymentMethodId` integer, required: Id of the new payment method

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `code` string
  - `pageInfo` unknown

---

[API](https://skmtc.dev/loopwork/apis/loop-admin.md) - [All operations](https://skmtc.dev/loopwork/apis/loop-admin/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/loop-admin/revisions/1eaf81bcb1ea?raw)
