Skip to content

Sapliy/fintech-integrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sapliy Fintech Integrations

Production-ready connectors for payment gateways, notification services, and monitoring platforms.

Overview

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

Available Connectors

Payments

  • Stripe - Payment intents, subscriptions, webhooks
  • PayPal - Orders, subscriptions, webhooks
  • Square - Payments, webhooks

Notifications

  • Twilio - SMS, Voice, WhatsApp
  • SendGrid - Email with templates
  • Slack - Alerts, approvals, notifications

Monitoring

  • PagerDuty - Incident management
  • DataDog - Metrics and traces

Installation

import "github.com/sapliy/fintech-integrations/connectors/stripe"

Quick Start

Stripe Webhook Handler

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)
}

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT © Sapliy

About

Pre-built integrations (Stripe migration, etc.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages