Class AccountLinkCreateParams


public class AccountLinkCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static AccountLinkCreateParams.Builder builder()
    • getAccount

      public String getAccount()
      Required. The identifier of the account to create an account link for.
    • getCollect

      public AccountLinkCreateParams.Collect getCollect()
      The collect parameter is deprecated. Use collection_options instead.
    • getCollectionOptions

      public AccountLinkCreateParams.CollectionOptions getCollectionOptions()
      Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> 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.
    • getRefreshUrl

      public String getRefreshUrl()
      The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user.
    • getReturnUrl

      public String getReturnUrl()
      The URL that the user will be redirected to upon leaving or completing the linked flow.
    • getType

      public AccountLinkCreateParams.Type getType()
      Required. The type of account link the user is requesting. Possible values are account_onboarding or account_update.