stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCustomersCustomerSources

Description

Contains the different functions to run the operation getCustomersCustomerSources

Synopsis

Documentation

getCustomersCustomerSources Source #

Arguments

:: (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>

data GetCustomersCustomerSourcesRequestBody Source #

Defines the data type for the schema getCustomersCustomerSourcesRequestBody

data GetCustomersCustomerSourcesResponseBody200 Source #

Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200

Constructors

GetCustomersCustomerSourcesResponseBody200 

Fields

data GetCustomersCustomerSourcesResponseBody200Data' Source #

Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'

Constructors

GetCustomersCustomerSourcesResponseBody200Data' 

Fields

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

data GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source #

Define the one-of schema GetCustomersCustomerSourcesResponseBody200Data'Account'

The ID of the account that the bank account is associated with.

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Generic GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Account'Variants = D1 (MetaData "GetCustomersCustomerSourcesResponseBody200Data'Account'Variants" "StripeAPI.Operations.GetCustomersCustomerSources" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Account'Account" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Account)) :+: C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Account'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

data GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source #

Defines the enum schema GetCustomersCustomerSourcesResponseBody200Data'Available_payout_methods'

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

data GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source #

Define the one-of schema GetCustomersCustomerSourcesResponseBody200Data'Customer'

The ID of the customer associated with this Alipay Account.

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Generic GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants = D1 (MetaData "GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants" "StripeAPI.Operations.GetCustomersCustomerSources" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Customer'Customer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Customer)) :+: (C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Customer'DeletedCustomer" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DeletedCustomer)) :+: C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Customer'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))))

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
Eq GetCustomersCustomerSourcesResponseBody200Data'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Metadata' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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
Eq GetCustomersCustomerSourcesResponseBody200Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner' 

Fields

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Owner' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

data GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source #

Defines the data type for the schema GetCustomersCustomerSourcesResponseBody200Data'Owner'Address'

Owner\'s address.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' 

Fields

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' 

Fields

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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.

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Generic GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

type Rep GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants = D1 (MetaData "GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants" "StripeAPI.Operations.GetCustomersCustomerSources" "stripeapi-0.1.0.0-A3hJyYFbMZN6w4qjBpK6b6" False) (C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Recipient'Recipient" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Recipient)) :+: C1 (MetaCons "GetCustomersCustomerSourcesResponseBody200Data'Recipient'String" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Transactions' 

Fields

Instances
Eq GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Transactions' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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
Eq GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Transactions'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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
Eq GetCustomersCustomerSourcesResponseBody200Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Data'Type' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

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`.

Instances
Eq GetCustomersCustomerSourcesResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show GetCustomersCustomerSourcesResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

ToJSON GetCustomersCustomerSourcesResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

FromJSON GetCustomersCustomerSourcesResponseBody200Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources