> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meum.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Customer Pay Link flow

> What happens when a customer opens a Pay Link.

## Flow

1. Customer opens `https://pay.meum.io/pay/{publicId}`
2. Customer views link details (amount, store, description)
3. Customer selects payment token and enters refund address
4. System calls `POST /v1/public/payment-links/{publicId}/checkout`
5. Invoice is created; customer redirected to `https://pay.meum.io/{invoiceId}?src=pl`
6. Standard checkout and payment flow continues

## Public API (checkout creation)

```bash theme={null}
curl -X POST https://api.meum.io/v1/public/payment-links/pay_demo_123/checkout \
  -H "Content-Type: application/json" \
  -d '{
    "origin_asset": "eth",
    "refund_to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "amount": "25.00"
  }'
```

The `amount` field is required for customer-amount links; omit for fixed-amount links.

## Related pages

* [Payment lifecycle](/payments/payment-lifecycle)
