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 Name
|
Description
|
Optional/Required
|
|---|
|
IndividualID
|
The 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.
</td><td>
* Required
</td></tr><tr><td>
ExternalID
</td><td>
The 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.
</td><td>
* Required
</td></tr><tr><td>
TokenValue
</td><td>
The actual value of the token.
</td><td>
Required
</td></tr></tbody></table>
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."
}
|