Delete a Customer

This section shows you how to delete a customer token.

Endpoint

Test:
DELETE
https://apitest.cybersource.com
/tms/v2/customers/
{customerTokenId}
Production:
DELETE
https://api.cybersource.com
/tms/v2/customers/
{customerTokenId}
Production in India:
DELETE
https://api.in.cybersource.com
/tms/v2/customers/
{customerTokenId}
The
{customerTokenId}
is the customer token ID returned in the
id
field when you created the customer token. For more information, see Create a Customer.

Required Fields for Deleting a Customer Token

customerTokenId
Include the ID of the customer token you want to retrieve in the URL path.

REST Example: Deleting a Customer

Request
DELETE
https://apitest.cybersource.com
/tms/v2/customers/F2F3ADA770102B51E053A2598D0A9078
Response to a Successful Request
A successful delete response returns an empty
HTTP 204 No Content
status. For more information, see HTTP Status Codes.