Issue and manage refunds for Managed Payments transactions.
When refunds are processed, customers receive the full amount including original sales tax. Stripe retains and remits tax in certain jurisdictions.
Note: Customers can also request refunds via Link support. Stripe may issue refunds at their discretion within 60 days.
Summary
Functions
Creates a refund.
Lists refunds. Filter by payment_intent, charge, etc.
Returns a lazy Stream of all refunds, auto-paginating.
Retrieves a refund by ID.
Updates a refund's metadata.
Functions
@spec create( map(), keyword() ) :: StripeManaged.Client.response()
Creates a refund.
Params:
payment_intentorcharge- the payment to refund (one required)amount- partial refund amount in cents (omit for full refund)reason-"duplicate","fraudulent", or"requested_by_customer"metadata- key-value metadata
@spec list( map(), keyword() ) :: StripeManaged.Client.response()
Lists refunds. Filter by payment_intent, charge, etc.
@spec list_all( map(), keyword() ) :: Enumerable.t()
Returns a lazy Stream of all refunds, auto-paginating.
@spec retrieve( String.t(), keyword() ) :: StripeManaged.Client.response()
Retrieves a refund by ID.
@spec update(String.t(), map(), keyword()) :: StripeManaged.Client.response()
Updates a refund's metadata.