# `PolarExpress.Services.RefundsService`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/services/refunds_service.ex#L2)

Refunds

Refunds API operations.

# `create_refund`

```elixir
@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.

# `list_refunds`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
