---
title: "Updates subscription details"
method: POST
path: "/subscription/update"
tags: ["Subscription Service"]
---

# Updates subscription details

`POST /subscription/update`

Updates email and phone number associated with a subscriptionId

## Request body

- SubscriptionDetailsRequest — Either email or phone must be provided.
  - `subscriptionId` string, required — Unique subscription identifier.
  - `email` string — Subscriber's email address.
  - `phone` string — Subscriber's phone number.

## Response `200`

Payment methods successfully retrieved

- SubscriptionDetailsResponse
  - `subscriptionId` string — Unique subscription identifier.
  - `httpStatusCode` integer — Http status code
  - `message` string — Response message
  - `responseTimestamp` string, date-time — Date of response

## Other responses

- `400` — Invalid input data
- `401` — Unauthorized. The access token is missing, invalid, or expired.
- `404` — No saved payment methods found
- `500` — Internal server error

---

[API](https://skmtc.dev/civikestpayment/apis/pays-service-api-specifications.md) · [All operations](https://skmtc.dev/civikestpayment/apis/pays-service-api-specifications/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/civikestpayment/pays-service-api-specifications/revisions/e94a116dff94/schema)
