Types

Link copied to clipboard

Card already provisioned.

Link copied to clipboard

The client attempted to call a method from an API that failed to connect.

Link copied to clipboard

Tokenization failed because the device did not pass a compatibility check.

Link copied to clipboard

Provisioning canceled.

Link copied to clipboard

The connection was suspended while the call was in-flight.

Link copied to clipboard

The application is misconfigured.

Link copied to clipboard

The operation failed with no more detailed information.

Link copied to clipboard

createSdkOutput() has not been called prior to card provisioning.

Link copied to clipboard

An internal error occurred.

Link copied to clipboard

A blocking call was interrupted while waiting and did not run to completion.

Link copied to clipboard

The client attempted to connect to the service with an invalid account name specified.

Link copied to clipboard
data class InvalidSdkInput(val errorMessage: String?) : ProvisionResult.Failure

The provided SDK Input string could not be parsed.

Link copied to clipboard

The specified token was found but was not in a legal state for the operation to succeed. For example, this can happen when attempting to select as default a token that is not in the state TOKEN_STATE_ACTIVE.

Link copied to clipboard

A network error occurred.

Link copied to clipboard

No active wallet.

Link copied to clipboard
data class Other(val error: String?) : ProvisionResult.Failure

An unexpected exception occurred.

Link copied to clipboard

Provisioning or wallet creation already in-progress for this card.

Link copied to clipboard

The connection timed-out while attempting to re-connect.

Link copied to clipboard

The connection timed-out while waiting for Google Play services to update.

Link copied to clipboard

There was a non-DeadObjectException RemoteException while calling a connected service.

Link copied to clipboard

Completing the operation requires some form of resolution.

Link copied to clipboard

The client attempted to connect to the service but the user is not signed in.

Link copied to clipboard

Timed out while awaiting the result.

Link copied to clipboard

The indicated issuer token ID does not match a token in the active wallet. This status can be returned by calls that specify an issuer token ID.

Link copied to clipboard

The TapAndPay API cannot be called by the current application. If you get this error, make sure you are calling the API using a package name and fingerprint that we have added to our allowlist.

Link copied to clipboard
data class UnknownStatusCode(val statusCode: Int) : ProvisionResult.Failure

The returned status code does not mop to any known status.