HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Types.Customer

Contains the types generated from the schema Customer

  • 26 types
  • 13 values
datadata Customer
#

Defines the object schema located at components.schemas.customer in the specification.

This object represents a customer of your business. It lets you create recurring charges and track payments that belong to the same customer.

Related guide: Save a card during payment.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
  • Eq CustomerDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Customer
  • Show CustomerDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Customer
  • FromJSON CustomerDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Customer
  • ToJSON CustomerDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Customer

Defines the object schema located at components.schemas.customer.properties.address.anyOf in the specification.

The customer\'s address.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.cash_balance.anyOf in the specification.

The current funds being held by Stripe on behalf of the customer. These funds can be applied towards payment intents with source \"cash_balance\".The settings[reconciliation_mode] field describes whether these funds are applied to such payment intents manually or automatically.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.cash_balance.anyOf.properties.object in the specification.

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.default_source.anyOf in the specification.

ID of the default payment source for the customer.

If you are using payment methods created via the PaymentMethods API, see the invoice_settings.default_payment_method field instead.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.discount.anyOf in the specification.

Describes the current discount active on the customer, if there is one.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.discount.anyOf.properties.customer.anyOf in the specification.

The ID of the customer associated with this discount.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.discount.anyOf.properties.object in the specification.

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

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.discount.anyOf.properties.promotion_code.anyOf in the specification.

The promotion code applied to create this discount.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.shipping.anyOf in the specification.

Mailing and shipping address for the customer. Appears on invoices emailed to this customer.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata CustomerSources'
#

Defines the object schema located at components.schemas.customer.properties.sources in the specification.

The customer's payment sources, if any.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.account.anyOf in the specification.

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

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.available_payout_methods.items in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.customer.anyOf in the specification.

The ID of the customer associated with this Alipay Account.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.sources.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

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.sources.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

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.sources.properties.data.items.anyOf.properties.owner.anyOf.properties.address.anyOf in the specification.

Owner\'s address.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.sources.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

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.sources.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.

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.sources.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

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.sources.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

Instances4Eq, Show, FromJSON, ToJSON

Defines the object schema located at components.schemas.customer.properties.subscriptions in the specification.

The customer's current subscriptions, if any.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.customer.properties.tax_exempt in the specification.

Describes the customer's tax exemption status. One of `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and receipt PDFs include the text **"Reverse charge"**.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
datadata CustomerTaxIds'
#

Defines the object schema located at components.schemas.customer.properties.tax_ids in the specification.

The customer's tax IDs.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.customer.properties.test_clock.anyOf in the specification.

ID of the test clock this customer belongs to.

Instances4Eq, Show, FromJSON, ToJSON