REST Example: Provisioning a Network Token for a Card
Number
Request
{ "type": "enrollable card", "card": { "number": "4895379987X11515", "expirationMonth": "12", "expirationYear": "2031", "securityCode": "089" } }
Response to a Successful Request
{ "_links": { "self": { "href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/7030000000014911515" }, "paymentInstruments": { "href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/7030000000014911515/paymentinstruments" } }, "id": "7030000000014911515", "object": "instrumentIdentifier", "state": "ACTIVE", "tokenizedCard": { "state": "ACTIVE", "number": "489537XXXXXX5914", "expirationMonth": "12", "expirationYear": "2022", "type": "visa", "card": { "suffix": "1515", "expirationMonth": "12", "expirationYear": "2031" } }, "card": { "number": "489537XXXXXX1515" }, "issuer": { "paymentAccountReference": "V0010013019326121174070050420" }, "metadata": { "creator": "testrest" } }