Deleting an Instrument Identifier
Send a
DELETE
request to delete an instrument identifier.Endpoint
Test:
DELETE
https://apitest.visaacceptance.com
/tms/v1/instrumentidentifiers/{id}Production:
DELETE
https://api.visaacceptance.com
/tms/v1/instrumentidentifiers/{id}The
id
is the instrument identifier ID that was returned in a token
management service response.}, "tokenInformation": { "instrumentIdentifier": { "id": "CD616772D8355EA6E053AF598E0AE794" },
Example: Deleting an Instrument Identifier Using the REST API
Request
{ }
Response 204
No response body
Response 409
{ "_links": { "paymentInstruments": { "href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/CD776F4472D6AC69E053AF598E0A30F3/paymentinstruments" } }, "errors": [ { "type": "instrumentIdentifierDeletionError", "message": "Action cannot be performed as the InstrumentIdentifier is associated with one or more PaymentInstruments" } ] }
Response 410: Deleting an Instrument Identifier
{ "errors": [ { "type": "notAvailable", "message": "Token not available" } ] }