createVirtualCard
abstract suspend fun createVirtualCard(customerId: String, idempotencyKey: IdempotencyKey? = null): ApiResult<VirtualCard>
Create a VirtualCard for on device provisioning via provisionVirtualCard.
NOTE: The merchant must be enrolled in the Ansa virtual card program in order to use this API.
Return
The created VirtualCard or an ApiResult.Error
Parameters
customerId
Unique identifier for the customer.
idempotencyKey
Optional idempotency key. For more details see Idempotency