How Retriev works

Five steps from signup to recovered revenue. AI handles the complexity, you see the results.

1

Connect your Stripe account

Click "Connect Stripe" and authorize Retriev to monitor failed payments. We request read access to payment history and write access to create retry attempts.

Takes about 30 seconds
2

AI analyzes your payment history

Retriev imports your last 12 months of payment data. The AI identifies patterns in successful payments and failed attempts to learn what works for your customers.

Analysis completes in 2-5 minutes
3

Configure recovery rules

Choose between AI-optimized defaults or custom rules. Set maximum retry attempts, blackout dates, and email preferences. Or accept AI recommendations and skip configuration entirely.

Optional — AI defaults work for most
4

Automatic recovery begins

When a payment fails, Retriev receives a webhook from Stripe. The AI predicts the optimal retry window, queues the attempt, and sends personalized dunning emails if needed.

// Webhook received from Stripe
POST /api/webhook
{
  "type": "payment_intent.payment_failed",
  "data": {
    "object": {
      "customer": "cus_abc123",
      "amount": 9900,
      "last_payment_error": {
        "message": "Card declined"
      }
    }
  }
}

// AI predicts retry window: 34 hours
// Confidence: 87%
5

Monitor in your dashboard

Track recovery rates, revenue saved, and churn trends in real-time. Ask questions in natural language: "Show me recovery by card type this month."

Updates in real-time

Set up a webhook in Stripe

Add a webhook endpoint in your Stripe dashboard to send failed payment events to Retriev.

  1. Go to Developers > Webhooks in Stripe
  2. Click "Add endpoint"
  3. Enter: https://api.retriev.pages.dev/api/webhook
  4. Select event: payment_intent.payment_failed
  5. Copy signing secret to Retriev

We verify webhook signatures to ensure authenticity.

WEBHOOK ENDPOINT
https://api.retriev.pages.dev/api/webhook
EVENTS TO SEND
payment_intent.payment_failed invoice.payment_failed

Common questions

How long until I see recovered payments?
Most customers see their first recovered payment within 24-48 hours. The AI needs at least one failed payment to analyze, then recovery begins automatically.
Does Retriev store card numbers?
No. We never see or store full card numbers. Stripe handles all payment processing. Retriev only receives webhook notifications about payment outcomes.
What happens if the AI makes a bad prediction?
The model learns from every attempt. If a retry fails, it updates its understanding and adjusts future predictions. Recovery rates improve over time as the AI learns your customer patterns.
Can I override AI decisions?
Yes. Set custom rules for specific customers, override retry timing, or pause recovery for individual payments. You maintain full control.

Ready to recover failed payments?

Connect Stripe and let AI handle the rest. First recovered payment often within 24 hours.