Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postTokens
Synopsis
- postTokens :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostTokensRequestBody -> m (Either HttpException (Response PostTokensResponse))
- postTokensRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostTokensRequestBody -> m (Either HttpException (Response ByteString))
- postTokensM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostTokensResponse))
- postTokensRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostTokensRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostTokensRequestBody = PostTokensRequestBody {
- postTokensRequestBodyAccount :: Maybe PostTokensRequestBodyAccount'
- postTokensRequestBodyBankAccount :: Maybe PostTokensRequestBodyBankAccount'
- postTokensRequestBodyCard :: Maybe PostTokensRequestBodyCard'Variants
- postTokensRequestBodyCustomer :: Maybe String
- postTokensRequestBodyExpand :: Maybe ([] String)
- 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 String
- | 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 String
- postTokensRequestBodyAccount'Company'NameKana :: Maybe String
- postTokensRequestBodyAccount'Company'NameKanji :: Maybe String
- postTokensRequestBodyAccount'Company'OwnersProvided :: Maybe Bool
- postTokensRequestBodyAccount'Company'Phone :: Maybe String
- postTokensRequestBodyAccount'Company'Structure :: Maybe PostTokensRequestBodyAccount'Company'Structure'
- postTokensRequestBodyAccount'Company'TaxId :: Maybe String
- postTokensRequestBodyAccount'Company'TaxIdRegistrar :: Maybe String
- postTokensRequestBodyAccount'Company'VatId :: Maybe String
- postTokensRequestBodyAccount'Company'Verification :: Maybe PostTokensRequestBodyAccount'Company'Verification'
- data PostTokensRequestBodyAccount'Company'Address' = PostTokensRequestBodyAccount'Company'Address' {
- postTokensRequestBodyAccount'Company'Address'City :: Maybe String
- postTokensRequestBodyAccount'Company'Address'Country :: Maybe String
- postTokensRequestBodyAccount'Company'Address'Line1 :: Maybe String
- postTokensRequestBodyAccount'Company'Address'Line2 :: Maybe String
- postTokensRequestBodyAccount'Company'Address'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Company'Address'State :: Maybe String
- data PostTokensRequestBodyAccount'Company'AddressKana' = PostTokensRequestBodyAccount'Company'AddressKana' {
- postTokensRequestBodyAccount'Company'AddressKana'City :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'Country :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'Line1 :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'Line2 :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'State :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKana'Town :: Maybe String
- data PostTokensRequestBodyAccount'Company'AddressKanji' = PostTokensRequestBodyAccount'Company'AddressKanji' {
- postTokensRequestBodyAccount'Company'AddressKanji'City :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'Country :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'Line1 :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'Line2 :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'State :: Maybe String
- postTokensRequestBodyAccount'Company'AddressKanji'Town :: Maybe String
- data PostTokensRequestBodyAccount'Company'Structure'
- = PostTokensRequestBodyAccount'Company'Structure'EnumOther Value
- | PostTokensRequestBodyAccount'Company'Structure'EnumTyped String
- | 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 String
- postTokensRequestBodyAccount'Individual'FirstName :: Maybe String
- postTokensRequestBodyAccount'Individual'FirstNameKana :: Maybe String
- postTokensRequestBodyAccount'Individual'FirstNameKanji :: Maybe String
- postTokensRequestBodyAccount'Individual'Gender :: Maybe String
- postTokensRequestBodyAccount'Individual'IdNumber :: Maybe String
- postTokensRequestBodyAccount'Individual'LastName :: Maybe String
- postTokensRequestBodyAccount'Individual'LastNameKana :: Maybe String
- postTokensRequestBodyAccount'Individual'LastNameKanji :: Maybe String
- postTokensRequestBodyAccount'Individual'MaidenName :: Maybe String
- postTokensRequestBodyAccount'Individual'Metadata :: Maybe PostTokensRequestBodyAccount'Individual'Metadata'
- postTokensRequestBodyAccount'Individual'Phone :: Maybe String
- postTokensRequestBodyAccount'Individual'SsnLast_4 :: Maybe String
- postTokensRequestBodyAccount'Individual'Verification :: Maybe PostTokensRequestBodyAccount'Individual'Verification'
- data PostTokensRequestBodyAccount'Individual'Address' = PostTokensRequestBodyAccount'Individual'Address' {
- postTokensRequestBodyAccount'Individual'Address'City :: Maybe String
- postTokensRequestBodyAccount'Individual'Address'Country :: Maybe String
- postTokensRequestBodyAccount'Individual'Address'Line1 :: Maybe String
- postTokensRequestBodyAccount'Individual'Address'Line2 :: Maybe String
- postTokensRequestBodyAccount'Individual'Address'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Individual'Address'State :: Maybe String
- data PostTokensRequestBodyAccount'Individual'AddressKana' = PostTokensRequestBodyAccount'Individual'AddressKana' {
- postTokensRequestBodyAccount'Individual'AddressKana'City :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'Country :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'Line1 :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'Line2 :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'State :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKana'Town :: Maybe String
- data PostTokensRequestBodyAccount'Individual'AddressKanji' = PostTokensRequestBodyAccount'Individual'AddressKanji' {
- postTokensRequestBodyAccount'Individual'AddressKanji'City :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'Country :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'Line1 :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'Line2 :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'PostalCode :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'State :: Maybe String
- postTokensRequestBodyAccount'Individual'AddressKanji'Town :: Maybe String
- 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 String
- postTokensRequestBodyBankAccount'AccountHolderType :: Maybe PostTokensRequestBodyBankAccount'AccountHolderType'
- postTokensRequestBodyBankAccount'AccountNumber :: String
- postTokensRequestBodyBankAccount'Country :: String
- postTokensRequestBodyBankAccount'Currency :: Maybe String
- postTokensRequestBodyBankAccount'RoutingNumber :: Maybe String
- data PostTokensRequestBodyBankAccount'AccountHolderType'
- data PostTokensRequestBodyCard'OneOf2 = PostTokensRequestBodyCard'OneOf2 {
- postTokensRequestBodyCard'OneOf2AddressCity :: Maybe String
- postTokensRequestBodyCard'OneOf2AddressCountry :: Maybe String
- postTokensRequestBodyCard'OneOf2AddressLine1 :: Maybe String
- postTokensRequestBodyCard'OneOf2AddressLine2 :: Maybe String
- postTokensRequestBodyCard'OneOf2AddressState :: Maybe String
- postTokensRequestBodyCard'OneOf2AddressZip :: Maybe String
- postTokensRequestBodyCard'OneOf2Currency :: Maybe String
- postTokensRequestBodyCard'OneOf2Cvc :: Maybe String
- postTokensRequestBodyCard'OneOf2ExpMonth :: String
- postTokensRequestBodyCard'OneOf2ExpYear :: String
- postTokensRequestBodyCard'OneOf2Name :: Maybe String
- postTokensRequestBodyCard'OneOf2Number :: String
- 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 String
- postTokensRequestBodyPerson'FirstName :: Maybe String
- postTokensRequestBodyPerson'FirstNameKana :: Maybe String
- postTokensRequestBodyPerson'FirstNameKanji :: Maybe String
- postTokensRequestBodyPerson'Gender :: Maybe String
- postTokensRequestBodyPerson'IdNumber :: Maybe String
- postTokensRequestBodyPerson'LastName :: Maybe String
- postTokensRequestBodyPerson'LastNameKana :: Maybe String
- postTokensRequestBodyPerson'LastNameKanji :: Maybe String
- postTokensRequestBodyPerson'MaidenName :: Maybe String
- postTokensRequestBodyPerson'Metadata :: Maybe PostTokensRequestBodyPerson'Metadata'
- postTokensRequestBodyPerson'Phone :: Maybe String
- postTokensRequestBodyPerson'Relationship :: Maybe PostTokensRequestBodyPerson'Relationship'
- postTokensRequestBodyPerson'SsnLast_4 :: Maybe String
- postTokensRequestBodyPerson'Verification :: Maybe PostTokensRequestBodyPerson'Verification'
- data PostTokensRequestBodyPerson'Address' = PostTokensRequestBodyPerson'Address' {
- postTokensRequestBodyPerson'Address'City :: Maybe String
- postTokensRequestBodyPerson'Address'Country :: Maybe String
- postTokensRequestBodyPerson'Address'Line1 :: Maybe String
- postTokensRequestBodyPerson'Address'Line2 :: Maybe String
- postTokensRequestBodyPerson'Address'PostalCode :: Maybe String
- postTokensRequestBodyPerson'Address'State :: Maybe String
- data PostTokensRequestBodyPerson'AddressKana' = PostTokensRequestBodyPerson'AddressKana' {
- postTokensRequestBodyPerson'AddressKana'City :: Maybe String
- postTokensRequestBodyPerson'AddressKana'Country :: Maybe String
- postTokensRequestBodyPerson'AddressKana'Line1 :: Maybe String
- postTokensRequestBodyPerson'AddressKana'Line2 :: Maybe String
- postTokensRequestBodyPerson'AddressKana'PostalCode :: Maybe String
- postTokensRequestBodyPerson'AddressKana'State :: Maybe String
- postTokensRequestBodyPerson'AddressKana'Town :: Maybe String
- data PostTokensRequestBodyPerson'AddressKanji' = PostTokensRequestBodyPerson'AddressKanji' {
- postTokensRequestBodyPerson'AddressKanji'City :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'Country :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'Line1 :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'Line2 :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'PostalCode :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'State :: Maybe String
- postTokensRequestBodyPerson'AddressKanji'Town :: Maybe String
- 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 String
- 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
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> 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 -> 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) => 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) => 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
PostTokensRequestBody | |
|
Instances
Eq PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens (==) :: PostTokensRequestBody -> PostTokensRequestBody -> Bool # (/=) :: PostTokensRequestBody -> PostTokensRequestBody -> Bool # | |
Show PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens showsPrec :: Int -> PostTokensRequestBody -> ShowS # show :: PostTokensRequestBody -> String # showList :: [PostTokensRequestBody] -> ShowS # | |
ToJSON PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens toJSON :: PostTokensRequestBody -> Value # toEncoding :: PostTokensRequestBody -> Encoding # toJSONList :: [PostTokensRequestBody] -> Value # toEncodingList :: [PostTokensRequestBody] -> Encoding # | |
FromJSON PostTokensRequestBody Source # | |
Defined in StripeAPI.Operations.PostTokens 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.
Instances
data PostTokensRequestBodyAccount'BusinessType' Source #
Defines the enum schema postTokensRequestBodyAccount'Business_type'
data PostTokensRequestBodyAccount'Company' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'
data PostTokensRequestBodyAccount'Company'Address' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address'
PostTokensRequestBodyAccount'Company'Address' | |
|
data PostTokensRequestBodyAccount'Company'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address_kana'
PostTokensRequestBodyAccount'Company'AddressKana' | |
|
Instances
data PostTokensRequestBodyAccount'Company'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Company'Address_kanji'
PostTokensRequestBodyAccount'Company'AddressKanji' | |
|
Instances
data PostTokensRequestBodyAccount'Company'Structure' Source #
Defines the enum schema postTokensRequestBodyAccount'Company'Structure'
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'
PostTokensRequestBodyAccount'Company'Verification'Document' | |
|
Instances
data PostTokensRequestBodyAccount'Individual' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'
data PostTokensRequestBodyAccount'Individual'Address' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address'
PostTokensRequestBodyAccount'Individual'Address' | |
|
Instances
data PostTokensRequestBodyAccount'Individual'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address_kana'
PostTokensRequestBodyAccount'Individual'AddressKana' | |
|
Instances
data PostTokensRequestBodyAccount'Individual'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Address_kanji'
PostTokensRequestBodyAccount'Individual'AddressKanji' | |
|
Instances
data PostTokensRequestBodyAccount'Individual'Dob'OneOf1 Source #
Defines the enum schema postTokensRequestBodyAccount'Individual'Dob'OneOf1
PostTokensRequestBodyAccount'Individual'Dob'OneOf1EnumOther Value | |
PostTokensRequestBodyAccount'Individual'Dob'OneOf1EnumTyped String | |
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'
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'
Instances
data PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Verification'Additional_document'
PostTokensRequestBodyAccount'Individual'Verification'AdditionalDocument' | |
|
Instances
data PostTokensRequestBodyAccount'Individual'Verification'Document' Source #
Defines the data type for the schema postTokensRequestBodyAccount'Individual'Verification'Document'
PostTokensRequestBodyAccount'Individual'Verification'Document' | |
|
Instances
data PostTokensRequestBodyBankAccount' Source #
Defines the data type for the schema postTokensRequestBodyBank_account'
The bank account this token will represent.
PostTokensRequestBodyBankAccount' | |
|
data PostTokensRequestBodyBankAccount'AccountHolderType' Source #
Defines the enum schema postTokensRequestBodyBank_account'Account_holder_type'
Instances
data PostTokensRequestBodyCard'OneOf2 Source #
Defines the data type for the schema postTokensRequestBodyCard'OneOf2
data PostTokensRequestBodyCard'Variants Source #
Define the one-of schema postTokensRequestBodyCard'
PostTokensRequestBodyCard'String String | |
PostTokensRequestBodyCard'PostTokensRequestBodyCard'OneOf2 PostTokensRequestBodyCard'OneOf2 |
Instances
Eq PostTokensRequestBodyCard'Variants Source # | |
Show PostTokensRequestBodyCard'Variants Source # | |
Defined in StripeAPI.Operations.PostTokens | |
Generic PostTokensRequestBodyCard'Variants Source # | |
ToJSON PostTokensRequestBodyCard'Variants Source # | |
FromJSON PostTokensRequestBodyCard'Variants Source # | |
type Rep PostTokensRequestBodyCard'Variants Source # | |
Defined in StripeAPI.Operations.PostTokens type Rep PostTokensRequestBodyCard'Variants = D1 (MetaData "PostTokensRequestBodyCard'Variants" "StripeAPI.Operations.PostTokens" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "PostTokensRequestBodyCard'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)) :+: C1 (MetaCons "PostTokensRequestBodyCard'PostTokensRequestBodyCard'OneOf2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 PostTokensRequestBodyCard'OneOf2))) |
data PostTokensRequestBodyPerson' Source #
Defines the data type for the schema postTokensRequestBodyPerson'
Information for the person this token will represent.
Instances
data PostTokensRequestBodyPerson'Address' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address'
PostTokensRequestBodyPerson'Address' | |
|
data PostTokensRequestBodyPerson'AddressKana' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address_kana'
PostTokensRequestBodyPerson'AddressKana' | |
|
data PostTokensRequestBodyPerson'AddressKanji' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Address_kanji'
PostTokensRequestBodyPerson'AddressKanji' | |
|
data PostTokensRequestBodyPerson'Dob'OneOf1 Source #
Defines the enum schema postTokensRequestBodyPerson'Dob'OneOf1
PostTokensRequestBodyPerson'Dob'OneOf1EnumOther Value | |
PostTokensRequestBodyPerson'Dob'OneOf1EnumTyped String | |
PostTokensRequestBodyPerson'Dob'OneOf1EnumString_ |
data PostTokensRequestBodyPerson'Dob'OneOf2 Source #
Defines the data type for the schema postTokensRequestBodyPerson'Dob'OneOf2
data PostTokensRequestBodyPerson'Dob'Variants Source #
Define the one-of schema postTokensRequestBodyPerson'Dob'
Instances
data PostTokensRequestBodyPerson'Metadata' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Metadata'
data PostTokensRequestBodyPerson'Relationship' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Relationship'
PostTokensRequestBodyPerson'Relationship' | |
|
data PostTokensRequestBodyPerson'Relationship'PercentOwnership'OneOf1 Source #
Defines the enum schema postTokensRequestBodyPerson'Relationship'Percent_ownership'OneOf1
Instances
data PostTokensRequestBodyPerson'Relationship'PercentOwnership'Variants Source #
Define the one-of schema postTokensRequestBodyPerson'Relationship'Percent_ownership'
Instances
data PostTokensRequestBodyPerson'Verification' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'
data PostTokensRequestBodyPerson'Verification'AdditionalDocument' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'Additional_document'
PostTokensRequestBodyPerson'Verification'AdditionalDocument' | |
|
Instances
data PostTokensRequestBodyPerson'Verification'Document' Source #
Defines the data type for the schema postTokensRequestBodyPerson'Verification'Document'
PostTokensRequestBodyPerson'Verification'Document' | |
|
Instances
data PostTokensRequestBodyPii' Source #
Defines the data type for the schema postTokensRequestBodyPii'
The PII this token will represent.
PostTokensRequestBodyPii' | |
|
Instances
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.
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 (==) :: PostTokensResponse -> PostTokensResponse -> Bool # (/=) :: PostTokensResponse -> PostTokensResponse -> Bool # | |
Show PostTokensResponse Source # | |
Defined in StripeAPI.Operations.PostTokens showsPrec :: Int -> PostTokensResponse -> ShowS # show :: PostTokensResponse -> String # showList :: [PostTokensResponse] -> ShowS # |