# Payment links and invoices (/docs/guides/payment-links-invoices)

## Payment links [#payment-links]

A payment link is a reusable hosted page, for a fixed or customer-entered amount. Create it with `POST /payment-links` (`payment-links:manage`) and share its URL anywhere: WhatsApp, Instagram, email, a QR code. Each payment fires `transaction.success`.

- `GET /payment-links/{id}` shows the link with its payments and progress.
- `PATCH /payment-links/{id}` changes an active link; `POST /payment-links/{id}/disable` stops it.
- `POST /payment-links/{id}/offline-payments` records money you received outside Creddot, so totals stay right.

Use a [checkout session](/docs/guides/accept-payments) instead when each payment belongs to one order in your system.

## Invoices [#invoices]

1. Create a draft with `POST /invoices` (`invoices:manage`): customer, line items, due date.
2. Send it with `POST /invoices/{id}/send`. Creddot emails the customer and creates the link they pay with.
3. When they pay, you get `transaction.success` and the invoice shows as paid in `GET /invoices/{id}` and the dashboard.

Customers you invoice can be managed with the `/customers` endpoints (`customers:manage`).
