Overview
Medusa Wallet provides a seamless experience for sending and receiving Lightning Network payments. Whether you’re paying a BOLT11 invoice, sending to an LNURL, or receiving payments through your personal paylink, Medusa makes Lightning transactions fast and intuitive.Lightning Network enables near-instant Bitcoin transactions with minimal fees, typically under 1 satoshi.
Payment Types
Medusa supports multiple Lightning payment standards:BOLT11 Invoices
Standard Lightning invoices starting with ‘lnbc’ for one-time payments
LNURL-Pay
Reusable payment links that allow flexible amounts and metadata
Lightning Address
Email-like addresses ([email protected]) for easy receiving
Paylinks
Your personal payment link for receiving from anyone
Receiving Payments
Creating an Invoice
Generate a Lightning invoice to receive a specific amount:- Select the wallet you want to receive funds into
- Tap the “Receive” button
- Enter the amount you want to receive (in sats, BTC, or fiat)
- Optionally add a description/memo for the payment
- Share the generated QR code or copy the invoice string
Invoices include the payment amount, destination, and optional metadata like descriptions.
Using Your Paylink
Every Medusa account comes with a personal LNURL paylink:- Reusable: Share once, receive multiple payments
- Flexible Amounts: Payers can choose amounts within your configured range
- Comments Supported: Receive messages with payments (up to configured character limit)
- Always Available: Your paylink never expires
- Minimum: Configurable (default based on network minimums)
- Maximum: Configurable (default limits apply)
- Comment Length: Customizable character limit for payment messages
Sharing Your Paylink
- Navigate to your wallet’s receive screen
- Select “Paylink” or “LNURL” option
- Share the QR code or copy the LNURL string
- Recipients can scan or paste to send you payments
Real-time Payment Notifications
Medusa uses WebSocket connections to provide instant payment notifications:- Payments appear immediately upon confirmation
- Balance updates in real-time
- Transaction list refreshes automatically
- Visual and haptic feedback for successful receipts
Sending Payments
Scanning QR Codes
The fastest way to pay is by scanning:- Tap the “Send” or “Scan” button
- Point your camera at the payment QR code
- Review the payment details (amount, destination, memo)
- Confirm the payment
- Payment is sent instantly
Medusa’s QR scanner automatically detects BOLT11 invoices, LNURL-Pay links, Lightning addresses, and Bitcoin addresses.
Pasting Payment Strings
If you have a copied invoice or payment link:- Tap the “Send” button
- Paste the invoice string or LNURL
- Review the decoded payment information
- Confirm to complete the payment
LNURL-Pay Workflow
When paying an LNURL:- Scan or paste the LNURL
- Medusa fetches payment parameters (min/max amounts, metadata)
- Enter the amount you want to send (within allowed range)
- Optionally add a comment if supported
- Confirm the payment
- Medusa completes the LNURL protocol exchange automatically
Transaction Details
Each transaction in Medusa includes:Transaction Information
- Amount: Payment amount in your preferred unit
- Type: Incoming or outgoing payment indicator
- Timestamp: When the payment was completed
- Description: Payment memo or description
- Payment Hash: Unique transaction identifier
- Fee: Network routing fee (for outgoing payments)
Historical Fiat Values
Medusa tracks the fiat value at the time of each transaction:- Snapshot Price: Bitcoin price when payment was made
- Current Value: What the same amount is worth now
- Percentage Change: Gain or loss since transaction
- Multiple Currencies: Track values in your preferred fiat currencies
Historical price data helps you understand the real-world value of payments over time.
Payment Monitoring
WebSocket Subscriptions
Medusa monitors payments using two WebSocket types:- Payment Hash Subscription: Tracks specific invoice payments until confirmed
- Inkey Subscription: Monitors all incoming payments to a wallet in real-time
Payment Status
Payments can have several states:- Pending: Payment initiated but not yet confirmed
- Success: Payment completed successfully
- Failed: Payment could not be completed (automatically refunded)
Transaction History
Viewing Transactions
Access your complete payment history:- Select a wallet
- Scroll through the transaction list
- Tap any transaction for full details
Pagination
For wallets with many transactions:- Initial load: First 40 transactions
- Scroll to bottom: Automatically loads next batch
- Efficient loading: Only fetches what you need to see
Transaction Filtering
Medusa loads only successful transactions by default, filtering out:- Failed payment attempts
- Expired invoices
- Pending transactions that timed out
Currency Conversion
Medusa provides real-time currency conversion:Supported Bitcoin Units
- BTC: Standard Bitcoin unit
- Satoshis (sats): Smallest unit (0.00000001 BTC)
- mBTC: Millibitcoin (0.001 BTC)
Fiat Currencies
Convert to major fiat currencies:- USD, EUR, GBP, JPY, and more
- Real-time exchange rates
- Historical rates for past transactions
You can change your preferred display units and fiat currency in Settings.
Security Features
Payment Confirmation
All outgoing payments require explicit user confirmation:- Review amount, destination, and fees
- No automatic payments without approval
- Clear visual indicators before sending
Amount Validation
Medusa validates all payment amounts:- Insufficient balance checks
- Minimum/maximum amount enforcement
- Fee calculation and display
Error Handling
Robust error handling ensures:- Failed payments don’t deduct funds
- Clear error messages for troubleshooting
- Automatic retry logic for network issues
Best Practices
For Receiving
- Use Paylinks for Recurring: Share your paylink for tips, donations, or regular payments
- Specific Invoices for Exact Amounts: Create invoices when you need a precise payment
- Add Descriptions: Help payers and yourself identify payment purposes
For Sending
- Verify Amounts: Double-check payment amounts before confirming
- Check Descriptions: Ensure you’re paying the right invoice
- Monitor Balances: Keep sufficient balance for payments and routing fees
General Tips
- Lightning payments are final - verify before confirming
- Keep invoices valid by paying promptly
- Use camera permissions for easy QR scanning
- Save important payment details or screenshots
Technical Details
Payment Protocol Support
- BOLT11: Standard Lightning invoice format
- LNURL-Pay: LUD-06 specification compliant
- Lightning Address: LUD-16 compatible
API Integration
Payments are processed through:- LNbits payment API endpoints
- WebSocket connections for real-time updates
- Secure key-based authentication
- Automatic error recovery
Next Steps
Wallet Management
Learn about managing multiple wallets
Bitcoin Swaps
Convert Lightning to on-chain Bitcoin