# Welcome to the Flash Documentation!

Flash is a Bitcoin Lightning payments gateway that ensures every payment is processed in a **self-custodial** and **peer-to-peer (P2P)** manner. Here's how it works: when you receive a payment through Flash, the funds are sent **directly to your wallet**, maintaining your full control and ownership.

To simplify operations, Flash's fees are handled automatically. Once a payment is completed, your wallet will initiate a small transaction to pay Flash its fee. This happens transparently in the background, ensuring you can focus entirely on growing your business without worrying about manual processes or hidden charges.

Our platform offers tools like **Flashes**, **subscriptions**, and **public APIs** to power your monetization needs. This documentation will guide you through integrating these features into your projects with ease, helping you create seamless and secure payment experiences while keeping full custody of your funds.

### Jump right in

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Flashes</strong></td><td>Flexible, secure payment tools</td><td><a href="https://content.gitbook.com/content/Tkqkw9wsKzfEEHWM3ZlI/blobs/fl96dLNKFS93RXvheHkh/1.png">1.png</a></td><td></td><td><a href="products/checkouts">checkouts</a></td></tr><tr><td><strong>Subscriptions</strong></td><td>Manage recurring payments easily</td><td><a href="https://content.gitbook.com/content/Tkqkw9wsKzfEEHWM3ZlI/blobs/vedXKVzaGtW9VEJ9WdBS/2.png">2.png</a></td><td></td><td><a href="products/editor">editor</a></td></tr><tr><td><strong>Integrations</strong></td><td>Seamless integration made simple</td><td><a href="https://content.gitbook.com/content/Tkqkw9wsKzfEEHWM3ZlI/blobs/fl96dLNKFS93RXvheHkh/1.png">1.png</a></td><td></td><td><a href="integrations">integrations</a></td></tr></tbody></table>


---

# 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://docs.paywithflash.com/readme.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.
