- LIGHTNING
- ON-CHAIN
- LNURL
- HUMAN
Short answer
How can I use my AI to make Bitcoin invoices?
Your AI uses OpenNode tools to generate BOLT11 Lightning invoices or standard on-chain addresses. You just tell your agent the amount and the type of payment you want, and it handles the rest. You'll get the specific payment details needed to collect funds.
Payment outcomes
What you'll receive
The AI handles the technical generation so you can focus on the customer.
LIGHTNING
Instant BOLT11 invoices
The AI generates a Lightning Network invoice for immediate settlement. You get a string or link to send to your customer.
ON-CHAIN
Standard Bitcoin addresses
Your agent creates a unique on-chain address for direct Bitcoin transfers. This works for users without Lightning wallets.
LNURL
LNURL-pay links
The AI sets up LNURL-pay endpoints for simplified mobile payments. This makes it easy for customers to pay via QR code.
HUMAN
Manual verification
The AI cannot confirm if a customer actually sent the funds. You must check your OpenNode account to verify the transaction landed.
The workflow
What your AI does when a payment request arrives.
The AI acts as the bridge between your text commands and the OpenNode API.
Define the payment
You tell your agent how much Bitcoin you want to collect. The AI parses these details to prepare the request.
create_chargeGenerate Lightning invoice
For fast, small payments, the AI builds a BOLT11 invoice. This provides a specific amount and destination for the sender.
create_chargeCreate on-chain address
If you need a standard Bitcoin address, the AI requests a new one from the provider. This works for traditional wallet transfers.
create_addressSet up LNURL
The AI can also generate LNURL-pay requests. This creates a more flexible way for users to interact with your payment request.
create_lnurl_pay
Try it
Copy these to start.
Use these prompts to trigger the OpenNode tools.
Starting points
Swap out the amounts and currency types to match what you actually need to charge.
OpenNode Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_wJLw8OVUYCT56VlfqAd0GktYrBFJhVlI0wOkQO7w/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — OpenNode capabilities are ready to use.
{
"mcpServers": {
"opennode-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_wJLw8OVUYCT56VlfqAd0GktYrBFJhVlI0wOkQO7w/mcp"
}
}
}Create a Lightning invoice for 5000 sats.
Generate a Bitcoin on-chain address for 0.001 BTC.
Make an LNURL-pay link for a 10 dollar payment.
I need a BOLT11 invoice for 25000 sats to send to a client.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect OpenNode once, then ask.
One connection links your OpenNode account to your AI client. Your credentials stay encrypted and secure.
Connect OpenNode to your AIFAQ
How this task behaves
- 01
Can my AI confirm when a payment is received?
No. The tools only create the invoices and addresses. You need to check your OpenNode dashboard to see if the funds arrived.
- 02
Can the AI change my OpenNode account settings?
No. The AI only has permission to create charges, addresses, and LNURL links. It cannot touch your account configuration or security settings.
- 03
What is the difference between create_charge and create_address?
create_charge generates a Lightning BOLT11 invoice, while create_address generates a standard on-chain Bitcoin address.
- 04
Can I request a specific amount in USD?
Yes. You can tell your agent the amount in USD, and it will use the tools to generate the appropriate Bitcoin request.
- 05
Does the AI handle the actual Bitcoin transfer?
No. The AI only generates the request. The customer uses their own wallet to send the Bitcoin to the address or invoice provided.
More questions about OpenNode? The Connector page answers them. See everything the OpenNode Connector can do
Connect OpenNode to Claude, Cursor, ChatGPT & more
