Production
All examples in this documentation use production unless stated otherwise.
API credentials
- Register at merchant.heydollr.app
- Complete identity verification (KYC/KYB — typically 1–72 hours)
- Go to Settings → Developer → API Keys
- Create a Client ID and Client Secret (secret shown once — store in a vault)
expires_in minutes.
Verification gates
Until your merchant account is fully verified, some features may return 403 Forbidden:
See Forbidden / unverified.
Sandbox and test mode
Dollr does not publish a separate public sandbox base URL in this documentation. To test safely in production:
If you need a dedicated staging environment or test credentials, contact dev@heydollr.app or your Dollr account manager.
Realtime (Supabase) credentials
Live payment status via Realtime keys uses Supabase Realtime. In addition to your Dollr Bearer token flow, you need:
If these are not visible in your portal yet, email dev@heydollr.app.
Stripe (API-embedded cards only)
If you build your own card UI with Collect with card, Dollr routes cards through Stripe. You do not connect your own Stripe account — Dollr provides the publishable key for Elements:
For hosted checkout, you do not need Stripe keys — Dollr handles card collection on the hosted page.
Environment checklist
- Client ID and Client Secret in server env vars (not
NEXT_PUBLIC_*) - Token refresh before expiry (
expires_inis minutes) - Verification complete for payouts / refunds
- Realtime Supabase vars (if using live status UI)
- Stripe publishable key (only for API-embedded card UI)
