---
title: "Update Subscription Payment Source"
method: POST
path: "/v1/subscriptions/{subId}/payment-source"
tags: ["Payment"]
---

# Update Subscription Payment Source

`POST /v1/subscriptions/{subId}/payment-source`

This will associate new billing option to existing subscription by payment source

## Path parameters

- `subId` string, required

## Headers

- `token` string, required

## Request body

- PaymentSourceChangeRequest
  - `sourceId` string, required — Payment source id
  - `isShippingSameAsBilling` boolean — The shipping address of subscription should be updated same as billing address.The default is true.

## Response `202`

Accepted

## Other responses

- `400` — * Bad request
- `401` — Please verify your API key and secret (if applicable) is correct.
- `403` — * Access Denied
- `404` — * Not found

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-admin-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-admin-apis/revisions/a6efafc1669c/schema)
