submitForVerification

suspend fun submitForVerification(customerIdentityId: String): Pair<CustomerIdentity?, NetworkingError?>

Submits an existing customer identity record for KYC/identity verification processing.

Return

A Pair where the first element is the updated CustomerIdentity on success, and the second element is a NetworkingError on failure; one of the two will be null.

Parameters

customerIdentityId

The unique identifier of the customer identity record to submit.


fun submitForVerification(customerIdentityId: String, completionHandler: (CustomerIdentity?, NetworkingError?) -> Unit)

Submits an existing customer identity record for KYC/identity verification processing and delivers the result to the provided callback.

Parameters

customerIdentityId

The unique identifier of the customer identity record to submit.

completionHandler

Invoked with the updated CustomerIdentity on success, or a NetworkingError on failure; one of the two arguments will be null.