v1

latestOpenAPI 3.0.02026-07-2352269214.0 KB

Get Card Credentials

API used by D1 to call the CMS for retrieving the card credentials (PAN, expiry date, cardholder name and CVV) using a card identifier.<br/>It can be used, for example, for displaying the card details to an end user who wants to perform an e-commerce transaction or for registering a 'legacy card' in the D1 system.

get/cms/api/v1/issuers/{issuerId}/cards/{cardId}/credentials

Headers

Authorizationstring

Oauth Access Token (optional)

Response

OK

encryptedDatastring required

The encryptedData is the encrypted json (cf http://www.json.org/ ) representation of the card credentials.<br/>This value is encrypted using the JWE encryption (please refer to the Sensitive Information Encryption for more details)<br/><br/><b>Content</b><br/><br/>Once deciphered, the plaintext contains:

JSON field parameter namedescriptionMOCFormat
panThe funding pan value.Mstring - from 10 to 19 digits
expThe expiry date of the card.Mstring - 4 digits, following the format MMYY
nameThe card holder name.Ostring - up to 128 characters
cvvThe CVV2 value of the funding cardMstring - 3 or 4 digits
auxiliaryPanThe auxiliary funding pan value.It shall be provided when cobadge is supported and if the card has an auxiliary pan.Cstring - up to 19 digits
auxiliaryExpThe auxiliary expiry date of the card.It shall be provided when cobadge is supported and if the card has an auxiliary pan.Cstring - 4 digits, following the format MMYY
customSuffixlast 4 digits of the display pan which is different than the actual funding panOstring - 4 digits