- Keep record of the products they’ve purchased
- Track the features they’ve used and have access to
- Bill them through Stripe for the prices you’ve set
Creating a customer via API
Use thecustomers.getOrCreate method to create a customer. This is idempotent — it creates the customer if they don’t exist, or returns the existing one if they do.
customerId field is required — this should be your unique identifier for the customer that you’ll use in all future API calls.
Pre-creating customers via the dashboard
You can create a customer in the Autumn dashboard before they’ve ever interacted with your application. This is useful for enterprise or sales-led deals where you want to provision access before the customer signs up.- Navigate to the Customers page
- Click “Create Customer”
- Fill in the customer’s details (name, email). Leave the
idfield blank — it will be assigned when the customer first logs in. - Click “Create Customer”
Example: Enterprise onboardingYou’ve closed an enterprise deal with Acme Corp. Before their team starts using your product:
- Create a customer in the dashboard with the billing contact’s email
- Enable a custom Enterprise plan with negotiated pricing
- When the Acme team signs up, Autumn matches the email and they immediately have their plan active — no checkout needed
Customer properties
Customer ID
Your unique identifier for the customer. This is the only required field. It could be:- Your database ID for the user
- Their email address
- Any other unique identifier in your system
Name and Email
Optional fields that help identify the customer in the Autumn dashboard and on Stripe invoices.Stripe integration
By default, Autumn does not create a Stripe customer when you create an Autumn customer. A Stripe customer is created lazily — only when the first billing operation needs one (likebilling.attach, billing.openCustomerPortal, or billing.setupPayment).
You can change this behavior:
Create in Stripe immediately
PasscreateInStripe: true to create the Stripe customer at the same time as the Autumn customer. This is useful if you need the Stripe customer ID upfront (e.g., for your own Stripe integration).
Link to an existing Stripe customer
If you already have a Stripe customer (e.g., you’re migrating to Autumn), passstripeId to link it instead of creating a new one:
For more details on how Autumn and Stripe work together, see Stripe Sync.

