Refunds
Refunds API operations.
Summary
Functions
@spec create_refund(PolarExpress.Client.t(), map(), keyword()) :: {:ok, PolarExpress.Schemas.Refund.t()} | {:error, PolarExpress.Error.t()}
Create Refund
Create a refund.
Scopes: refunds:write
See PolarExpress.Params.RefundsCreateRefundParams for parameter details.
@spec list_refunds(PolarExpress.Client.t(), map(), keyword()) :: {:ok, PolarExpress.ListObject.t()} | {:error, PolarExpress.Error.t()}
List Refunds
List refunds.
Scopes: refunds:read refunds:write
See PolarExpress.Params.RefundsListRefundsParams for parameter details.