Mneme

Stripe

Connect Stripe via Nango OAuth to ingest business signals.

The Stripe connector ingests business signals — payment failures, disputes, and subscription changes — via Nango OAuth polling. These events provide context about how code changes correlate with business outcomes.

Setup via Nango

Stripe is connected through Nango, which manages OAuth tokens and provides a proxy API.

  1. Configure Stripe OAuth in Nango Dashboard
    • Add a Stripe integration in your Nango dashboard
    • Complete the OAuth flow to connect your Stripe account

How It Works

The poll worker runs every 5 minutes and:

  1. Discovers active Stripe connections via Nango
  2. Fetches recent events using Stripe's Events API (proxied through Nango)
  3. Filters for supported event types
  4. Stores signals with extracted entities
  5. Enqueues memory processing

Supported Events

EventSignal CategoryWhat's Captured
charge.failedbusinessAmount, currency, failure code, failure message
charge.dispute.createdbusinessAmount, currency, dispute reason
customer.subscription.createdbusinessPlan name, subscription ID
customer.subscription.updatedbusinessPrevious and new status
customer.subscription.deletedbusinessSubscription ID
invoice.payment_failedbusinessAmount, currency

Events not in this list are silently dropped.

Entity Extraction

The Stripe connector extracts:

  • Customer ID as a user entity (e.g., cus_XyZ123)

This allows Mneme to correlate payment issues with specific customers across signals.

Configuration

Stripe is configured via Dashboard → Connectors → Stripe. Enable/disable the connector from the dashboard.

On this page