stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCustomersCustomerSources

Description

Contains the different functions to run the operation getCustomersCustomerSources

Synopsis

Documentation

getCustomersCustomerSources Source #

Arguments

:: forall m. MonadHTTP m 
=> GetCustomersCustomerSourcesParameters

Contains all available parameters of this operation (query and path parameters)

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

Constructors

GetCustomersCustomerSourcesParameters 

Fields

data GetCustomersCustomerSourcesResponseBody200 Source #

Defines the object schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetCustomersCustomerSourcesResponseBody200 

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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data' 

Fields

Instances

Instances details
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 #

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.

Instances

Instances details
Eq GetCustomersCustomerSourcesResponseBody200Data'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show 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

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.

Constructors

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 "instant"

GetCustomersCustomerSourcesResponseBody200Data'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
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 #

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

Instances details
Eq GetCustomersCustomerSourcesResponseBody200Data'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show 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

data GetCustomersCustomerSourcesResponseBody200Data'Object' Source #

Defines the enum schema located at paths./v1/customers/{customer}/sources.GET.responses.200.content.application/json.schema.properties.data.items.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Object'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetCustomersCustomerSourcesResponseBody200Data'Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetCustomersCustomerSourcesResponseBody200Data'Object'EnumAlipayAccount

Represents the JSON value "alipay_account"

Instances

Instances details
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 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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner' 

Fields

Instances

Instances details
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 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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner'Address' 

Fields

Instances

Instances details
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 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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Owner'VerifiedAddress' 

Fields

Instances

Instances details
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 #

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.

Instances

Instances details
Eq GetCustomersCustomerSourcesResponseBody200Data'Recipient'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetCustomersCustomerSources

Show 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

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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Transactions' 

Fields

Instances

Instances details
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'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.

Constructors

GetCustomersCustomerSourcesResponseBody200Data'Type'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetCustomersCustomerSourcesResponseBody200Data'Type'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchCreditTransfer

Represents the JSON value "ach_credit_transfer"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAchDebit

Represents the JSON value "ach_debit"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAcssDebit

Represents the JSON value "acss_debit"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAlipay

Represents the JSON value "alipay"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumBancontact

Represents the JSON value "bancontact"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCard

Represents the JSON value "card"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumCardPresent

Represents the JSON value "card_present"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumEps

Represents the JSON value "eps"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumGiropay

Represents the JSON value "giropay"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumIdeal

Represents the JSON value "ideal"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumKlarna

Represents the JSON value "klarna"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumMultibanco

Represents the JSON value "multibanco"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumP24

Represents the JSON value "p24"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSepaDebit

Represents the JSON value "sepa_debit"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumSofort

Represents the JSON value "sofort"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumThreeDSecure

Represents the JSON value "three_d_secure"

GetCustomersCustomerSourcesResponseBody200Data'Type'EnumWechat

Represents the JSON value "wechat"

Instances

Instances details
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