Bitcoin Payments
In Just 5 Lines of Code
Aurora's RESTful API lets you integrate Bitcoin and Lightning Network payments into your application with minimal effort.
import requests
# Create a Lightning invoice
def create_invoice(api_key, amount, memo):
url = "https://aurora.mybuho.de/api/invoice"
headers = {
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json"
}
payload = {
"amount": amount, # Amount in satoshis
"memo": memo,
"unit": "sat"
}
response = requests.post(url, headers=headers, json=payload)
return response.json()
# Example usage
api_key = "your_api_key"
invoice = create_invoice(api_key, 10000, "Product purchase")
print(f"Payment request: {invoice['invoice']['invoice']}")
print(f"Checking ID: {invoice['invoice']['checking_id']}")
Powerful Features for Developers
Our API is designed to make Bitcoin and Lightning Network payments simple to integrate.
- Create BOLT11 invoices
- Support for multiple fiat currencies
- Check payment status
- Generate QR codes
- Generate Bitcoin addresses
- Track transaction confirmations
- Automatic payment verification
- Instant payment notifications
- Secure signature verification
- Automatic retries for failed deliveries
Simple API Endpoints
Our API is designed to be intuitive and easy to use, with clear endpoints for all your payment needs.
Lightning Network Endpoints
Create and manage Lightning Network invoices for instant Bitcoin payments.
Create a Lightning invoice
Check payment status
Get QR code for a lightning invoice
# Lightning Invoice Endpoints
POST /api/invoice
Create a new Lightning Network invoice
Request:
{
"amount": 10000,
"memo": "Product purchase",
"unit": "sat"
}
Response:
{
"message": "Invoice created successfully",
"invoice": {
"payment_hash": "...",
"checking_id": "...",
"invoice": "lnbc..."
}
}
GET /api/invoice/status/{checking_id}
Check payment status
Integration in 3 Simple Steps
Get up and running with Aurora payments in minutes, not days.
Get API Keys
Get in contact with Aurora and get your API keys to query.
Integrate API
Add a few lines of code to your application to create invoices and handle payments.
Accept Payments
Start accepting Bitcoin and Lightning Network payments from customers worldwide.
✅Clear Value Proposition for Devs
Aurora API helps developers and businesses create Lightning and Bitcoin payment flows using just a few lines of code. Whether you're building a SaaS, mobile app, or indie tool or having e-commerce— Aurora lets you accept payments with full flexibility and minimal setup.
Key Benefits
- No Chargebacks - Bitcoin transactions are irreversible, eliminating the risk of fraudulent chargebacks
- Lower Transaction Fees - Save significantly on payment processing costs compared to traditional methods
- Global Reach - Accept payments from customers worldwide without currency conversion complications
- Future-Proof Technology - Stay ahead with cutting-edge payment technology for the future of finance