I am working on a feature for a React Native app (and React web app) that allows users to save their payment methods in their virtual wallet within the app. When the user enters their card information, I want to get the actual image of the card to display in their wallet. PayPal, Amazon and Apple Pay all have this functionality, my question is how and where are they getting these card images? It looks like both Amazon and PayPal are hosting their images internally but my question is where are they getting these images to begin with? and how are they associating the card number to the correct image?
Example of PayPal blank Wells Farg card image:
PayPal Example: