stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Refund

Description

Contains the types generated from the schema Refund

Synopsis

Documentation

data Refund Source #

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

Refund 

Fields

Instances

Instances details
Eq Refund Source # 
Instance details

Defined in StripeAPI.Types.Refund

Methods

(==) :: Refund -> Refund -> Bool #

(/=) :: Refund -> Refund -> Bool #

Show Refund Source # 
Instance details

Defined in StripeAPI.Types.Refund

ToJSON Refund Source # 
Instance details

Defined in StripeAPI.Types.Refund

FromJSON Refund Source # 
Instance details

Defined in StripeAPI.Types.Refund

mkRefund Source #

Create a new Refund with all required fields.

data RefundBalanceTransaction'Variants Source #

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.

data RefundFailureBalanceTransaction'Variants Source #

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.

data RefundSourceTransferReversal'Variants Source #

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.

data RefundTransferReversal'Variants Source #

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.