---
title: "Change payment method"
method: PUT
path: "/2026-04/subscription/{subscriptionId}/paymentMethod"
---

# Change payment method

`PUT /2026-04/subscription/{subscriptionId}/paymentMethod`

## Request

- Base URL: `https://api.loopsubscriptions.com/storefront`
- URL: `https://api.loopsubscriptions.com/storefront/2026-04/subscription/{subscriptionId}/paymentMethod`
- Auth: API key in header `Authorization`

This endpoint allows you to change the payment method linked to the subscription for future billing attempts.

## Path parameters

- `subscriptionId` integer, required

## Request body

- object
  - `paymentMethodId` string, required: The unique identifier for the payment method in Loop.

## Response `200`

Payment method has been changed in the subscription

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `type` string
    - `status` string
    - `card` object
      - `brand` string
      - `expiryYear` integer
      - `expiryMonth` integer
      - `lastDigits` string
    - `payPal` unknown
    - `subscription` object
      - `id` integer
  - `code` string
  - `pageInfo` unknown

## Changes

- **2026-11-03** `1ff6a5700816`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/loopwork/apis/storefront-api/changes/2026-04/subscription/:subscriptionId/paymentMethod/put.md)

---

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