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

Payments

Payments API operations.

# `get_payment`

```elixir
@spec get_payment(PolarExpress.Client.t(), String.t(), map(), keyword()) ::
  {:ok, PolarExpress.Schemas.Payment.t()} | {:error, PolarExpress.Error.t()}
```

Get Payment

Get a payment by ID.

**Scopes**: `payments:read`

See `PolarExpress.Params.PaymentsGetPaymentParams` for parameter details.

# `list_payments`

```elixir
@spec list_payments(PolarExpress.Client.t(), map(), keyword()) ::
  {:ok, PolarExpress.ListObject.t()} | {:error, PolarExpress.Error.t()}
```

List Payments

List payments.

**Scopes**: `payments:read`

See `PolarExpress.Params.PaymentsListPaymentsParams` for parameter details.

---

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