provision

abstract suspend fun provision(sdkInput: String, cardDisplayName: String, cardAddress: CardAddress): ProvisionResult

Attempts to provision the given card.

Return

a ProvisionResult Object confirming whether or not the card was provisioned correctly and, if not successfully provisioned, then specifying the reason for the failure.

Parameters

sdkInput

Encoded activation data (output from a POST request to the networkTokenActivationData endpoint).

cardDisplayName

The name on the card. Used to validate the card and also to display during the provisioning flow.

cardAddress

The address associated with the card.