chore: cleanup unused code, update docs for payment integration
This commit is contained in:
@@ -73,6 +73,14 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### POST /btcpay/webhook
|
||||
Empfängt BTCPay Server Webhook-Events. Wird in BTCPay unter Store → Settings → Webhooks konfiguriert.
|
||||
|
||||
- **URL**: `https://pow.dgray.io/btcpay/webhook`
|
||||
- **Event**: `InvoiceSettled` (nach 1 Blockchain-Confirmation)
|
||||
- **Aktion**: Setzt das zugehörige Listing in Directus auf `status: published`, `payment_status: paid`, setzt `paid_at` und `expires_at` (30 Tage)
|
||||
- **Sicherheit**: Webhook-Secret wird serverseitig geprüft
|
||||
|
||||
## Gebühren
|
||||
|
||||
| Währung | Betrag |
|
||||
|
||||
Reference in New Issue
Block a user