Features
- Full Stripe API integration
- Access to payments, customers, subscriptions, and more
- Real-time data synchronization
- Secure API key management
Connection Requirements
- An active Stripe account
- Stripe API keys (Secret key)
- Network access to Stripe API
Setup Instructions
- Navigate to Resources in your Ledgerbeam dashboard
- Click “Add Resource” and select “Stripe”
- Get your Stripe API key:
- Go to your Stripe Dashboard
- Navigate to Developers > API keys
- Copy your Secret key (starts with
sk_)
- Enter your Stripe Secret key in Ledgerbeam
- Click “Test Connection” to verify
- Click “Create Resource” to complete setup
API Keys
Stripe provides two types of API keys:- Publishable key (starts with
pk_): Not used for Ledgerbeam - Secret key (starts with
sk_): Required for Ledgerbeam connection
Available Data
Once connected, you can query:- Payments and charges
- Customers and customer data
- Subscriptions and plans
- Invoices and billing
- Products and prices
- Events and webhooks
Querying Stripe Data
You can query your Stripe data using natural language:- “What are my total revenue this month?”
- “Show me customers with the highest lifetime value”
- “What subscriptions are expiring this week?”
Security
- API keys are encrypted before storage
- Connections use HTTPS
- Credentials are never exposed in API responses
- Use test mode keys for development
Troubleshooting
Connection Issues
- Verify your Stripe API key is correct
- Check that the key is active and not revoked
- Ensure you’re using the Secret key (not Publishable)
- Verify network connectivity to Stripe API
Permission Issues
- Check that your API key has the necessary permissions
- Verify your Stripe account is active
- Ensure you have access to the data you’re querying
Best Practices
- Use test mode keys for development and testing
- Regularly rotate your API keys
- Monitor API usage in your Stripe dashboard
- Use webhooks for real-time updates (separate from resource connection)

