# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/how-plugins-work.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
