Docs / integrations
Integrations
Raterunner syncs your billing configuration to payment providers, creating and managing products, prices, and promotions.
Payment Providers
| Provider | Status | Features |
|---|---|---|
| Stripe | Supported | Products, Prices, Coupons, Promotion Codes |
| Paddle | Planned | - |
| Chargebee | Planned | - |
Note: Currently only Stripe is supported. Contact raterunner@akorchak.software for other provider needs.
How Syncing Works
- Read — Raterunner reads your
billing.yamlconfiguration - Diff — Compares with the current state in your payment provider
- Plan — Generates a list of changes to apply
- Apply — Creates, updates, or archives resources
# Preview changes (dry run)raterunner apply --env sandbox --dry-run raterunner/billing.yaml# Apply changesraterunner apply --env sandbox raterunner/billing.yamlProvider ID Files
After syncing, Raterunner creates provider ID files that map your configuration to provider-specific IDs:
# stripe_sandbox.yaml (auto-generated)provider: stripeenvironment: sandboxsynced_at: "2026-01-28T10:30:00Z"plans: pro: product_id: prod_ABC123 prices: monthly: price_XYZ789 yearly: price_UVW012These files are: - Auto-generated — don't edit manually - Environment-specific — separate files for sandbox/production - Committed to Git — for tracking and debugging
Environment Management
Sync to different environments using separate API keys:
# Sandbox (test mode)export STRIPE_SANDBOX_KEY=sk_test_...raterunner apply --env sandbox raterunner/billing.yaml# Production (live mode)export STRIPE_PRODUCTION_KEY=sk_live_...raterunner apply --env production raterunner/billing.yamlAuthentication
Each provider requires API credentials:
| Provider | Environment Variable | Description |
|---|---|---|
| Stripe | STRIPE_SANDBOX_KEY | Test API key (sk_test_...) |
| Stripe | STRIPE_PRODUCTION_KEY | Live API key (sk_live_...) |
Store these securely and never commit them to version control.
What Gets Synced
| Raterunner | Stripe |
|---|---|
| Plan | Product |
| Monthly/Yearly Price | Price (recurring) |
| Per-unit Price | Price (per_unit) |
| Tiered Price | Price (tiered) |
| Addon | Product + Price |
| Promotion | Coupon + Promotion Code |
Next Steps
- Stripe Integration — Detailed Stripe setup guide