On This Page
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://api.smartpayfuse-test.barclaycard
/tms/v2/tokenizeProduction:
POST
https://api.smartpayfuse.barclaycard
/tms/v2/tokenizeRequired Fields for Creating an Instrument Identifier and Provisioning a Network
Token
- processingInformation.actionList
- Set toTOKEN_CREATE.
- processingInformation.actionTokenTypes.instrumentIdentifier
- Required when you are creating an instrument identifier token.
- tokenInformation.instrumentIdentifier.type
- Set toenrollable cardto provision a network token for the instrument identifier.
- tokenInformation.instrumentIdentifier.card.number
- 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 } ] }