Endpoint to initiate retrieval of card data. This will enable the end user make e-commerce transactions without needing access to a plastic card. This means that the end user will get access to card number (PAN), expiry date and CVC2/CVV2. This operation will generate an access token used to view the card data, enabling end users to access their card data through their own devices, via app or web interface.
Supporting the possibility to copy the card data to the devices clipboard should be examined with caution. The data lifespan and the access to the device clipboards varies between operating systems which introduces risk. So while recognising that the possibility to copy the card data can improve end-user experience, the potential increased risk of such a feature should be considered.
iframe.addEventListener('load', () => {
iframe.contentWindow.postMessage({operation: 'view-pan', token}, cardDataFrameUrl);
})
The service is designed to avoid exposure of sensitive, PCI categorised data to the web/app back-end, therefore the card data is sent directly from the service endpoint to the end users device. The functionality is developed, assessed, and certified for PCI DSS. PCI DSS regulations are detailed, but highlighting a few that have impact on the this functionality:
The end user device will not fall within PCI scope, as it will not have access, be connected to or be able to impact Enfuce system where the card data resides. In other words, the device displaying the card data does not access the data itself, rather the content is rendered inside browser widget (Webview or Iframe).
Enfuce recommendations for end user app development:
The id of the card's data requested
The audit user to log the request
Successful creation of the control token
The response is of type object
.