All documentation
Getting Started - cred.diy API documentation
Getting Started
Get up and running with cred.diy in minutes. Build credit systems, referral programs, and monetization for your applications.
Quick Start Steps
- 1Create an account (email verification required) and set up your first project
- 2Create credit types (e.g., "tokens", "points", "credits") to define your currency
- 3Set up pricing tiers to let users purchase credits
- 4Connect Stripe via Stripe Connect to receive payments directly
- 5Generate an API key (with optional expiration) and start making API calls
💡 After creating your project, a Getting Started Checklist appears on the dashboard to guide you through each step.
Dashboard Features
Credit Types — Define your credit currencies
Pricing Tiers — Set up purchase packages
Users — Search, filter & paginate end users
Referral Program — Incentivize growth
Pre-Sales — Sell credits before launch
Webhooks — Real-time events with test ping
Credit Swaps — Atomic cross-credit exchanges
Analytics — Usage charts with date filters
API Keys — Create keys with expiration dates
CSV Export — Export users & transactions
Keyboard Shortcuts
Press ⌘K (or Ctrl+K) anywhere in the dashboard to open the command palette for quick navigation.
Security Notes
- • Never expose your API key in client-side code — always use environment variables
- • Email verification is required before you can sign in
- • Set expiration dates on API keys and rotate them regularly
- • Login is rate-limited to prevent brute-force attacks (5 attempts per 60 seconds)
Your first credit is one request away.
Create a project, copy an API key, and issue a credit from your server.
