CUSTOMERS
Revoke a payment source
Removes a payment source, such as card or ACH token, from the customer profile. Use Create a card token or Create an ACH token to create payment source.
delete/v1/customers/{customerId}/sources/{sourceId}
Request
- Base URLhttps://scl-sandbox.dev.clover.com
- URLhttps://scl-sandbox.dev.clover.com/v1/customers/{customerId}/sources/{sourceId}
- AuthOAuth 2Authorization code: https://sandbox.dev.clover.com/oauth/authorizeToken URL: https://sandbox.dev.clover.com/oauth/token
Path parameters
customerIdstring required
Unique identifier (ID) of the customer.
sourceIdstring required
Universally unique identifier (UUID) of the card data associated with a customer record. Use Create a card-on-file customer endpoint to generate the card data identifier.
Headers
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <product> / <product-version> <comment>
Response
Successful response. Payment source successfully removed from the customer record.
Changes
No recorded changes to this operation across all 1 revision of this API.