Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerSources
Synopsis
- getCustomersCustomerSources :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> m (Either HttpException (Response GetCustomersCustomerSourcesResponse))
- getCustomersCustomerSourcesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerSourcesM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSourcesResponse))
- getCustomersCustomerSourcesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerSourcesRequestBody = GetCustomersCustomerSourcesRequestBody {
- data GetCustomersCustomerSourcesResponse
- data GetCustomersCustomerSourcesResponseBody200 = GetCustomersCustomerSourcesResponseBody200 {
- getCustomersCustomerSourcesResponseBody200Data :: [] GetCustomersCustomerSourcesResponseBody200Data'
- getCustomersCustomerSourcesResponseBody200HasMore :: Bool
- getCustomersCustomerSourcesResponseBody200Object :: GetCustomersCustomerSourcesResponseBody200Object'
- getCustomersCustomerSourcesResponseBody200Url :: String
- data GetCustomersCustomerSourcesResponseBody200Data' = GetCustomersCustomerSourcesResponseBody200Data' {
- getCustomersCustomerSourcesResponseBody200Data'Account :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
- getCustomersCustomerSourcesResponseBody200Data'AccountHolderName :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AccountHolderType :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- getCustomersCustomerSourcesResponseBody200Data'AchDebit :: Maybe SourceTypeAchDebit
- getCustomersCustomerSourcesResponseBody200Data'Active :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'AddressCity :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressCountry :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressLine1 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressLine1Check :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressLine2 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressState :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressZip :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'AddressZipCheck :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Alipay :: Maybe SourceTypeAlipay
- getCustomersCustomerSourcesResponseBody200Data'Amount :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'AmountReceived :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods :: Maybe ([] GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods')
- getCustomersCustomerSourcesResponseBody200Data'Bancontact :: Maybe SourceTypeBancontact
- getCustomersCustomerSourcesResponseBody200Data'BankName :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'BitcoinAmount :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'BitcoinAmountReceived :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'BitcoinUri :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Brand :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Card :: Maybe SourceTypeCard
- getCustomersCustomerSourcesResponseBody200Data'CardPresent :: Maybe SourceTypeCardPresent
- getCustomersCustomerSourcesResponseBody200Data'ClientSecret :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'CodeVerification :: Maybe SourceCodeVerificationFlow
- getCustomersCustomerSourcesResponseBody200Data'Country :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Created :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'Currency :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Customer :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
- getCustomersCustomerSourcesResponseBody200Data'CvcCheck :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'DefaultForCurrency :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Description :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'DynamicLast4 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Email :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Eps :: Maybe SourceTypeEps
- getCustomersCustomerSourcesResponseBody200Data'ExpMonth :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'ExpYear :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'Filled :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Fingerprint :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Flow :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Funding :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Giropay :: Maybe SourceTypeGiropay
- getCustomersCustomerSourcesResponseBody200Data'Id :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Ideal :: Maybe SourceTypeIdeal
- getCustomersCustomerSourcesResponseBody200Data'InboundAddress :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Klarna :: Maybe SourceTypeKlarna
- getCustomersCustomerSourcesResponseBody200Data'Last4 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Livemode :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Metadata :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Metadata'
- getCustomersCustomerSourcesResponseBody200Data'Multibanco :: Maybe SourceTypeMultibanco
- getCustomersCustomerSourcesResponseBody200Data'Name :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Object :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Object'
- getCustomersCustomerSourcesResponseBody200Data'Owner :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'
- getCustomersCustomerSourcesResponseBody200Data'P24 :: Maybe SourceTypeP24
- getCustomersCustomerSourcesResponseBody200Data'Payment :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'PaymentAmount :: Maybe Integer
- getCustomersCustomerSourcesResponseBody200Data'PaymentCurrency :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Receiver :: Maybe SourceReceiverFlow
- getCustomersCustomerSourcesResponseBody200Data'Recipient :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
- getCustomersCustomerSourcesResponseBody200Data'Redirect :: Maybe SourceRedirectFlow
- getCustomersCustomerSourcesResponseBody200Data'RefundAddress :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Reusable :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'RoutingNumber :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'SepaDebit :: Maybe SourceTypeSepaDebit
- getCustomersCustomerSourcesResponseBody200Data'Sofort :: Maybe SourceTypeSofort
- getCustomersCustomerSourcesResponseBody200Data'SourceOrder :: Maybe SourceOrder
- getCustomersCustomerSourcesResponseBody200Data'StatementDescriptor :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Status :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- getCustomersCustomerSourcesResponseBody200Data'TokenizationMethod :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Transactions :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Transactions'
- getCustomersCustomerSourcesResponseBody200Data'Type :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Type'
- getCustomersCustomerSourcesResponseBody200Data'UncapturedFunds :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Usage :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Used :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'UsedForPayment :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Username :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Wechat :: Maybe SourceTypeWechat
- data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
- = GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumOther Value
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumTyped String
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStringInstant
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStringStandard
- data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'Metadata' = GetCustomersCustomerSourcesResponseBody200Data'Metadata' {
- data GetCustomersCustomerSourcesResponseBody200Data'Object'
- data GetCustomersCustomerSourcesResponseBody200Data'Owner' = GetCustomersCustomerSourcesResponseBody200Data'Owner' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
- getCustomersCustomerSourcesResponseBody200Data'Owner'Email :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Name :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Phone :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedEmail :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedName :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedPhone :: Maybe String
- data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' = GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'City :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Country :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line1 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line2 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'PostalCode :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'State :: Maybe String
- data GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' = GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'City :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Country :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line1 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line2 :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'PostalCode :: Maybe String
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'State :: Maybe String
- data GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'Transactions' = GetCustomersCustomerSourcesResponseBody200Data'Transactions' {
- getCustomersCustomerSourcesResponseBody200Data'Transactions'Data :: [] BitcoinTransaction
- getCustomersCustomerSourcesResponseBody200Data'Transactions'HasMore :: Bool
- getCustomersCustomerSourcesResponseBody200Data'Transactions'Object :: GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object'
- getCustomersCustomerSourcesResponseBody200Data'Transactions'Url :: String
- data GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object'
- data GetCustomersCustomerSourcesResponseBody200Data'Type'
- = GetCustomersCustomerSourcesResponseBody200Data'Type'EnumOther Value
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumTyped String
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringAchCreditTransfer
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringAchDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringAlipay
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringBancontact
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringCard
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringCardPresent
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringEps
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringGiropay
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringIdeal
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringKlarna
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringMultibanco
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringP24
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringSepaDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringSofort
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringThreeDSecure
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumStringWechat
- data GetCustomersCustomerSourcesResponseBody200Object'
Documentation
getCustomersCustomerSources Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> Maybe String | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe String | object: Filter sources according to a particular object type. | Constraints: Maximum length of 5000 |
-> Maybe String | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
-> GetCustomersCustomerSourcesRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerSourcesResponse)) | Monad containing the result of the operation |
GET /v1/customers/{customer}/sources
<p>List sources for a specified customer.</p>
getCustomersCustomerSourcesRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/sources
The same as getCustomersCustomerSources
but returns the raw ByteString
getCustomersCustomerSourcesM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerSourcesResponse)) Source #
GET /v1/customers/{customer}/sources
Monadic version of getCustomersCustomerSources
(use with runWithConfiguration
)
getCustomersCustomerSourcesRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> Maybe String -> GetCustomersCustomerSourcesRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/sources
Monadic version of getCustomersCustomerSourcesRaw
(use with runWithConfiguration
)
data GetCustomersCustomerSourcesRequestBody Source #
Defines the data type for the schema getCustomersCustomerSourcesRequestBody
data GetCustomersCustomerSourcesResponse Source #
Represents a response of the operation getCustomersCustomerSources
.
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), GetCustomersCustomerSourcesResponseError
is used.
GetCustomersCustomerSourcesResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerSourcesResponse200 GetCustomersCustomerSourcesResponseBody200 | Successful response. |
GetCustomersCustomerSourcesResponseDefault Error | Error response. |
data GetCustomersCustomerSourcesResponseBody200 Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200
GetCustomersCustomerSourcesResponseBody200 | |
|
data GetCustomersCustomerSourcesResponseBody200Data' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'
GetCustomersCustomerSourcesResponseBody200Data' | |
|
data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source #
Define the one-of schema GetCustomersCustomerSourcesResponseBody200Data'Account'
The ID of the account that the bank account is associated with.
GetCustomersCustomerSourcesResponseBody200Data'Account'Account Account | |
GetCustomersCustomerSourcesResponseBody200Data'Account'String String |
Instances
data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source #
Defines the enum schema GetCustomersCustomerSourcesResponseBody200Data'Available_payout_methods'
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source #
Define the one-of schema GetCustomersCustomerSourcesResponseBody200Data'Customer'
The ID of the customer associated with this Alipay Account.
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Metadata' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Metadata'
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 GetCustomersCustomerSourcesResponseBody200Data'Object' Source #
Defines the enum schema GetCustomersCustomerSourcesResponseBody200Data'Object'
String representing the object's type. Objects of the same type share the same value.
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Owner' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Owner'
Information about the owner of the payment instrument that may be used or required by particular source types.
GetCustomersCustomerSourcesResponseBody200Data'Owner' | |
|
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
Owner\'s address.
GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' | |
|
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Owner'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.
GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' | |
|
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source #
Define the one-of schema GetCustomersCustomerSourcesResponseBody200Data'Recipient'
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.
GetCustomersCustomerSourcesResponseBody200Data'Recipient'Recipient Recipient | |
GetCustomersCustomerSourcesResponseBody200Data'Recipient'String String |
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source #
Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Transactions'
A list with one entry for each time that the customer sent bitcoin to the receiver. Hidden when viewing the receiver with a publishable key.
GetCustomersCustomerSourcesResponseBody200Data'Transactions' | |
|
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object' Source #
Defines the enum schema GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Type' Source #
Defines the enum schema GetCustomersCustomerSourcesResponseBody200Data'Type'
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.
Instances
data GetCustomersCustomerSourcesResponseBody200Object' Source #
Defines the enum schema GetCustomersCustomerSourcesResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetCustomersCustomerSourcesResponseBody200Object'EnumOther Value | |
GetCustomersCustomerSourcesResponseBody200Object'EnumTyped String | |
GetCustomersCustomerSourcesResponseBody200Object'EnumStringList |