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

Contains the types generated from the schema Refund

  • 8 types
  • 1 value
datadata Refund
#

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

`Refund` objects allow you to refund a charge that has previously been created but not yet refunded. Funds will be refunded to the credit or debit card that was originally charged.

Related guide: Refunds.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
  • Eq RefundDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Refund
  • Show RefundDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Refund
  • FromJSON RefundDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Refund
  • ToJSON RefundDefined in stripeapi-3.0.0.0 · StripeAPI.Types.Refund

Defines the oneOf schema located at components.schemas.refund.properties.balance_transaction.anyOf in the specification.

Balance transaction that describes the impact on your account balance.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.refund.properties.charge.anyOf in the specification.

ID of the charge that was refunded.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.refund.properties.failure_balance_transaction.anyOf in the specification.

If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.refund.properties.payment_intent.anyOf in the specification.

ID of the PaymentIntent that was refunded.

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at components.schemas.refund.properties.reason in the specification.

Reason for the refund, either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.refund.properties.source_transfer_reversal.anyOf in the specification.

The transfer reversal that is associated with the refund. Only present if the charge came from another Stripe account. See the Connect documentation for details.

Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at components.schemas.refund.properties.transfer_reversal.anyOf in the specification.

If the accompanying transfer was reversed, the transfer reversal object. Only applicable if the charge was created using the destination parameter.

Instances4Eq, Show, FromJSON, ToJSON