FILTER BY TAG

Create an Instrument Identifier and Provision a Network Token

This section describes how to create an instrument identifier and provision a network token.
For information about managing instrument identifier tokens, see Manage Instrument Identifier Tokens.

Endpoint

Test:
POST
https://apitest.cybersource.com
/tms/v2/tokenize
Production:
POST
https://api.cybersource.com
/tms/v2/tokenize
Production in India:
POST
https://api.in.cybersource.com
/tms/v2/tokenize
Production in Saudi Arabia:
POST
https://api.sa.cybersource.com
/tms/v2/tokenize
Test in Saudi Arabia:
POST
https://apitest.sa.cybersource.com
/tms/v2/tokenize

Required Fields for Creating an Instrument Identifier and Provisioning a Network Token

Set to
TOKEN_CREATE
.
Required when you are creating an instrument identifier token.
Set to
enrollable card
to provision a network token for the instrument identifier.
Required when you are creating a payment instrument.
tokenInformation.instrumentIdentifier.card.expirationMonth
tokenInformation.instrumentIdentifier.card.expirationYear

REST Example: Creating an Instrument Identifier and Provisioning a Network Token

Request
{ "processingInformation": { "actionList": [ "TOKEN_CREATE" ], "actionTokenTypes": [ "instrumentIdentifier" ] }, "tokenInformation": { "instrumentIdentifier": { "type": "enrollable card", "card": { "number": "X622943123116478", "expirationMonth": "12", "expirationYear": "2026" } } } }
Response to a Successful Request
{ "responses": [ { "resource": "instrumentIdentifier", "id": "7030140000043426478", "httpStatus": 200 }, { "resource": "tokenizedCard", "id": "386571D8C0640287E063AF598E0A15AA", "httpStatus": 200 } ] }