createBankAccountToken

fun createBankAccountToken(bankAccountTokenParams: BankAccountTokenParams, idempotencyKey: String? = null, stripeAccountId: String? = this.stripeAccountId, callback: ApiResultCallback<Token>)

Create a BankAccount token asynchronously.

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

Parameters

bankAccountTokenParams

the BankAccountTokenParams used to create this token

idempotencyKey

optional, see Idempotent Requests

stripeAccountId

Optional, the Connect account to associate with this request. By default, will use the Connect account that was used to instantiate the Stripe object, if specified.

callback

a ApiResultCallback to receive the result or error