Retrieve Network Token Payment Credentials

This section describes how to retrieve network token payment credentials such as:
  • Network token value
  • Cryptogram (Visa and Mastercard only)
  • Dynamic card verification value (CVV) (American Express only)
Network token payment credentials are returned as a JSON web encryption (JWE) response.

Prerequisites

You must have the payment credentials service enabled for the
TMS
vault from which the network token is retrieved. For information on how to enable the payment credentials service, see Token Vault Management.
You must have a message-level encryption (MLE) key from the
Business Center
to retrieve network token data. For information on how to create an MLE key, see Message-Level Encryption Keys.

Endpoint

Test:
POST
https://apitest.cybersource.com
/tms/v2/tokens/
{tokenId}/
payment-credentials
Production:
POST
https://api.cybersource.com
/tms/v2/tokens/
{tokenId}
/payment-credentials
Production in India:
POST
https://api.in.cybersource.com
/tms/v2/tokens/
{tokenId}
/payment-credentials
The
{tokenId}
is the token ID returned in the
id
field when you created the customer, payment instrument or instrument identifier token. See Create an Instrument Identifier for more information.