Your First API Key
Navigate to your project’s API tab to view and manage your API keys.
What You Can Do With API Keys
Send Payments
Pay any Lightning Address or invoice instantly
Receive Payments
Generate invoices and process incoming payments
Manage Wallets
Check balances and transaction history
Create Vouchers
Issue redeemable payment links
Quick Start Example
Once you have your API key, you’re ready to send your first payment:Security Best Practices
🔐 Secure Storage
- Environment Variables
- Secret Management
- CI/CD
🛡️ IP Allowlisting
Restrict API access to specific IP addresses for maximum security:
- Navigate to your project’s API tab
- Click “API Access Controls”
- Add your server’s IP addresses
- Save changes
Dynamic IPs? If your infrastructure uses dynamic IPs (like serverless functions), consider using a proxy service with static IPs or contact our team for alternative security options.
Key Rotation & Regeneration
Regular key rotation is a security best practice. Here’s when and how to do it:When to Rotate Keys
- ⏰ Scheduled: Every 90 days as a best practice
- 🚨 Immediately if:
- Key exposed in client code
- Committed to version control
- Employee with access leaves
- Suspicious activity detected
How to Regenerate

Zero-Downtime Rotation Strategy
API Key Permissions (Coming Soon)
Scoped Permissions - Soon you’ll be able to create keys with limited permissions:
- Read-only keys for analytics
- Payment-only keys for point-of-sale
- Receive-only keys for donation pages
Testing Your API Key
Use this simple test to verify your key is working:Ready to Build?
You now have everything needed to start integrating ZBD payments into your application.Send First Payment
Use our SDKs to send your first Lightning payment
API Reference
Explore all available endpoints