Remove Payment Token

Access Endpoint URL: https://rest.everyware.com/api/Default/RemovePaymentToken [POST]

Summary

You can use the RemovePaymentToken method to remove a payment token associated with the Individual ID or External ID provided in the request.

Inbound Parameters

Parameters should be passed in a single JSON-body object.

Parameter NameDescriptionOptional/Required
IndividualIDThe ID in the Everyware system associated with the contact/customer requesting the token be removed.

Either the IndividualID or the ExternalID must be provided in the request body.
*Required
ExternalIDThe ID in an external system associated with the contact/customer requesting the token be removed.

Either the IndividualID or the ExternalID must be provided in the request body.
*Required
TokenValueThe actual value of the token.Required

Sample Code

{
    "IndividualID": "0987654",
    "ExternalID": "",
    "TokenValue": "{token-value}",
}
curl --location 'https://rest.everyware.com/Default/RemovePaymentToken' \
--header 'Authorization: Basic [xxx]' \
--header 'Content-Type: application/json' \
--data-raw '{
    "IndividualID": "0987654",
    "ExternalID": "",
    "TokenValue": "{token-value}",
}'
{
	"IsSuccess": true,
  "Message": "The token has been successfully removed."
}