createBankAccountTokenSynchronous
Blocking method to create a Token for a BankAccount. Do not call this on the UI thread or your app will crash.
See Create a bank account token. POST /v1/tokens
Return
a Token that can be used for this BankAccount
Parameters
the BankAccountTokenParams to use for this token
optional, see Idempotent Requests
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.
Throws
failure to properly authenticate yourself (check your key)
your request has invalid parameters
failure to connect to Stripe's API
should not be thrown with this type of token, but is theoretically possible given the underlying methods called
any other type of problem (for instance, a temporary issue with Stripe's servers