Cards SDK
The Cards SDK provides access to Card models and allows a user to add cards to their digital wallet, as well as related wallet operations such as querying the state of the card in the wallet. It also provides a method to view secure card payment details such as PAN and expiry in a secure WebView hosted by the mCards Platform.
The Cards SDK includes the following features:
- Digital provisioning via Google & Apple Pay
- Fetch Card models associated with the user
- Fetch the balances for a given Card
- Display Card payment details via a secure WebView
- Set the card's PIN
An example of the card details that can be obtained using the Cards SDK is illustrated in the image below.
Digital Provisioning
Digital provisioning is the process of adding an mCard to the user's device wallet (Apple Pay or Google Pay). The Cards SDK provides methods to support the following functionality associated with adding/removing cards from the digital wallet.
- Check whether a card is in the wallet
- Add a card to the wallet
- Remove card from the wallet
- Activate a card in the wallet
The Android version of the Cards SDK also provides the ability to install Google Pay if it is not already installed on the device. Additional SDK methods are available in the Android SDK to perform the following actoins:
- Check if Google Pay is installed
- Install Google Pay
- Sync the Google Pay wallet
Demo Projects
Updated 4 months ago