Account Token
Account tokens are single-use tokens which tokenize an account's contact_email, display_name, contact_phone, and identity.
Summary
Functions
@spec create(Stripe.Client.t(), map(), keyword()) :: {:ok, Stripe.Resources.V2.Core.AccountToken.t()} | {:error, Stripe.Error.t()}
Create an account token
Create an account token with a publishable key and pass it to the Accounts v2 API to create or update an account without its data touching your server. Learn more about account tokens. In live mode, you can only create account tokens with your application's publishable key. In test mode, you can create account tokens with your secret key or publishable key.
@spec retrieve(Stripe.Client.t(), String.t(), map(), keyword()) :: {:ok, Stripe.Resources.V2.Core.AccountToken.t()} | {:error, Stripe.Error.t()}
Retrieve an account token
Retrieves an Account Token.