stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.AccountRequirements

Description

Contains the types generated from the schema AccountRequirements

Synopsis

Documentation

data AccountRequirements Source #

Defines the object schema located at components.schemas.account_requirements in the specification.

Constructors

AccountRequirements 

Fields

  • accountRequirementsCurrentDeadline :: Maybe Int

    current_deadline: Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.

  • accountRequirementsCurrentlyDue :: Maybe [Text]

    currently_due: Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.

  • accountRequirementsDisabledReason :: Maybe Text

    disabled_reason: If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`.

    Constraints:

    • Maximum length of 5000
  • accountRequirementsErrors :: Maybe [AccountRequirementsError]

    errors: Fields that are `currently_due` and need to be collected again because validation or verification failed.

  • accountRequirementsEventuallyDue :: Maybe [Text]

    eventually_due: Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.

  • accountRequirementsPastDue :: Maybe [Text]

    past_due: Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account.

  • accountRequirementsPendingVerification :: Maybe [Text]

    pending_verification: Fields that may become required depending on the results of verification or review. Will be an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`.

mkAccountRequirements :: AccountRequirements Source #

Create a new AccountRequirements with all required fields.