Safe Haskell | None |
---|---|
Language | Haskell2010 |
StripeAPI.Operations.PostTokens
Description
Contains the different functions to run the operation postTokens
Synopsis
- postTokens :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostTokensRequestBody -> m (Either HttpException (Response PostTokensResponse))
- postTokensRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostTokensRequestBody -> m (Either HttpException (Response ByteString))
- postTokensM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostTokensResponse))
- postTokensRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostTokensRequestBody = PostTokensRequestBody {
- postTokensRequestBodyAccount :: Maybe PostTokensRequestBodyAccount'
- postTokensRequestBodyBankAccount :: Maybe PostTokensRequestBodyBankAccount'
- postTokensRequestBodyCard :: Maybe PostTokensRequestBodyCard'Variants
- postTokensRequestBodyCustomer :: Maybe Text
- postTokensRequestBodyExpand :: Maybe ([] Text)
- postTokensRequestBodyPerson :: Maybe PostTokensRequestBodyPerson'
- postTokensRequestBodyPii :: Maybe PostTokensRequestBodyPii'
- data PostTokensRequestBodyAccount' = PostTokensRequestBodyAccount' {
- postTokensRequestBodyAccount'BusinessType :: Maybe PostTokensRequestBodyAccount'BusinessType'
- postTokensRequestBodyAccount'Company :: Maybe PostTokensRequestBodyAccount'Company'
- postTokensRequestBodyAccount'Individual :: Maybe PostTokensRequestBodyAccount'Individual'
- postTokensRequestBodyAccount'TosShownAndAccepted :: Maybe Bool
- data PostTokensRequestBodyAccount'BusinessType'
- = PostTokensRequestBodyAccount'BusinessType'EnumOther Value
- | PostTokensRequestBodyAccount'BusinessType'EnumTyped Text
- | PostTokensRequestBodyAccount'BusinessType'EnumStringCompany
- | PostTokensRequestBodyAccount'BusinessType'EnumStringGovernmentEntity
- | PostTokensRequestBodyAccount'BusinessType'EnumStringIndividual
- | PostTokensRequestBodyAccount'BusinessType'EnumStringNonProfit
- data PostTokensRequestBodyAccount'Company' = PostTokensRequestBodyAccount'Company' {
- postTokensRequestBodyAccount'Company'Address :: Maybe PostTokensRequestBodyAccount'Company'Address'
- postTokensRequestBodyAccount'Company'AddressKana :: Maybe PostTokensRequestBodyAccount'Company'AddressKana'
- postTokensRequestBodyAccount'Company'AddressKanji :: Maybe PostTokensRequestBodyAccount'Company'AddressKanji'
- postTokensRequestBodyAccount'Company'DirectorsProvided :: Maybe Bool
- postTokensRequestBodyAccount'Company'ExecutivesProvided :: Maybe Bool
- postTokensRequestBodyAccount'Company'Name :: Maybe Text
- postTokensRequestBodyAccount'Company'NameKana :: Maybe Text
- postTokensRequestBodyAccount'Company'NameKanji :: Maybe Text
- postTokensRequestBodyAccount'Company'OwnersProvided :: Maybe Bool
- postTokensRequestBodyAccount'Company'Phone :: Maybe Text
- postTokensRequestBodyAccount'Company'Structure :: Maybe PostTokensRequestBodyAccount'Company'Structure'
- postTokensRequestBodyAccount'Company'TaxId :: Maybe Text
- postTokensRequestBodyAccount'Company'TaxIdRegistrar :: Maybe Text
- postTokensRequestBodyAccount'Company'VatId :: Maybe Text
- postTokensRequestBodyAccount'Company'Verification :: Maybe PostTokensRequestBodyAccount'Company'Verification'
- data PostTokensRequestBodyAccount'Company'Address' = PostTokensRequestBodyAccount'Company'Address' {
- postTokensRequestBodyAccount'Company'Address'City :: Maybe Text
- postTokensRequestBodyAccount'Company'Address'Country :: Maybe Text
- postTokensRequestBodyAccount'Company'Address'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Company'Address'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Company'Address'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Company'Address'State :: Maybe Text
- data PostTokensRequestBodyAccount'Company'AddressKana' = PostTokensRequestBodyAccount'Company'AddressKana' {
- postTokensRequestBodyAccount'Company'AddressKana'City :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'Country :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'State :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKana'Town :: Maybe Text
- data PostTokensRequestBodyAccount'Company'AddressKanji' = PostTokensRequestBodyAccount'Company'AddressKanji' {
- postTokensRequestBodyAccount'Company'AddressKanji'City :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'Country :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'State :: Maybe Text
- postTokensRequestBodyAccount'Company'AddressKanji'Town :: Maybe Text
- data PostTokensRequestBodyAccount'Company'Structure'
- = PostTokensRequestBodyAccount'Company'Structure'EnumOther Value
- | PostTokensRequestBodyAccount'Company'Structure'EnumTyped Text
- | PostTokensRequestBodyAccount'Company'Structure'EnumString_
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringGovernmentInstrumentality
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringGovernmentalUnit
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringIncorporatedNonProfit
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringMultiMemberLlc
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringPrivateCorporation
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringPrivatePartnership
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringPublicCorporation
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringPublicPartnership
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringTaxExemptGovernmentInstrumentality
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringUnincorporatedAssociation
- | PostTokensRequestBodyAccount'Company'Structure'EnumStringUnincorporatedNonProfit
- data PostTokensRequestBodyAccount'Company'Verification' = PostTokensRequestBodyAccount'Company'Verification' {}
- data PostTokensRequestBodyAccount'Company'Verification'Document' = PostTokensRequestBodyAccount'Company'Verification'Document' {}
- data PostTokensRequestBodyAccount'Individual' = PostTokensRequestBodyAccount'Individual' {
- postTokensRequestBodyAccount'Individual'Address :: Maybe PostTokensRequestBodyAccount'Individual'Address'
- postTokensRequestBodyAccount'Individual'AddressKana :: Maybe PostTokensRequestBodyAccount'Individual'AddressKana'
- postTokensRequestBodyAccount'Individual'AddressKanji :: Maybe PostTokensRequestBodyAccount'Individual'AddressKanji'
- postTokensRequestBodyAccount'Individual'Dob :: Maybe PostTokensRequestBodyAccount'Individual'Dob'Variants
- postTokensRequestBodyAccount'Individual'Email :: Maybe Text
- postTokensRequestBodyAccount'Individual'FirstName :: Maybe Text
- postTokensRequestBodyAccount'Individual'FirstNameKana :: Maybe Text
- postTokensRequestBodyAccount'Individual'FirstNameKanji :: Maybe Text
- postTokensRequestBodyAccount'Individual'Gender :: Maybe Text
- postTokensRequestBodyAccount'Individual'IdNumber :: Maybe Text
- postTokensRequestBodyAccount'Individual'LastName :: Maybe Text
- postTokensRequestBodyAccount'Individual'LastNameKana :: Maybe Text
- postTokensRequestBodyAccount'Individual'LastNameKanji :: Maybe Text
- postTokensRequestBodyAccount'Individual'MaidenName :: Maybe Text
- postTokensRequestBodyAccount'Individual'Metadata :: Maybe PostTokensRequestBodyAccount'Individual'Metadata'
- postTokensRequestBodyAccount'Individual'Phone :: Maybe Text
- postTokensRequestBodyAccount'Individual'SsnLast_4 :: Maybe Text
- postTokensRequestBodyAccount'Individual'Verification :: Maybe PostTokensRequestBodyAccount'Individual'Verification'
- data PostTokensRequestBodyAccount'Individual'Address' = PostTokensRequestBodyAccount'Individual'Address' {
- postTokensRequestBodyAccount'Individual'Address'City :: Maybe Text
- postTokensRequestBodyAccount'Individual'Address'Country :: Maybe Text
- postTokensRequestBodyAccount'Individual'Address'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Individual'Address'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Individual'Address'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Individual'Address'State :: Maybe Text
- data PostTokensRequestBodyAccount'Individual'AddressKana' = PostTokensRequestBodyAccount'Individual'AddressKana' {
- postTokensRequestBodyAccount'Individual'AddressKana'City :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'Country :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'State :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKana'Town :: Maybe Text
- data PostTokensRequestBodyAccount'Individual'AddressKanji' = PostTokensRequestBodyAccount'Individual'AddressKanji' {
- postTokensRequestBodyAccount'Individual'AddressKanji'City :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'Country :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'Line1 :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'Line2 :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'PostalCode :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'State :: Maybe Text
- postTokensRequestBodyAccount'Individual'AddressKanji'Town :: Maybe Text
- data PostTokensRequestBodyAccount'Individual'Dob'OneOf1
- data PostTokensRequestBodyAccount'Individual'Dob'OneOf2 = PostTokensRequestBodyAccount'Individual'Dob'OneOf2 {}
- data PostTokensRequestBodyAccount'Individual'Dob'Variants
- data PostTokensRequestBodyAccount'Individual'Metadata' = PostTokensRequestBodyAccount'Individual'Metadata' {
- data PostTokensRequestBodyAccount'Individual'Verification' = PostTokensRequestBodyAccount'Individual'Verification' {}
- data PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' = PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' {}
- data PostTokensRequestBodyAccount'Individual'Verification'Document' = PostTokensRequestBodyAccount'Individual'Verification'Document' {}
- data PostTokensRequestBodyBankAccount' = PostTokensRequestBodyBankAccount' {
- postTokensRequestBodyBankAccount'AccountHolderName :: Maybe Text
- postTokensRequestBodyBankAccount'AccountHolderType :: Maybe PostTokensRequestBodyBankAccount'AccountHolderType'
- postTokensRequestBodyBankAccount'AccountNumber :: Text
- postTokensRequestBodyBankAccount'Country :: Text
- postTokensRequestBodyBankAccount'Currency :: Maybe Text
- postTokensRequestBodyBankAccount'RoutingNumber :: Maybe Text
- data PostTokensRequestBodyBankAccount'AccountHolderType'
- data PostTokensRequestBodyCard'OneOf2 = PostTokensRequestBodyCard'OneOf2 {
- postTokensRequestBodyCard'OneOf2AddressCity :: Maybe Text
- postTokensRequestBodyCard'OneOf2AddressCountry :: Maybe Text
- postTokensRequestBodyCard'OneOf2AddressLine1 :: Maybe Text
- postTokensRequestBodyCard'OneOf2AddressLine2 :: Maybe Text
- postTokensRequestBodyCard'OneOf2AddressState :: Maybe Text
- postTokensRequestBodyCard'OneOf2AddressZip :: Maybe Text
- postTokensRequestBodyCard'OneOf2Currency :: Maybe Text
- postTokensRequestBodyCard'OneOf2Cvc :: Maybe Text
- postTokensRequestBodyCard'OneOf2ExpMonth :: Text
- postTokensRequestBodyCard'OneOf2ExpYear :: Text
- postTokensRequestBodyCard'OneOf2Name :: Maybe Text
- postTokensRequestBodyCard'OneOf2Number :: Text
- data PostTokensRequestBodyCard'Variants
- data PostTokensRequestBodyPerson' = PostTokensRequestBodyPerson' {
- postTokensRequestBodyPerson'Address :: Maybe PostTokensRequestBodyPerson'Address'
- postTokensRequestBodyPerson'AddressKana :: Maybe PostTokensRequestBodyPerson'AddressKana'
- postTokensRequestBodyPerson'AddressKanji :: Maybe PostTokensRequestBodyPerson'AddressKanji'
- postTokensRequestBodyPerson'Dob :: Maybe PostTokensRequestBodyPerson'Dob'Variants
- postTokensRequestBodyPerson'Email :: Maybe Text
- postTokensRequestBodyPerson'FirstName :: Maybe Text
- postTokensRequestBodyPerson'FirstNameKana :: Maybe Text
- postTokensRequestBodyPerson'FirstNameKanji :: Maybe Text
- postTokensRequestBodyPerson'Gender :: Maybe Text
- postTokensRequestBodyPerson'IdNumber :: Maybe Text
- postTokensRequestBodyPerson'LastName :: Maybe Text
- postTokensRequestBodyPerson'LastNameKana :: Maybe Text
- postTokensRequestBodyPerson'LastNameKanji :: Maybe Text
- postTokensRequestBodyPerson'MaidenName :: Maybe Text
- postTokensRequestBodyPerson'Metadata :: Maybe PostTokensRequestBodyPerson'Metadata'
- postTokensRequestBodyPerson'Phone :: Maybe Text
- postTokensRequestBodyPerson'Relationship :: Maybe PostTokensRequestBodyPerson'Relationship'
- postTokensRequestBodyPerson'SsnLast_4 :: Maybe Text
- postTokensRequestBodyPerson'Verification :: Maybe PostTokensRequestBodyPerson'Verification'
- data PostTokensRequestBodyPerson'Address' = PostTokensRequestBodyPerson'Address' {
- postTokensRequestBodyPerson'Address'City :: Maybe Text
- postTokensRequestBodyPerson'Address'Country :: Maybe Text
- postTokensRequestBodyPerson'Address'Line1 :: Maybe Text
- postTokensRequestBodyPerson'Address'Line2 :: Maybe Text
- postTokensRequestBodyPerson'Address'PostalCode :: Maybe Text
- postTokensRequestBodyPerson'Address'State :: Maybe Text
- data PostTokensRequestBodyPerson'AddressKana' = PostTokensRequestBodyPerson'AddressKana' {
- postTokensRequestBodyPerson'AddressKana'City :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'Country :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'Line1 :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'Line2 :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'PostalCode :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'State :: Maybe Text
- postTokensRequestBodyPerson'AddressKana'Town :: Maybe Text
- data PostTokensRequestBodyPerson'AddressKanji' = PostTokensRequestBodyPerson'AddressKanji' {
- postTokensRequestBodyPerson'AddressKanji'City :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'Country :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'Line1 :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'Line2 :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'PostalCode :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'State :: Maybe Text
- postTokensRequestBodyPerson'AddressKanji'Town :: Maybe Text
- data PostTokensRequestBodyPerson'Dob'OneOf1
- data PostTokensRequestBodyPerson'Dob'OneOf2 = PostTokensRequestBodyPerson'Dob'OneOf2 {}
- data PostTokensRequestBodyPerson'Dob'Variants
- data PostTokensRequestBodyPerson'Metadata' = PostTokensRequestBodyPerson'Metadata' {
- data PostTokensRequestBodyPerson'Relationship' = PostTokensRequestBodyPerson'Relationship' {
- postTokensRequestBodyPerson'Relationship'Director :: Maybe Bool
- postTokensRequestBodyPerson'Relationship'Executive :: Maybe Bool
- postTokensRequestBodyPerson'Relationship'Owner :: Maybe Bool
- postTokensRequestBodyPerson'Relationship'PercentOwnership :: Maybe PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
- postTokensRequestBodyPerson'Relationship'Representative :: Maybe Bool
- postTokensRequestBodyPerson'Relationship'Title :: Maybe Text
- data PostTokensRequestBodyPerson'Relationship'PercentOwnership'OneOf1
- data PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants
- data PostTokensRequestBodyPerson'Verification' = PostTokensRequestBodyPerson'Verification' {}
- data PostTokensRequestBodyPerson'Verification'AdditionalDocument' = PostTokensRequestBodyPerson'Verification'AdditionalDocument' {}
- data PostTokensRequestBodyPerson'Verification'Document' = PostTokensRequestBodyPerson'Verification'Document' {}
- data PostTokensRequestBodyPii' = PostTokensRequestBodyPii' {}
- data PostTokensResponse
Documentation
Arguments
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe PostTokensRequestBody | The request body to send |
-> m (Either HttpException (Response PostTokensResponse)) | Monad containing the result of the operation |
POST /v1/tokens
<p>Creates a single-use token that represents a bank account’s details. This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a <a href="#accounts">Custom account</a>.</p>
postTokensRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe PostTokensRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/tokens
The same as postTokens
but returns the raw ByteString
postTokensM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostTokensResponse)) Source #
POST /v1/tokens
Monadic version of postTokens
(use with runWithConfiguration
)
postTokensRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/tokens
Monadic version of postTokensRaw
(use with runWithConfiguration
)
data PostTokensRequestBody Source #
Defines the data type for the schema postTokensRequestBody
Constructors
PostTokensRequestBody | |
Fields
|
Instances
Eq PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens Methods (==) :: PostTokensRequestBody -> PostTokensRequestBody -> Bool # (/=) :: PostTokensRequestBody -> PostTokensRequestBody -> Bool # | |
Show PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens Methods showsPrec :: Int -> PostTokensRequestBody -> ShowS # show :: PostTokensRequestBody -> String # showList :: [PostTokensRequestBody] -> ShowS # | |
ToJSON PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens Methods toJSON :: PostTokensRequestBody -> Value # toEncoding :: PostTokensRequestBody -> Encoding # toJSONList :: [PostTokensRequestBody] -> Value # toEncodingList :: [PostTokensRequestBody] -> Encoding # | |
FromJSON PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens Methods parseJSON :: Value -> Parser PostTokensRequestBody # parseJSONList :: Value -> Parser [PostTokensRequestBody] # |
data PostTokensRequestBodyAccount' Source #
Defines the data type for the schema postTokensRequestBodyAccount'
Information for the account this token will represent.
Constructors
Instances
Eq PostTokensRequestBodyAccount' Source # | |
Defined in StripeAPI.Operations.PostTokens | |
Show PostTokensRequestBodyAccount' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods showsPrec :: Int -> PostTokensRequestBodyAccount' -> ShowS # show :: PostTokensRequestBodyAccount' -> String # showList :: [PostTokensRequestBodyAccount'] -> ShowS # | |
ToJSON PostTokensRequestBodyAccount' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods toJSON :: PostTokensRequestBodyAccount' -> Value # toEncoding :: PostTokensRequestBodyAccount' -> Encoding # toJSONList :: [PostTokensRequestBodyAccount'] -> Value # toEncodingList :: [PostTokensRequestBodyAccount'] -> Encoding # | |
FromJSON PostTokensRequestBodyAccount' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods parseJSON :: Value -> Parser PostTokensRequestBodyAccount' # parseJSONList :: Value -> Parser [PostTokensRequestBodyAccount'] # |
data PostTokensRequestBodyAccount'BusinessType' Source #
Defines the enum schema postTokensRequestBodyAccount'Business_type'
Constructors
Instances
data PostTokensRequestBodyAccount'Company' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'
Constructors
Instances
data PostTokensRequestBodyAccount'Company'Address' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address'
Constructors
PostTokensRequestBodyAccount'Company'Address' | |
Fields
|
data PostTokensRequestBodyAccount'Company'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address_kana'
Constructors
PostTokensRequestBodyAccount'Company'AddressKana' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Company'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address_kanji'
Constructors
PostTokensRequestBodyAccount'Company'AddressKanji' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Company'Structure' Source #
Defines the enum schema postTokensRequestBodyAccount'Company'Structure'
Constructors
Instances
data PostTokensRequestBodyAccount'Company'Verification' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Verification'
Instances
data PostTokensRequestBodyAccount'Company'Verification'Document' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Verification'Document'
Constructors
PostTokensRequestBodyAccount'Company'Verification'Document' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Individual' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'
Constructors
Instances
data PostTokensRequestBodyAccount'Individual'Address' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address'
Constructors
PostTokensRequestBodyAccount'Individual'Address' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Individual'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address_kana'
Constructors
PostTokensRequestBodyAccount'Individual'AddressKana' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Individual'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address_kanji'
Constructors
PostTokensRequestBodyAccount'Individual'AddressKanji' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source #
Defines the enum schema postTokensRequestBodyAccount'Individual'Dob'OneOf1
Constructors
PostTokensRequestBodyAccount'Individual'Dob'OneOf1EnumOther Value | |
PostTokensRequestBodyAccount'Individual'Dob'OneOf1EnumTyped Text | |
PostTokensRequestBodyAccount'Individual'Dob'OneOf1EnumString_ |
Instances
data PostTokensRequestBodyAccount'Individual'Dob'OneOf2 Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Dob'OneOf2
Instances
data PostTokensRequestBodyAccount'Individual'Dob'Variants Source #
Define the one-of schema postTokensRequestBodyAccount'Individual'Dob'
Constructors
Instances
data PostTokensRequestBodyAccount'Individual'Metadata' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Metadata'
Instances
data PostTokensRequestBodyAccount'Individual'Verification' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Verification'
Constructors
Instances
data PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Verification'Additional_document'
Constructors
PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' | |
Fields
|
Instances
data PostTokensRequestBodyAccount'Individual'Verification'Document' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Verification'Document'
Constructors
PostTokensRequestBodyAccount'Individual'Verification'Document' | |
Fields
|
Instances
data PostTokensRequestBodyBankAccount' Source #
Defines the data type for the schema postTokensRequestBodyBank_account'
The bank account this token will represent.
Constructors
PostTokensRequestBodyBankAccount' | |
Fields
|
Instances
data PostTokensRequestBodyBankAccount'AccountHolderType' Source #
Defines the enum schema postTokensRequestBodyBank_account'Account_holder_type'
Constructors
Instances
data PostTokensRequestBodyCard'OneOf2 Source #
Defines the data type for the schema postTokensRequestBodyCard'OneOf2
Constructors
Instances
data PostTokensRequestBodyCard'Variants Source #
Define the one-of schema postTokensRequestBodyCard'
Constructors
PostTokensRequestBodyCard'Text Text | |
PostTokensRequestBodyCard'PostTokensRequestBodyCard'OneOf2 PostTokensRequestBodyCard'OneOf2 |
Instances
data PostTokensRequestBodyPerson' Source #
Defines the data type for the schema postTokensRequestBodyPerson'
Information for the person this token will represent.
Constructors
Instances
data PostTokensRequestBodyPerson'Address' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address'
Constructors
PostTokensRequestBodyPerson'Address' | |
Fields
|
Instances
data PostTokensRequestBodyPerson'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address_kana'
Constructors
PostTokensRequestBodyPerson'AddressKana' | |
Fields
|
Instances
data PostTokensRequestBodyPerson'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address_kanji'
Constructors
PostTokensRequestBodyPerson'AddressKanji' | |
Fields
|
Instances
data PostTokensRequestBodyPerson'Dob'OneOf1 Source #
Defines the enum schema postTokensRequestBodyPerson'Dob'OneOf1
Constructors
PostTokensRequestBodyPerson'Dob'OneOf1EnumOther Value | |
PostTokensRequestBodyPerson'Dob'OneOf1EnumTyped Text | |
PostTokensRequestBodyPerson'Dob'OneOf1EnumString_ |
Instances
data PostTokensRequestBodyPerson'Dob'OneOf2 Source #
Defines the data type for the schema postTokensRequestBodyPerson'Dob'OneOf2
Constructors
PostTokensRequestBodyPerson'Dob'OneOf2 | |
Instances
data PostTokensRequestBodyPerson'Dob'Variants Source #
Define the one-of schema postTokensRequestBodyPerson'Dob'
Constructors
Instances
data PostTokensRequestBodyPerson'Metadata' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Metadata'
Constructors
PostTokensRequestBodyPerson'Metadata' | |
Instances
data PostTokensRequestBodyPerson'Relationship' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Relationship'
Constructors
PostTokensRequestBodyPerson'Relationship' | |
Fields
|
Instances
data PostTokensRequestBodyPerson'Relationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postTokensRequestBodyPerson'Relationship'Percent_ownership'OneOf1
Constructors
Instances
data PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source #
Define the one-of schema postTokensRequestBodyPerson'Relationship'Percent_ownership'
Constructors
Instances
data PostTokensRequestBodyPerson'Verification' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'
Constructors
PostTokensRequestBodyPerson'Verification' | |
Instances
data PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'Additional_document'
Constructors
PostTokensRequestBodyPerson'Verification'AdditionalDocument' | |
Fields
|
Instances
data PostTokensRequestBodyPerson'Verification'Document' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'Document'
Constructors
PostTokensRequestBodyPerson'Verification'Document' | |
Fields
|
Instances
data PostTokensRequestBodyPii' Source #
Defines the data type for the schema postTokensRequestBodyPii'
The PII this token will represent.
Constructors
PostTokensRequestBodyPii' | |
Fields
|
Instances
Eq PostTokensRequestBodyPii' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods (==) :: PostTokensRequestBodyPii' -> PostTokensRequestBodyPii' -> Bool # (/=) :: PostTokensRequestBodyPii' -> PostTokensRequestBodyPii' -> Bool # | |
Show PostTokensRequestBodyPii' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods showsPrec :: Int -> PostTokensRequestBodyPii' -> ShowS # show :: PostTokensRequestBodyPii' -> String # showList :: [PostTokensRequestBodyPii'] -> ShowS # | |
ToJSON PostTokensRequestBodyPii' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods toJSON :: PostTokensRequestBodyPii' -> Value # toEncoding :: PostTokensRequestBodyPii' -> Encoding # toJSONList :: [PostTokensRequestBodyPii'] -> Value # | |
FromJSON PostTokensRequestBodyPii' Source # | |
Defined in StripeAPI.Operations.PostTokens Methods parseJSON :: Value -> Parser PostTokensRequestBodyPii' # parseJSONList :: Value -> Parser [PostTokensRequestBodyPii'] # |
data PostTokensResponse Source #
Represents a response of the operation postTokens
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostTokensResponseError
is used.
Constructors
PostTokensResponseError String | Means either no matching case available or a parse error |
PostTokensResponse200 Token | Successful response. |
PostTokensResponseDefault Error | Error response. |
Instances
Eq PostTokensResponse Source # | |
Defined in StripeAPI.Operations.PostTokens Methods (==) :: PostTokensResponse -> PostTokensResponse -> Bool # (/=) :: PostTokensResponse -> PostTokensResponse -> Bool # | |
Show PostTokensResponse Source # | |
Defined in StripeAPI.Operations.PostTokens Methods showsPrec :: Int -> PostTokensResponse -> ShowS # show :: PostTokensResponse -> String # showList :: [PostTokensResponse] -> ShowS # |