create

Create an AccountParams instance with information about the person represented by the account.

Return

AccountParams

Parameters

tosShownAndAccepted

Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement. When creating an account token to create a new Connect account, this value must be true.

individual

Information about the person represented by the account.


Create an AccountParams instance with information about the company or business.

Return

AccountParams

Parameters

tosShownAndAccepted

Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement. When creating an account token to create a new Connect account, this value must be true.

company

Information about the company or business.


fun create(tosShownAndAccepted: Boolean, businessType: AccountParams.BusinessType): AccountParams

Create an AccountParams instance.

Return

AccountParams

Parameters

tosShownAndAccepted

Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement. When creating an account token to create a new Connect account, this value must be true.

businessType

The business type.


fun create(tosShownAndAccepted: Boolean): AccountParams

Create an AccountParams instance.

Return

AccountParams

Parameters

tosShownAndAccepted

Whether the user described by the data in the token has been shown the Stripe Connected Account Agreement. When creating an account token to create a new Connect account, this value must be true.