Stripe Integration
Connect Stripe to enable payment-related support features.
Overview
The Stripe integration enables:
- View payment and refund status
- Process refunds from conversations
- Access subscription information
- Payment failure notifications
Prerequisites
- Stripe account
- API keys access
- Fyncall Business plan or higher
Step 1: Get Stripe API Keys
Find Your Keys
- Log in to Stripe Dashboard
- Go to Developers → API keys
- Copy your keys:
- Publishable key:
pk_live_... - Secret key:
sk_live_...
- Publishable key:
Test vs Live Mode
| Mode | Key Prefix | Use For |
|---|---|---|
| Test | pk_test_, sk_test_ | Development |
| Live | pk_live_, sk_live_ | Production |
tip
Start with test keys to verify integration, then switch to live keys.
Step 2: Connect in Fyncall
- Go to Settings → Integrations → Stripe
- Click Connect Stripe
- Enter your Secret Key
- Click Connect
- Verify connection status
Step 3: Configure Webhooks
Automatic Setup
Fyncall can configure webhooks automatically:
- In integration settings, click Configure Webhooks
- Fyncall registers the webhook endpoint
- Subscribes to relevant events
Manual Setup
If automatic setup isn't available:
- Go to Stripe Dashboard → Developers → Webhooks
- Click Add endpoint
- Endpoint URL:
https://api.fyncall.com/api/v1/webhooks/stripe - Select events:
charge.succeededcharge.failedcharge.refundedpayment_intent.succeededpayment_intent.payment_failedinvoice.paidinvoice.payment_failedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deleted
- Copy the Signing secret and add to Fyncall
AI Capabilities
With Stripe connected, AI can:
Check Payment Status
Customer: "Did my payment go through?"
AI: "I found your recent payment:
Amount: $99.99
Status: Succeeded
Date: January 28, 2026
Card: •••• 4242"
Process Refunds
Customer: "I need a refund for my order"
AI: "I can process that for you.
Order: $99.99 on Jan 28
[Full Refund] [Partial Refund]"
Customer: [Full Refund]
AI: "Refund of $99.99 has been processed.
You'll see it in 5-10 business days."
Subscription Info
Customer: "When does my subscription renew?"
AI: "Your Pro Plan subscription renews on
February 15, 2026 for $49/month.
Would you like to make any changes?"
Available Data
Payments
| Data | Available |
|---|---|
| Payment ID | ✓ |
| Amount | ✓ |
| Currency | ✓ |
| Status | ✓ |
| Payment method | ✓ (last 4 digits) |
| Description | ✓ |
| Metadata | ✓ |
Customers
| Data | Available |
|---|---|
| Customer ID | ✓ |
| ✓ | |
| Name | ✓ |
| Default payment method | ✓ |
| Created date | ✓ |
Subscriptions
| Data | Available |
|---|---|
| Subscription ID | ✓ |
| Plan name | ✓ |
| Status | ✓ |
| Current period | ✓ |
| Cancel at period end | ✓ |
Agent Actions
Enabled Actions
Configure which actions AI can perform:
| Action | Description | Enable |
|---|---|---|
| View Payments | See payment history | ✓ |
| View Refunds | See refund status | ✓ |
| Process Refunds | Issue full refunds | Optional |
| Partial Refunds | Issue partial refunds | Optional |
| Cancel Subscriptions | Cancel subs | Optional |
Refund Settings
| Setting | Description |
|---|---|
| Require Reason | Reason must be selected |
| Max Amount | Maximum refund without approval |
| Approval Required | Escalate for human approval |
Security
API Key Security
- Secret key is encrypted at rest
- Only accessible to your tenant
- Never exposed in client-side code
Refund Limits
Set limits to prevent errors:
Max auto-refund: $100
Daily refund limit: $500
Require approval: Always for > $100
Audit Trail
All Stripe actions are logged:
- Who initiated
- What action
- Amount
- Result
- Timestamp
Troubleshooting
Connection Failed
- Verify API key is correct
- Check key is from correct mode (test/live)
- Ensure key has required permissions
Webhooks Not Received
- Check webhook endpoint is correct
- Verify signing secret
- Check webhook logs in Stripe
- Test with Stripe CLI
Refund Failed
- Check refund is within limits
- Verify charge is refundable
- Check for fraud flags
- Review Stripe dashboard for details
Customer Not Found
- Verify customer email matches
- Check Stripe customer ID
- Ensure customer exists in Stripe
Best Practices
Refund Policies
- Set clear refund limits
- Require reasons for tracking
- Enable approval for large amounts
- Log all refund actions
Customer Communication
- Confirm refund processing
- Provide timeline (5-10 business days)
- Send confirmation email
- Note refund in conversation
Monitoring
- Review daily refund reports
- Monitor for unusual patterns
- Set up alerts for large refunds