getVirtualCard

abstract suspend fun getVirtualCard(id: String, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY): VirtualCard?

Get a VirtualCard using the id parameter.

Parameters

id

String Identifier of the VirtualCard to be retrieved.

cachePolicy

CachePolicy Determines how the data will be fetched. When using CachePolicy.CACHE_ONLY, be aware that this will only return cached results of identical API calls.

Throws