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 api = virgil.API("[YOUR_ACCESS_TOKEN_HERE]");
- Use the code below to export the Virgil Card to its string representation.
// export Virgil Card to base64-encoded string
var exportedAliceCard = aliceCard.export();
The same mechanism works for .