Other payment processors still redirect customers to browser forms. With Lightning, the entire payment flow stays in the conversation. One API call, one invoice string, done.
Every payment method was built for humans with browsers
Payment forms need a browser, JavaScript rendering, and 3D Secure popups. Agents don't have browsers.
Handling card numbers requires PCI DSS certification. No one wants an AI touching raw card data.
CAPTCHAs, SMS codes, biometric checks. Every step assumes a human is present.
Who's liable when an AI initiates a payment that gets disputed? The legal framework doesn't exist.
Every traditional payment method assumes interactive browser sessions. Lightning doesn't.
One API call. One string. Done.
Create an order with one POST request. Get back a bolt11 invoice string. No HTML, no redirects, no browser.
Lightning payments confirm in seconds. Agent can verify payment and proceed immediately.
No card numbers, no CVVs, no personal data. Invoices are safe for agents to handle and share.
No chargebacks, no disputes. Once confirmed, the transaction is irreversible. Perfect for autonomous operations.
Your AI agent calls the SatsRail API (or uses the MCP tool) to create an order with an amount and description. SatsRail returns a Lightning invoice string.
POST /api/v1/orders
{ "order": { "total_amount_cents": 2500 },
"generate_invoice": true }
The agent presents the bolt11 string (or a QR code) to the customer. The customer pays with any Lightning wallet — Phoenix, Muun, Breez, Cash App, or dozens more.
Any Lightning wallet works
The agent calls the status endpoint (or receives a webhook). Payment confirmed in seconds. The agent proceeds with the next action.
GET /api/v1/invoices/{id}/status
→ { "status": "paid" }
Install the SatsRail MCP server and your AI agent gets payment tools natively. Works with Claude, Cursor, Windsurf, and any MCP-compatible tool.
npx satsrail-mcp
Any agent that can make HTTP requests can use SatsRail directly. The entire flow is JSON in, JSON out. No MCP required.
curl -X POST /api/v1/orders \
-H "Authorization: Bearer sk_..." \
-d '{"generate_invoice": true}'
Agents that sell access to services and collect payment in the conversation. Charge per API call, per session, or per task — no checkout page needed.
Agents on Slack, Discord, or Telegram that generate invoices, send them in-chat, and confirm payment — all without leaving the conversation.
Agents that create fresh invoices when payment is due — weekly reports, milestone billing, or on-demand charges. Each invoice is a one-time Lightning payment.
Build agent-powered marketplaces where AI handles the checkout flow across multiple merchants simultaneously.
AI customer service agents that can resolve billing issues and collect payments in the same conversation.
Charge fractions of a dollar per request. Pay-per-message chatbots, metered compute, premium content — use cases impossible with card minimums.
User "Charge me $25 for the monthly subscription."
Agent calls create_order(amount_cents: 2500, generate_invoice: true)
Agent "Here's your Lightning invoice. Scan this QR code or copy the payment string:"
lnbc250u1pjk7...qxmetu
User "Paid!"
Agent calls check_invoice_status(invoice_id: "...")
Agent "Payment confirmed! Your subscription is now active."
| Capability | Credit Cards | Bank Transfers | Lightning (SatsRail) |
|---|---|---|---|
| Agent can initiate payment | |||
| No browser required | |||
| Instant confirmation | |||
| No sensitive data | |||
| Chargeback-proof | |||
| Global, permissionless | |||
| Micropayments ($0.01+) |
Get your API key and let your agents start accepting Bitcoin in minutes.
No credit card required • Test mode available