REST API | Visa Platform Connect

Example: Deleting an Instrument Identifier Using the REST API

Endpoint:
  • Test:
    DELETE
    https://apitest.cybersource.com
    /tms/v1/instrumentidentifiers/{id}
  • Production:
    DELETE
    https://api.cybersource.com
    /tms/v1/instrumentidentifiers/{id}
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"         }     ] }