---
title: "Revoke a payment source"
method: DELETE
path: "/v1/customers/{customerId}/sources/{sourceId}"
tags: ["CUSTOMERS"]
---

# Revoke a payment source

`DELETE /v1/customers/{customerId}/sources/{sourceId}`

## Request

- Base URL: `https://scl-sandbox.dev.clover.com`
- URL: `https://scl-sandbox.dev.clover.com/v1/customers/{customerId}/sources/{sourceId}`
- Auth: OAuth 2
  - Authorization code: `https://sandbox.dev.clover.com/oauth/authorize`
  - Token URL: `https://sandbox.dev.clover.com/oauth/token`

Removes a payment `source`, such as card or ACH token, from the customer profile. Use [Create a card token](https://docs.clover.com/reference/create-card-token) or [Create an ACH token](https://docs.clover.com/reference/create-ach-token) to create payment source.

## Path parameters

- `customerId` string, required
- `sourceId` string, required

## Headers

- `User-Agent` string, required

## Response `200`

Successful response. Payment source successfully removed from the customer record.

- object
  - `deleted` boolean, required: Indicates whether the payment source associated with customer has been deleted.
  - `id` string, required: Identifier of the payment source associated with a customer record.
  - `object` 'deletedcard' | 'ach', required: Indicates the type of payment source associated with the customer record.

## Other responses

- `default`: Error response.

---

[API](https://skmtc.dev/clover/apis/ecommerce-service-api.md) - [All operations](https://skmtc.dev/clover/apis/ecommerce-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clover/apis/ecommerce-service-api/revisions/a0aeb344ed80?raw)
