Create and manage Bitcoin payment requests
REST endpoints for automated payments.
/api/pay/invoice
/api/pay/status/{id}
/api/pay/cancel/{id}
/api/pay/history
/api/pay/balance
curl -X POST /api/pay/invoice \
-H "Content-Type: application/json" \
-d '{
"amount_sats": 50000,
"memo": "Booking deposit"
}'
{
"id": "inv_abc123...",
"address": "bc1q...",
"amount_sats": 50000,
"status": "pending",
"bitcoin_uri": "bitcoin:bc1q..."
}