Refund payments made for one-time products or subscriptions.
Summary
Functions
Request a refund for a one-time or subscription payment, either in full or partial
Functions
@spec refund(String.t(), map(), keyword()) :: {:ok, integer()} | {:error, Paddle.Error.t()}
Request a refund for a one-time or subscription payment, either in full or partial
Note that refunds are not immediate and will be reviewed and approved by our buyer support team.
Examples
Paddle.ProductPayment.refund(10)
{:ok, 12345}