This guide shows how to export a to 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 export a Virgil Card, with the getting started guide.
In order to export a Virgil Card, we need to:
var virgil = new VirgilApi("[YOUR_ACCESS_TOKEN_HERE]");
- Use the code below to export the Virgil Card to its string representation.
// export a Virgil Card to string
var exportedAliceCard = aliceCard.Export();
The same mechanism works for .