# Overview

## Overview
A payment link is a Flute-hosted, shareable checkout page.
Payment links are the best fit when a merchant wants to collect a payment without building or embedding a checkout flow.
They work without a card-present terminal or a custom checkout integration.
This is in contrast with payment sessions.
Those are used inside Flute Elements or Flute Checkout, where the merchant has already built an integrated checkout experience.
Consider the following cases:
* A merchant taking a phone or mail order who has no POS terminal handy and no online checkout page can text or email a link and let the customer pay on their own.
* A business invoicing a client for a one-time amount can generate a `SingleUse` link tied to that specific order or reference identifier.
That link naturally closes out after that one payment.
* A business can want a standing, reusable payment page, such as a general "pay us" link for a storefront, a fundraiser, or recurring informal payments from the same or different customers.
That case can use a `MultiUse` link instead, because it keeps accepting payments rather than deactivating it after the first one.

A merchant creates a link by specifying:
* a transaction base amount (in USD).
The transaction base amount can be omitted, which allows the customer to enter an amount at checkout.
* a payment method, such as a card, ACH, or both.
* a processor.
The processor can be omitted, which then uses the merchant's default processor.

A linkType specifies:
* `SingleUse`. The payment link is intended for one customer and one payment.
* `MultiUse`. The payment link is intended for more than one payment and may be used by more than one customer.

A link can optionally be tied to a specific customer.
It carries its own reference identifier, name, and merchant-facing description for internal use.
A payment link moves through an effective status of the following.
| Status | Description |
|  --- | --- |
| Active | The link is open and can accept a payment. |
| Completed | A single use link has received its one payment. |
| Expired | The link has expired. |
| Inactive | The link was deactivated and cannot accept a payment. |


Flute tracks the count and the total amount of the successful payments it has received.
The following endpoints are available to:
* Create a payment link (`POST /v2/payment-links`)
* List a payment link (`GET /v2/payment-links`)
* Retrieve a specified payment link (`GET /v2/payment-links/{{paymentLinkId}}`)
* Update a specified payment link (`PATCH /v2/payment-links/{{paymentLinkId}}`)
* Delete a specified payment link (`DELETE /v2/payment-links/{{paymentLinkId}}`)
* Share an active link with a customer by SMS or email (`POST /v2/payment-links/{{paymentLinkId}}/share`)

Version: V2 Beta
Security: Bearer
