cancel
Showing results for 
Search instead for 
Did you mean: 

Knowing fields in payload response.

Hi Guys,

I try to send below request to API : https://apitest.cybersource.com/tms/v1/instrumentidentifiers to create instrument identifier using a VISA card and create a network token and confused which field is exactly network token in response. Is it number field that's masked or id under tokenized-card? 

{
"type": "enrollable card",
"card": {
"number": "4622943123116478",
"expirationMonth": "12",
"expirationYear": "2026"
}
}

--------------------------------------------------------------

Response:

{
"_links": {
"self": {
"href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/7049989999917426478"
},
"paymentInstruments": {
"href": "https://apitest.cybersource.com/tms/v1/instrumentidentifiers/7049989999917426478/paymentinstruments"
},
"tokenized-cards": {
"href": "https://apitest.cybersource.com/tms/v2/tokenized-cards/32BF3525DA9E0177E063A2598D0ADEAD"
}
},
"id": "7049989999917426478",
"object": "instrumentIdentifier",
"state": "ACTIVE",
"tokenizedCard": {
"id": "32BF3525DA9E0177E063A2598D0ADEAD",
"state": "ACTIVE",
"enrollmentId": "363f7976eb1b066d38dd18e44d127c01",
"tokenReferenceId": "16d2c57d32616e10f29e198d32c76201",
"paymentAccountReference": "V0010013025104530884197510742",
"number": "489537XXXXXX4360",
"expirationMonth": "12",
"expirationYear": "2026",
"type": "visa",
"card": {
"suffix": "6478",
"expirationMonth": "12",
"expirationYear": "2026"
},
"metadata": {
"cardArt": {
"combinedAsset": {
"id": "8f64614def1a41d39ea8acae4616bf6f",
"_links": {
"self": {
"href": "https://apitest.cybersource.com/tms/v2/tokens/7049989999917426478/vts/assets/card-art-combined"
}
}
},
"brandLogoAsset": {
"id": "00000000000000000000000000001071",
"_links": {
"self": {
"href": "https://apitest.cybersource.com/tms/v2/tokens/7049989999917426478/vts/assets/brand-logo"
}
}
},
"foregroundColor": "1af0f0"
},
"issuer": {
"shortDescription": "shortDescription",
"longDescription": "longDescription"
},
"creator": "testrest"
},
"source": "ONFILE"
},
"card": {
"number": "462294XXXXXX6478"
},
"issuer": {
"paymentAccountReference": "V0010013025104530884197510742"
},
"metadata": {
"creator": "testrest"
}
}

 

 

 

Srivalli
Member
0 REPLIES 0