# How do payment links work?
Source: https://docs.lomi.africa/build/accept/payment-links

Create reusable or one-time payment URLs that customers can open from email, chat, invoices, QR codes, and social channels.

***

title: 'How do payment links work?'
description: 'Create reusable or one-time payment URLs that customers can open from email, chat, invoices, QR codes, and social channels.'
------------------------------------------------------------------------------------------------------------------------------------------

Payment links let you accept payments without building a checkout flow. Create a link, share it with a customer, and reconcile the completed payment from the dashboard or webhook.

<DocsScreenshot name="build/payment-links" alt="Payment links list in lomi. dashboard" />

## When to use payment links

Use payment links for:

* Invoices and service payments.
* Event tickets, deposits, donations, or small catalogs.
* Sales through WhatsApp, email, SMS, or social media.
* A fast no-code payment flow before building a full app checkout.

Use [hosted checkout](/build/accept/checkout) instead when every payment should be created from your backend order flow.

## Link types

| Type         | Best for                                | Notes                                  |
| ------------ | --------------------------------------- | -------------------------------------- |
| Product link | Selling a known product or subscription | Amount comes from the product or price |
| Instant link | Collecting a custom amount              | Amount is set directly on the link     |

## Create a payment link

```bash
curl -sS -X POST "https://sandbox.api.lomi.africa/payment-links" \
  -H "X-API-Key: $LOMI_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "link_type": "instant",
    "title": "Consulting deposit",
    "currency_code": "XOF",
    "amount": 50000,
    "success_url": "https://example.com/thanks"
  }'
```

Share the returned URL with the customer.

From the dashboard, Charge → Send to customer does the same thing for one amount. Enter a name and an email. lomi. saves the customer and emails the link. The customer opens the page and chooses an enabled payment method. Nothing is taken until they pay. A card deposit that must be blocked and released later is a [card hold](/build/accept/card-holds), not this link.

## What should I verify?

* The link opens in the expected environment: test or live.
* The amount, currency, title, and description are clear.
* The success URL sends the customer somewhere useful.
* Your webhook or dashboard process catches the completed transaction.

## Related API

* [Create payment link](/api/payment-links/PaymentLinksController_create)
* [List payment links](/api/payment-links/PaymentLinksController_findAll)
* [Checkout behavior](/build/accept/checkout-behavior)
