---
title: "Cancel a stored credential profile"
method: POST
path: "/v1/payment-methods/{payment-method-id}/profiles/{profile-number}/cancel"
tags: ["Payment Methods"]
---

# Cancel a stored credential profile

`POST /v1/payment-methods/{payment-method-id}/profiles/{profile-number}/cancel`

Cancels a stored credential profile within a payment method.

Cancelling the stored credential profile indicates that the stored credentials are no longer valid, per a customer request. You cannot reactivate the stored credential profile after you have cancelled it.

## Path parameters

- `payment-method-id` string, required
- `profile-number` integer, required

## Headers

- `Idempotency-Key` string
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Track-Id` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Version` string

## Response `200`

OK

- ModifiedStoredCredentialProfileResponse
  - `number` integer — The number that identifies the stored credential profile within the payment method.
  - `paymentMethodId` string — ID of the payment method.
  - `success` boolean

## Other responses

- `500` — Internal Server Error
- `4XX` — Request Errors

---

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