Deleting a Card Hash
Send a
DELETE
request to delete a card hash.Endpoint
Test:
DELETE
https://apitest.cybersource.com
/tms/v1/paymentinstruments/{id}Production:
DELETE
https://api.cybersource.com
/tms/v1/paymentinstruments/{id}The
id
is the card.hash
value that was returned
in the retrieve a payment instrument response."card": { "expirationMonth": "12", "expirationYear": "2030", "type": "visa", "hash": "7400A4154369E584BA36CA19B50AAA3F9AE97FE93CF8FBC97777" }
Example: Deleting a Card Hash Using the REST API
Request
{ }
Response 204: Deleting a Card Hash
No response body
Response 410: Deleting a Card Hash
{ "errors": [ { "type": "notAvailable", "message": "Token not available" } ] }