Production-ready connectors for payment gateways, notification services, and monitoring platforms.
This repository provides pre-built connectors for the Sapliy Fintech Ecosystem. Each connector:
- ✅ Handles webhook signature verification
- ✅ Provides typed events and payloads
- ✅ Supports retry with exponential backoff
- ✅ Includes comprehensive logging
- ✅ Is fully tested
- Stripe - Payment intents, subscriptions, webhooks
- PayPal - Orders, subscriptions, webhooks
- Square - Payments, webhooks
- Twilio - SMS, Voice, WhatsApp
- SendGrid - Email with templates
- Slack - Alerts, approvals, notifications
- PagerDuty - Incident management
- DataDog - Metrics and traces
import "github.com/sapliy/fintech-integrations/connectors/stripe"import (
"github.com/sapliy/fintech-integrations/connectors/stripe"
)
// Create connector
conn := stripe.NewConnector(stripe.Config{
APIKey: os.Getenv("STRIPE_API_KEY"),
WebhookSecret: os.Getenv("STRIPE_WEBHOOK_SECRET"),
})
// Handle webhook
func handleStripeWebhook(w http.ResponseWriter, r *http.Request) {
event, err := conn.ParseWebhook(r)
if err != nil {
http.Error(w, "Invalid webhook", http.StatusBadRequest)
return
}
// Emit to Sapliy flow engine
sapliy.Emit(event.Type, event.Data)
}See CONTRIBUTING.md for guidelines.
MIT © Sapliy