> For the complete documentation index, see [llms.txt](https://ninjapay.gitbook.io/ninjapay-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/how-plugins-work.md).

# How Plugins Work

## How Ninjapay Plugins Work <a href="#how-cash-app-pay-works" id="how-cash-app-pay-works"></a>

Ninjapay currently supports four main use cases:

* Mobile-Ecommerce
* Web-Ecommerce
* POS (Point-of-Sale)
* Paywalls<br>

<figure><img src="/files/FV7Bn7EjGpBvFrWM7p8u" alt=""><figcaption></figcaption></figure>

## Mobile-Ecommerce <a href="#mobile-ecommerce" id="mobile-ecommerce"></a>

The Customer visits a mobile ecommerce app(or site) and uses their Cash App to pay for goods and services.\ <br>

<figure><img src="/files/8uM6ItA6mPA2e4eok7T3" alt=""><figcaption></figcaption></figure>

## Web-Ecommerce <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="/files/3ReCZIrMcfMshbuzF8UG" alt=""><figcaption></figcaption></figure>

## POS <a href="#pos" id="pos"></a>

Customer goes to a merchant and uses a Point-of-Sale (POS) device, for example, like the Square POS device.\ <br>

<figure><img src="/files/h4B5eC7U69vQCFbaL9O3" alt=""><figcaption></figcaption></figure>

## Paywall <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="/files/3ReCZIrMcfMshbuzF8UG" alt=""><figcaption></figcaption></figure>

## Invoicing <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="/files/3ReCZIrMcfMshbuzF8UG" alt=""><figcaption></figcaption></figure>

## WhatsApp/Telegram Bots <a href="#web-ecommerce" id="web-ecommerce"></a>

The Customer visits a web-based ecommerce site and pays for items by scanning the QR code generated at checkout using Cash App on their phone.<br>

<figure><img src="/files/3ReCZIrMcfMshbuzF8UG" alt=""><figcaption></figcaption></figure>

To learn more about how Ninjapay plugin works on different devices, see the following:

* [Cash App Pay on Mobile devices](https://developers.cash.app/docs/api/product-documentation/cash-app-pay-on-mobile-devices)
* [Cash App Pay on Desktop and POS devices](https://developers.cash.app/docs/api/product-documentation/cash-app-pay-on-desktop-and-pos-devices)
