Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerSources
Synopsis
- getCustomersCustomerSources :: forall m. MonadHTTP m => GetCustomersCustomerSourcesParameters -> StripeT m (Response GetCustomersCustomerSourcesResponse)
- data GetCustomersCustomerSourcesParameters = GetCustomersCustomerSourcesParameters {
- getCustomersCustomerSourcesParametersPathCustomer :: Text
- getCustomersCustomerSourcesParametersQueryEndingBefore :: Maybe Text
- getCustomersCustomerSourcesParametersQueryExpand :: Maybe [Text]
- getCustomersCustomerSourcesParametersQueryLimit :: Maybe Int
- getCustomersCustomerSourcesParametersQueryObject :: Maybe Text
- getCustomersCustomerSourcesParametersQueryStartingAfter :: Maybe Text
- mkGetCustomersCustomerSourcesParameters :: Text -> GetCustomersCustomerSourcesParameters
- data GetCustomersCustomerSourcesResponse
- data GetCustomersCustomerSourcesResponseBody200 = GetCustomersCustomerSourcesResponseBody200 {}
- mkGetCustomersCustomerSourcesResponseBody200 :: [GetCustomersCustomerSourcesResponseBody200Data'] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200
- data GetCustomersCustomerSourcesResponseBody200Data' = GetCustomersCustomerSourcesResponseBody200Data' {
- getCustomersCustomerSourcesResponseBody200Data'Account :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
- getCustomersCustomerSourcesResponseBody200Data'AccountHolderName :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AccountHolderType :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AchCreditTransfer :: Maybe SourceTypeAchCreditTransfer
- getCustomersCustomerSourcesResponseBody200Data'AchDebit :: Maybe SourceTypeAchDebit
- getCustomersCustomerSourcesResponseBody200Data'AcssDebit :: Maybe SourceTypeAcssDebit
- getCustomersCustomerSourcesResponseBody200Data'Active :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'AddressCity :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressCountry :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressLine1 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressLine1Check :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressLine2 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressState :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressZip :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'AddressZipCheck :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Alipay :: Maybe SourceTypeAlipay
- getCustomersCustomerSourcesResponseBody200Data'Amount :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'AmountReceived :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'AuBecsDebit :: Maybe SourceTypeAuBecsDebit
- getCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods :: Maybe [GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods']
- getCustomersCustomerSourcesResponseBody200Data'Bancontact :: Maybe SourceTypeBancontact
- getCustomersCustomerSourcesResponseBody200Data'BankName :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'BitcoinAmount :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'BitcoinAmountReceived :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'BitcoinUri :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Brand :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Card :: Maybe SourceTypeCard
- getCustomersCustomerSourcesResponseBody200Data'CardPresent :: Maybe SourceTypeCardPresent
- getCustomersCustomerSourcesResponseBody200Data'ClientSecret :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'CodeVerification :: Maybe SourceCodeVerificationFlow
- getCustomersCustomerSourcesResponseBody200Data'Country :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Created :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'Currency :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Customer :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
- getCustomersCustomerSourcesResponseBody200Data'CvcCheck :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'DefaultForCurrency :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Description :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'DynamicLast4 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Email :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Eps :: Maybe SourceTypeEps
- getCustomersCustomerSourcesResponseBody200Data'ExpMonth :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'ExpYear :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'Filled :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Fingerprint :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Flow :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Funding :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Giropay :: Maybe SourceTypeGiropay
- getCustomersCustomerSourcesResponseBody200Data'Id :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Ideal :: Maybe SourceTypeIdeal
- getCustomersCustomerSourcesResponseBody200Data'InboundAddress :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Klarna :: Maybe SourceTypeKlarna
- getCustomersCustomerSourcesResponseBody200Data'Last4 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Livemode :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Metadata :: Maybe Object
- getCustomersCustomerSourcesResponseBody200Data'Multibanco :: Maybe SourceTypeMultibanco
- getCustomersCustomerSourcesResponseBody200Data'Name :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'
- getCustomersCustomerSourcesResponseBody200Data'P24 :: Maybe SourceTypeP24
- getCustomersCustomerSourcesResponseBody200Data'Payment :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'PaymentAmount :: Maybe Int
- getCustomersCustomerSourcesResponseBody200Data'PaymentCurrency :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Receiver :: Maybe SourceReceiverFlow
- getCustomersCustomerSourcesResponseBody200Data'Recipient :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
- getCustomersCustomerSourcesResponseBody200Data'Redirect :: Maybe SourceRedirectFlow
- getCustomersCustomerSourcesResponseBody200Data'RefundAddress :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Reusable :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'RoutingNumber :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'SepaDebit :: Maybe SourceTypeSepaDebit
- getCustomersCustomerSourcesResponseBody200Data'Sofort :: Maybe SourceTypeSofort
- getCustomersCustomerSourcesResponseBody200Data'SourceOrder :: Maybe SourceOrder
- getCustomersCustomerSourcesResponseBody200Data'StatementDescriptor :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Status :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'ThreeDSecure :: Maybe SourceTypeThreeDSecure
- getCustomersCustomerSourcesResponseBody200Data'TokenizationMethod :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Transactions :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Transactions'
- getCustomersCustomerSourcesResponseBody200Data'Type :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Type'
- getCustomersCustomerSourcesResponseBody200Data'UncapturedFunds :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Usage :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Used :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'UsedForPayment :: Maybe Bool
- getCustomersCustomerSourcesResponseBody200Data'Username :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Wechat :: Maybe SourceTypeWechat
- mkGetCustomersCustomerSourcesResponseBody200Data' :: GetCustomersCustomerSourcesResponseBody200Data'
- data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'
- = GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Other Value
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Typed Text
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumInstant
- | GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStandard
- data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'Owner' = GetCustomersCustomerSourcesResponseBody200Data'Owner' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
- getCustomersCustomerSourcesResponseBody200Data'Owner'Email :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Name :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Phone :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress :: Maybe GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedEmail :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedName :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedPhone :: Maybe Text
- mkGetCustomersCustomerSourcesResponseBody200Data'Owner' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'
- data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' = GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'City :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Country :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line1 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'Line2 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'PostalCode :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'Address'State :: Maybe Text
- mkGetCustomersCustomerSourcesResponseBody200Data'Owner'Address' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
- data GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' = GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' {
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'City :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Country :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line1 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'Line2 :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'PostalCode :: Maybe Text
- getCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'State :: Maybe Text
- mkGetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
- data GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants
- data GetCustomersCustomerSourcesResponseBody200Data'Transactions' = GetCustomersCustomerSourcesResponseBody200Data'Transactions' {}
- mkGetCustomersCustomerSourcesResponseBody200Data'Transactions' :: [BitcoinTransaction] -> Bool -> Text -> GetCustomersCustomerSourcesResponseBody200Data'Transactions'
- data GetCustomersCustomerSourcesResponseBody200Data'Type'
- = GetCustomersCustomerSourcesResponseBody200Data'Type'Other Value
- | GetCustomersCustomerSourcesResponseBody200Data'Type'Typed Text
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchCreditTransfer
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAcssDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAlipay
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAuBecsDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumBancontact
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCard
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCardPresent
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumEps
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumGiropay
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumIdeal
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumKlarna
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumMultibanco
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumP24
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSepaDebit
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSofort
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumThreeDSecure
- | GetCustomersCustomerSourcesResponseBody200Data'Type'EnumWechat
Documentation
getCustomersCustomerSources Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerSourcesParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetCustomersCustomerSourcesResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/sources
<p>List sources for a specified customer.</p>
data GetCustomersCustomerSourcesParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.parameters
in the specification.
GetCustomersCustomerSourcesParameters | |
|
mkGetCustomersCustomerSourcesParameters Source #
Create a new GetCustomersCustomerSourcesParameters
with all required fields.
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 object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema
in the specification.
GetCustomersCustomerSourcesResponseBody200 | |
|
mkGetCustomersCustomerSourcesResponseBody200 Source #
:: [GetCustomersCustomerSourcesResponseBody200Data'] | |
-> Bool | |
-> Text | |
-> GetCustomersCustomerSourcesResponseBody200 |
Create a new GetCustomersCustomerSourcesResponseBody200
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data' Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf
in the specification.
GetCustomersCustomerSourcesResponseBody200Data' | |
|
mkGetCustomersCustomerSourcesResponseBody200Data' :: GetCustomersCustomerSourcesResponseBody200Data' Source #
Create a new GetCustomersCustomerSourcesResponseBody200Data'
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source #
Defines the oneOf schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.account.anyOf
in the specification.
The ID of the account that the bank account is associated with.
GetCustomersCustomerSourcesResponseBody200Data'Account'Text Text | |
GetCustomersCustomerSourcesResponseBody200Data'Account'Account Account |
Instances
data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source #
Defines the enum schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.available_payout_methods.items
in the specification.
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumInstant | Represents the JSON value |
GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStandard | Represents the JSON value |
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source #
Defines the oneOf schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.customer.anyOf
in the specification.
The ID of the customer associated with this Alipay Account.
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Owner' Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.owner.anyOf
in the specification.
Information about the owner of the payment instrument that may be used or required by particular source types.
GetCustomersCustomerSourcesResponseBody200Data'Owner' | |
|
Instances
mkGetCustomersCustomerSourcesResponseBody200Data'Owner' :: GetCustomersCustomerSourcesResponseBody200Data'Owner' Source #
Create a new GetCustomersCustomerSourcesResponseBody200Data'Owner'
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.owner.anyOf.properties.address.anyOf
in the specification.
Owner\'s address.
GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' | |
|
Instances
mkGetCustomersCustomerSourcesResponseBody200Data'Owner'Address' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source #
Create a new GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.owner.anyOf.properties.verified_address.anyOf
in the specification.
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
mkGetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' :: GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source #
Create a new GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress'
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source #
Defines the oneOf schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.recipient.anyOf
in the specification.
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'Text Text | |
GetCustomersCustomerSourcesResponseBody200Data'Recipient'Recipient Recipient |
Instances
data GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source #
Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.transactions
in the specification.
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
mkGetCustomersCustomerSourcesResponseBody200Data'Transactions' Source #
Create a new GetCustomersCustomerSourcesResponseBody200Data'Transactions'
with all required fields.
data GetCustomersCustomerSourcesResponseBody200Data'Type' Source #
Defines the enum schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.type
in the specification.
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.