createCustomerIdentityWith

Creates a new identity verification record attached to an existing customer.

Return

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

Parameters

customerId

The unique identifier of the existing customer to associate with the new identity verification record.


fun createCustomerIdentityWith(customerId: String, completionHandler: (CustomerIdentity?, NetworkingError?) -> Unit)

Creates a new identity verification record attached to an existing customer and delivers the result to the provided callback.

Parameters

customerId

The unique identifier of the existing customer to associate with the new identity verification record.

completionHandler

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