# Checkout links

November 28, 2026 · API

`POST /v1/users/:id/links` now accepts `purpose: "checkout"` with a required `cartId`, a cart you built for that person. The url is on `pay.layout.link`. The person sees the cart and pays on Layout's page, which asks for their code when one is due and confirms the order. You do not call confirm. The return URL gets `status=confirmed`, `pending` or `canceled`, and `GET /v1/carts/:id` reads `order.confirmedVia: "checkout"`. See [Checkout links](https://docs.layout.link/checkout-links).

`card.added` also fires when the person adds a card on the checkout page, and the usual order events follow. Checkout links are free for developers, and a sandbox key mints a sandbox link. [Taking payment](https://docs.layout.link/payments) compares them with card links and Card Handoff.

## Breaking changes

None.
