createPiiToken

fun createPiiToken(personalId: String, idempotencyKey: String? = null, stripeAccountId: String? = this.stripeAccountId, callback: ApiResultCallback<Token>)

Create a PII token asynchronously.

See Create a PII account token. POST /v1/tokens

Parameters

personalId

the personal id used to create this token

idempotencyKey

optional, see Idempotent Requests

callback

a ApiResultCallback to receive the result or error