# Payment Links

Shareable pages that collect a payment. Share
`https://pay.dimepay.app/link/{token}` (sandbox:
`https://pay.sandbox.dimepay.app/link/{token}`), where `token` is the
payment link's `token`.

 - [GET /payment-links](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/listpaymentlinks.md): Returns the merchant's payment links, newest first, with the same filters as the merchant portal. Cursor-paginated.
 - [POST /payment-links](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/createpaymentlink.md)
 - [GET /payment-links/{token}](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/retrievepaymentlink.md)
 - [PUT /payment-links/{token}](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/updatepaymentlink.md): Replaces the link with the body sent — the same body and rules as create. Fees, tax and shipping are reset to 0 when their `enable_*` flag is false or omitted, as in the merchant portal.
 - [DELETE /payment-links/{token}](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/deletepaymentlink.md): The link stops accepting payments. Its past transactions are kept.
 - [GET /payment-links/{token}/transactions](https://docs.dimepay.net/apis/v2/dime-v2/payment-links/listpaymentlinktransactions.md): Transactions paid through this link, newest first. Accepts the same filters and pagination as `GET /transactions`.
