Developer API
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.
Bitcoin & Lightning
Webhook Events
aurora-api.py
×
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,
"memo": memo,
"currency": "currency code",
"extra": {}
}
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']['id']}")Powerful Features for Developers
Our API is designed to make Bitcoin and Lightning Network payments simple to integrate.
Lightning Network
Fast, low-fee Bitcoin payments
- Create BOLT11 invoices
- Support for multiple fiat currencies
- Check payment status
- Generate QR codes
On-chain Bitcoin
Traditional Bitcoin transactions
- Generate Bitcoin addresses
- Track transaction confirmations
- Automatic payment verification
Webhooks
Real-time payment notifications
- 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.
One Script Tag Integration
Add Bitcoin payments to any website with a single script tag. No complex setup required.
<!-- Aurora Unified Payment Embed -->
<div id="aurora-payment"
data-api-endpoint="https://aurora.mybuho.de/api/lightning/invoice/"
data-api-key="your-api-key"
data-amount="10.00"
data-currency="EUR"
data-description="Product purchase">
Pay with Bitcoin
</div>
<script src="https://aurora.mybuho.de/embed.js"></script>1
Add Script
Include Aurora script in your HTML
2
Add Element
Create payment div with data attributes
3
Accept Payments
Start receiving Bitcoin payments