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

Checkout-links

CheckoutLinks API operations.

# `create_checkout_link`

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

Create Checkout Link

Create a checkout link.

**Scopes**: `checkout_links:write`

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

# `delete_checkout_link`

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

Delete Checkout Link

Delete a checkout link.

**Scopes**: `checkout_links:write`

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

# `get_checkout_link`

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

Get Checkout Link

Get a checkout link by ID.

**Scopes**: `checkout_links:read` `checkout_links:write`

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

# `list_checkout_links`

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

List Checkout Links

List checkout links.

**Scopes**: `checkout_links:read` `checkout_links:write`

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

# `update_checkout_link`

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

Update Checkout Link

Update a checkout link.

**Scopes**: `checkout_links:write`

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

---

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