S76 Stripe v0.1.6 Stripe.Refund View Source
The Stripe Refund object.
See https://stripe.com/docs/api/curl#refunds for further details.
Link to this section Summary
Functions
See https://stripe.com/docs/api/curl#create_refund
Link to this section Types
Link to this type
t()
View Sourcet() :: %Stripe.Refund{
amount: Decimal.t(),
balance_transaction: Stripe.reference(Stripe.BalanceTransaction.t()),
charge: Stripe.reference(Stripe.Charge.t()),
created: DateTime.t(),
currency: Stripe.currency_code(),
failure_balance_transaction: Stripe.reference(Stripe.BalanceTransaction.t()),
failure_reason:
nil | :lost_or_stolen_card | :expired_or_canceled_card | :unknown,
id: nil | String.t(),
metadata: Stripe.metadata(),
reason: nil | :duplicate | :fraudulent | :requested_by_customer,
receipt_number: nil | String.t(),
status: :pending | :succeeded | :failed | :canceled
}
Link to this section Functions
See https://stripe.com/docs/api/curl#create_refund