> For the complete documentation index, see [llms.txt](https://guides.getalby.com/user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.getalby.com/user-guide/alby-hub/faq/what-are-just-in-time-channels.md).

# What are Just-In-Time channels?

Just-In-Time (JIT) lightning channels are on-demand payment channels opened by a [Lightning Service Provider](/user-guide/alby-hub/bitcoin-wallet-glossary.md#lightning-service-provider) (LSP). They allow you to receive bitcoin over the lightning network instantly, even if you do not have any existing receiving capacity.

The LSP connects your Alby Hub to the Lightning Network and provides the liquidity needed to receive payments. For this service, the LSP charges a small fee, which is displayed on the **Receive** screen in Alby Hub whenever a JIT channel is required. The fee is paid by the sender and deducted from the incoming payment.

This typically happens when an incoming payment exceeds your current receiving capacity. In that case, the LSP automatically opens a channel on demand, allowing the payment to be received successfully.&#x20;

Just-In-Time channels are enabled by default for Alby Hubs with the embedded lightning node. Currently this feature is not available for externally connected nodes and payment backends. You can always disable Just-In-Time channels in the settings of your Hub.

Learn more about receiving capacity and the different ways you can increase it here.

{% content-ref url="/pages/tNn4FDvntA66x14CxLW7" %}
[Increase receiving capacity](/user-guide/alby-hub/node/increase-receiving-capacity.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://guides.getalby.com/user-guide/alby-hub/faq/what-are-just-in-time-channels.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.
