Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postCustomersCustomerBankAccountsId
Synopsis
- postCustomersCustomerBankAccountsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response PostCustomersCustomerBankAccountsIdResponse))
- postCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString))
- postCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerBankAccountsIdResponse))
- postCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostCustomersCustomerBankAccountsIdRequestBody = PostCustomersCustomerBankAccountsIdRequestBody {
- postCustomersCustomerBankAccountsIdRequestBodyAccountHolderName :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAccountHolderType :: Maybe PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
- postCustomersCustomerBankAccountsIdRequestBodyAddressCity :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAddressCountry :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAddressLine1 :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAddressLine2 :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAddressState :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyAddressZip :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyExpMonth :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyExpYear :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyExpand :: Maybe ([] String)
- postCustomersCustomerBankAccountsIdRequestBodyMetadata :: Maybe PostCustomersCustomerBankAccountsIdRequestBodyMetadata'
- postCustomersCustomerBankAccountsIdRequestBodyName :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner :: Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner'
- data PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'
- = PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumOther Value
- | PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumTyped String
- | PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumStringCompany
- | PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType'EnumStringIndividual
- data PostCustomersCustomerBankAccountsIdRequestBodyMetadata' = PostCustomersCustomerBankAccountsIdRequestBodyMetadata' {
- data PostCustomersCustomerBankAccountsIdRequestBodyOwner' = PostCustomersCustomerBankAccountsIdRequestBodyOwner' {
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address :: Maybe PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Email :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Name :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Phone :: Maybe String
- data PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' = PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' {
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'City :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Country :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Line1 :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'Line2 :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'PostalCode :: Maybe String
- postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'State :: Maybe String
- data PostCustomersCustomerBankAccountsIdResponse
- data PostCustomersCustomerBankAccountsIdResponseBody200 = PostCustomersCustomerBankAccountsIdResponseBody200 {
- postCustomersCustomerBankAccountsIdResponseBody200Account :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
- postCustomersCustomerBankAccountsIdResponseBody200AccountHolderName :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AccountHolderType :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- postCustomersCustomerBankAccountsIdResponseBody200AchDebit :: Maybe SourceTypeAchDebit
- postCustomersCustomerBankAccountsIdResponseBody200AddressCity :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressCountry :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressLine1 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressLine1Check :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressLine2 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressState :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressZip :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200AddressZipCheck :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Alipay :: Maybe SourceTypeAlipay
- postCustomersCustomerBankAccountsIdResponseBody200Amount :: Maybe Integer
- postCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods :: Maybe ([] PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods')
- postCustomersCustomerBankAccountsIdResponseBody200Bancontact :: Maybe SourceTypeBancontact
- postCustomersCustomerBankAccountsIdResponseBody200BankName :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Brand :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Card :: Maybe SourceTypeCard
- postCustomersCustomerBankAccountsIdResponseBody200CardPresent :: Maybe SourceTypeCardPresent
- postCustomersCustomerBankAccountsIdResponseBody200ClientSecret :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200CodeVerification :: Maybe SourceCodeVerificationFlow
- postCustomersCustomerBankAccountsIdResponseBody200Country :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Created :: Maybe Integer
- postCustomersCustomerBankAccountsIdResponseBody200Currency :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Customer :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
- postCustomersCustomerBankAccountsIdResponseBody200CvcCheck :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200DefaultForCurrency :: Maybe Bool
- postCustomersCustomerBankAccountsIdResponseBody200DynamicLast4 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Eps :: Maybe SourceTypeEps
- postCustomersCustomerBankAccountsIdResponseBody200ExpMonth :: Maybe Integer
- postCustomersCustomerBankAccountsIdResponseBody200ExpYear :: Maybe Integer
- postCustomersCustomerBankAccountsIdResponseBody200Fingerprint :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Flow :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Funding :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Giropay :: Maybe SourceTypeGiropay
- postCustomersCustomerBankAccountsIdResponseBody200Id :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Ideal :: Maybe SourceTypeIdeal
- postCustomersCustomerBankAccountsIdResponseBody200Klarna :: Maybe SourceTypeKlarna
- postCustomersCustomerBankAccountsIdResponseBody200Last4 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Livemode :: Maybe Bool
- postCustomersCustomerBankAccountsIdResponseBody200Metadata :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Metadata'
- postCustomersCustomerBankAccountsIdResponseBody200Multibanco :: Maybe SourceTypeMultibanco
- postCustomersCustomerBankAccountsIdResponseBody200Name :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Object :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Object'
- postCustomersCustomerBankAccountsIdResponseBody200Owner :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'
- postCustomersCustomerBankAccountsIdResponseBody200P24 :: Maybe SourceTypeP24
- postCustomersCustomerBankAccountsIdResponseBody200Receiver :: Maybe SourceReceiverFlow
- postCustomersCustomerBankAccountsIdResponseBody200Recipient :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
- postCustomersCustomerBankAccountsIdResponseBody200Redirect :: Maybe SourceRedirectFlow
- postCustomersCustomerBankAccountsIdResponseBody200RoutingNumber :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200SepaDebit :: Maybe SourceTypeSepaDebit
- postCustomersCustomerBankAccountsIdResponseBody200Sofort :: Maybe SourceTypeSofort
- postCustomersCustomerBankAccountsIdResponseBody200SourceOrder :: Maybe SourceOrder
- postCustomersCustomerBankAccountsIdResponseBody200StatementDescriptor :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Status :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200ThreeDSecure :: Maybe SourceTypeThreeDSecure
- postCustomersCustomerBankAccountsIdResponseBody200TokenizationMethod :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Type :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Type'
- postCustomersCustomerBankAccountsIdResponseBody200Usage :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Wechat :: Maybe SourceTypeWechat
- data PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants
- data PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'
- = PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumOther Value
- | PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumTyped String
- | PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumStringInstant
- | PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods'EnumStringStandard
- data PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants
- data PostCustomersCustomerBankAccountsIdResponseBody200Metadata' = PostCustomersCustomerBankAccountsIdResponseBody200Metadata' {
- data PostCustomersCustomerBankAccountsIdResponseBody200Object'
- data PostCustomersCustomerBankAccountsIdResponseBody200Owner' = PostCustomersCustomerBankAccountsIdResponseBody200Owner' {
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Email :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Name :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Phone :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress :: Maybe PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedEmail :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedName :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedPhone :: Maybe String
- data PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' = PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' {
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'City :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Country :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line1 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'Line2 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'PostalCode :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'Address'State :: Maybe String
- data PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' = PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' {
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'City :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Country :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line1 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'Line2 :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'PostalCode :: Maybe String
- postCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress'State :: Maybe String
- data PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants
- data PostCustomersCustomerBankAccountsIdResponseBody200Type'
- = PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumOther Value
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumTyped String
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringAchCreditTransfer
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringAchDebit
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringAlipay
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringBancontact
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringCard
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringCardPresent
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringEps
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringGiropay
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringIdeal
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringKlarna
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringMultibanco
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringP24
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringSepaDebit
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringSofort
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringThreeDSecure
- | PostCustomersCustomerBankAccountsIdResponseBody200Type'EnumStringWechat
Documentation
postCustomersCustomerBankAccountsId Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> String | id | Constraints: Maximum length of 5000 |
-> PostCustomersCustomerBankAccountsIdRequestBody | The request body to send |
-> m (Either HttpException (Response PostCustomersCustomerBankAccountsIdResponse)) | Monad containing the result of the operation |
POST /v1/customers/{customer}/bank_accounts/{id}
<p>Update a specified source for a given customer.</p>
postCustomersCustomerBankAccountsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/bank_accounts/{id}
The same as postCustomersCustomerBankAccountsId
but returns the raw ByteString
postCustomersCustomerBankAccountsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostCustomersCustomerBankAccountsIdResponse)) Source #
POST /v1/customers/{customer}/bank_accounts/{id}
Monadic version of postCustomersCustomerBankAccountsId
(use with runWithConfiguration
)
postCustomersCustomerBankAccountsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> String -> PostCustomersCustomerBankAccountsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/customers/{customer}/bank_accounts/{id}
Monadic version of postCustomersCustomerBankAccountsIdRaw
(use with runWithConfiguration
)
data PostCustomersCustomerBankAccountsIdRequestBody Source #
Defines the data type for the schema postCustomersCustomerBankAccountsIdRequestBody
PostCustomersCustomerBankAccountsIdRequestBody | |
|
Instances
data PostCustomersCustomerBankAccountsIdRequestBodyAccountHolderType' Source #
Defines the enum schema postCustomersCustomerBankAccountsIdRequestBodyAccount_holder_type'
The type of entity that holds the account. This can be either `individual` or `company`.
Instances
data PostCustomersCustomerBankAccountsIdRequestBodyMetadata' Source #
Defines the data type for the schema postCustomersCustomerBankAccountsIdRequestBodyMetadata'
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 to `metadata`.
Instances
data PostCustomersCustomerBankAccountsIdRequestBodyOwner' Source #
Defines the data type for the schema postCustomersCustomerBankAccountsIdRequestBodyOwner'
PostCustomersCustomerBankAccountsIdRequestBodyOwner' | |
|
Instances
data PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' Source #
Defines the data type for the schema postCustomersCustomerBankAccountsIdRequestBodyOwner'Address'
PostCustomersCustomerBankAccountsIdRequestBodyOwner'Address' | |
|
Instances
data PostCustomersCustomerBankAccountsIdResponse Source #
Represents a response of the operation postCustomersCustomerBankAccountsId
.
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), PostCustomersCustomerBankAccountsIdResponseError
is used.
PostCustomersCustomerBankAccountsIdResponseError String | Means either no matching case available or a parse error |
PostCustomersCustomerBankAccountsIdResponse200 PostCustomersCustomerBankAccountsIdResponseBody200 | Successful response. |
PostCustomersCustomerBankAccountsIdResponseDefault Error | Error response. |
data PostCustomersCustomerBankAccountsIdResponseBody200 Source #
Defines the data type for the schema PostCustomersCustomerBankAccountsIdResponseBody200
PostCustomersCustomerBankAccountsIdResponseBody200 | |
|
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Account'Variants Source #
Define the one-of schema PostCustomersCustomerBankAccountsIdResponseBody200Account'
The ID of the account that the bank account is associated with.
PostCustomersCustomerBankAccountsIdResponseBody200Account'Account Account | |
PostCustomersCustomerBankAccountsIdResponseBody200Account'String String |
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200AvailablePayoutMethods' Source #
Defines the enum schema PostCustomersCustomerBankAccountsIdResponseBody200Available_payout_methods'
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Customer'Variants Source #
Define the one-of schema PostCustomersCustomerBankAccountsIdResponseBody200Customer'
The ID of the customer that the bank account is associated with.
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Metadata' Source #
Defines the data type for the schema PostCustomersCustomerBankAccountsIdResponseBody200Metadata'
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.
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Object' Source #
Defines the enum schema PostCustomersCustomerBankAccountsIdResponseBody200Object'
String representing the object's type. Objects of the same type share the same value.
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Owner' Source #
Defines the data type for the schema PostCustomersCustomerBankAccountsIdResponseBody200Owner'
Information about the owner of the payment instrument that may be used or required by particular source types.
PostCustomersCustomerBankAccountsIdResponseBody200Owner' | |
|
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' Source #
Defines the data type for the schema PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address'
Owner\'s address.
PostCustomersCustomerBankAccountsIdResponseBody200Owner'Address' | |
|
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Owner'VerifiedAddress' Source #
Defines the data type for the schema PostCustomersCustomerBankAccountsIdResponseBody200Owner'Verified_address'
Verified owner\'s address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Variants Source #
Define the one-of schema PostCustomersCustomerBankAccountsIdResponseBody200Recipient'
The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.
PostCustomersCustomerBankAccountsIdResponseBody200Recipient'Recipient Recipient | |
PostCustomersCustomerBankAccountsIdResponseBody200Recipient'String String |
Instances
data PostCustomersCustomerBankAccountsIdResponseBody200Type' Source #
Defines the enum schema PostCustomersCustomerBankAccountsIdResponseBody200Type'
The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the payment method used.