S76 Stripe v0.1.4 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 Source
t() :: %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

Link to this function create(params) View Source
create(map()) :: Stripe.API.response(t())

See https://stripe.com/docs/api/curl#create_refund