getProvisionalCard

abstract suspend fun getProvisionalCard(id: String, cachePolicy: CachePolicy = CachePolicy.REMOTE_ONLY): ProvisionalVirtualCard?

Get a ProvisionalVirtualCard using the id parameter.

A provisional virtual card is one that is in the process of being provisioned.

Return

The ProvisionalVirtualCard associated with the id or null if it could not be found.

Parameters

id

String Identifier of the ProvisionalVirtualCard 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