Package com.stripe.param
Class AccountCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.AccountCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
The user agent of the browser from which the account representative accepted their service agreement.static class
State, county, province, or region.static class
Passing true requests the capability for the account, if it is not already requested.static class
static class
static class
Add all elements to `files` list.static class
static class
The user agent of the browser from which the account representative accepted the service agreement.static enum
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountCreateParams.Builder
builder()
An account token, used to securely provide details to the account.Business information about the account.The business type.Each key of the dictionary represents a capability, and each capability maps to its settings (for example, whether it has been requested or not).Information about the company or business.A hash of configuration describing the account controller's attributes.The country in which the account holder resides, or in which the business is legally established.Three-letter ISO currency code representing the default currency for the account.Documents that may be submitted to satisfy various informational requests.getEmail()
The email address of the account holder.Specifies which fields in the response should be expanded.A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for top-ups).Map of extra parameters for custom features not available in this client library.Information about the person represented by the account.Set of key-value pairs that you can attach to an object.Options for customizing how the account functions within Stripe.Details on the account's acceptance of the Stripe Services Agreement.getType()
The type of Stripe account to create.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAccountToken
An account token, used to securely provide details to the account. -
getBusinessProfile
Business information about the account. -
getBusinessType
The business type. Once you create an Account Link or Account Session, this property can only be updated for accounts where controller.requirement_collection isapplication
, which includes Custom accounts. -
getCapabilities
Each key of the dictionary represents a capability, and each capability maps to its settings (for example, whether it has been requested or not). Each capability is inactive until you have provided its specific requirements and Stripe has verified them. An account might have some of its requested capabilities be active and some be inactive.Required when account.controller.stripe_dashboard.type is
none
, which includes Custom accounts. -
getCompany
Information about the company or business. This field is available for anybusiness_type
. Once you create an Account Link or Account Session, this property can only be updated for accounts where controller.requirement_collection isapplication
, which includes Custom accounts. -
getController
A hash of configuration describing the account controller's attributes. -
getCountry
The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would useCA
as the country for the account being created. Available countries include Stripe's global markets as well as countries where cross-border payouts are supported. -
getDefaultCurrency
Three-letter ISO currency code representing the default currency for the account. This must be a currency that Stripe supports in the account's country. -
getDocuments
Documents that may be submitted to satisfy various informational requests. -
getEmail
The email address of the account holder. This is only to make the account easier to identify to you. If controller.requirement_collection isapplication
, which includes Custom accounts, Stripe doesn't email the account without your consent. -
getExpand
Specifies which fields in the response should be expanded. -
getExternalAccount
A card or bank account to attach to the account for receiving payouts (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by Stripe.js, or a dictionary, as documented in theexternal_account
parameter for bank account creation.
By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation APIs. After you create an Account Link or Account Session, this property can only be updated for accounts where controller.requirement_collection isapplication
, which includes Custom accounts. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getIndividual
Information about the person represented by the account. This field is null unlessbusiness_type
is set toindividual
. Once you create an Account Link or Account Session, this property can only be updated for accounts where controller.requirement_collection isapplication
, which includes Custom accounts. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getSettings
Options for customizing how the account functions within Stripe. -
getTosAcceptance
Details on the account's acceptance of the Stripe Services Agreement. This property can only be updated for accounts where controller.requirement_collection isapplication
, which includes Custom accounts. This property defaults to afull
service agreement when empty. -
getType
The type of Stripe account to create. May be one ofcustom
,express
orstandard
.
-