This guide shows how to import a from the string representation.
For original information about the Virgil Card check out our Virgil Card Service endpoint here.
Set up your project environment before you begin to import a Virgil Card, with the getting started guide.
In order to import the Virgil Card, we need to:
api, err := virgilapi.New("[YOUR_ACCESS_TOKEN_HERE]")
- Use the code below to import the Virgil Card from its string representation
// import a Virgil Card from string
aliceCard, err := api.Cards.Import(exportedAliceCard)