> 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/api-reference-btc.md).

# API Reference (BTC⚡️)

Ninjapay API's allow web applications and developers to interact with Ninjapay platform systems. This guide will walk you through the primary methods that are part of the Ninjapay lightning APIs.

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/MCgjpp2L8lPjvB08mLV9" %}
[Wallet Info](/ninjapay-api-docs/how-to/api-reference-btc/wallet-info.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/6WddQ2sIvyL0SiaVnW2U" %}
[Send Payment](/ninjapay-api-docs/how-to/api-reference-btc/send-payment.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/irRYK6oYMqPWyS0xluSC" %}
[Request Payment](/ninjapay-api-docs/how-to/api-reference-btc/request-payment.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/Zkxgq2F9p2438AqeNcvN" %}
[NinjaAuth](/ninjapay-api-docs/how-to/api-reference-btc/ninjaauth.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/Up8QsJ3l7wy5VcmpVYCY" %}
[Ninjapay URI Intent](/ninjapay-api-docs/how-to/api-reference-btc/ninjapay-uri-intent.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/qF9jK0GilMLEWeceb7LO" %}
[Check Payment](/ninjapay-api-docs/how-to/api-reference-btc/check-payment.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/FIM6FMUUg0KBIAJfJKVP" %}
[Transactions](/ninjapay-api-docs/how-to/api-reference-btc/transactions.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/AUHHusms1MotmyGc0oJT" %}
[Get Prices](/ninjapay-api-docs/how-to/api-reference-btc/get-prices.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/SBhhw2O5nCiKRbRTSf10" %}
[Decode Invoice](/ninjapay-api-docs/how-to/api-reference-btc/decode-invoice.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/isDlwT6QNeRAKswMqOT8" %}
[Error Handling](/ninjapay-api-docs/how-to/api-reference-btc/error-handling.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/yXJ0cJWkLSBbiJGrPPIm" %}
[Limits on API Requests](/ninjapay-api-docs/how-to/api-reference-btc/limits-on-api-requests.md)
{% endcontent-ref %}

{% content-ref url="/spaces/RIvNeAljKee4MyCDRI9m/pages/RSlhLCnR1Ly8oVHhPd3x" %}
[Withdraw Vouchers](/ninjapay-api-docs/how-to/api-reference-btc/withdraw-vouchers.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, and the optional `goal` query parameter:

```
GET https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/api-reference-btc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
