lnbits-legend/lnbits/extensions/paywall
blackcoffeexbt f44bd55b4b
Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server

* Updated api docs example CURL calls for copilot extension

* Updated api docs example CURL calls for jukebox extension

* Updated api docs example CURL calls for livestream extension

* Updated api docs example CURL calls for lnaddress extension

* Updated api docs example CURL calls for lnurldevices extension

* Updated api docs example CURL calls for lnurlp extension

* Updated api docs example CURL calls for offlineshop extension

* Updated api docs example CURL calls for paywall extension

* Updated api docs example CURL calls for satsdice extension

* Updated api docs example CURL calls for splitpayments extension

* Fix typo double slash in satsdice extension api docs

* Updated api docs example CURL calls for tpos extension

* Updated api docs example CURL calls for watchonly extension
2022-07-05 17:20:42 +02:00
..
templates/paywall Corrected example CURL requests in multiple extension API docs (#689) 2022-07-05 17:20:42 +02:00
__init__.py black 2021-11-12 04:14:55 +00:00
config.json paywall initial 2021-10-26 22:52:11 +01:00
crud.py black 2021-11-12 04:14:55 +00:00
migrations.py general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
models.py black 2021-11-12 04:14:55 +00:00
README.md paywall initial 2021-10-26 22:52:11 +01:00
views.py black 2021-11-12 04:14:55 +00:00
views_api.py black formating 2022-06-01 14:53:05 +02:00

Paywall

Hide content behind a paywall, a user has to pay some amount to access your hidden content

A Paywall is a way of restricting to content via a purchase or paid subscription. For example to read a determined blog post, or to continue reading further, to access a downloads area, etc...

Usage

  1. Create a paywall by clicking "NEW PAYWALL"
    create new paywall
  2. Fill the options for your PAYWALL
    • select the wallet
    • set the link that will be unlocked after a successful payment
    • give your paywall a Title
    • an optional small description
    • and set an amount a user must pay to access the hidden content. Note this is the minimum amount, a user can over pay if they wish
    • if Remember payments is checked, a returning paying user won't have to pay again for the same content.
      paywall config
  3. You can then use your paywall link to secure your awesome content
    paywall link
  4. When a user wants to access your hidden content, he can use the minimum amount or increase and click the "Check icon" to generate an invoice, user will then be redirected to the content page
    user paywall view