Skip to main content
Customer Credits is in Experimental preview. The API is stable but may receive additive changes.

What is Customer Credits?

Customer Credits lets you give your customers a balance they can earn and spend — points, gems, stars, or whatever fits your product. You add credits when something good happens (a purchase, a referral, a top-up). You remove credits when they’re used (a redemption, an API call, a feature unlock). Creem tracks everything and gives you a complete history. No database tables to design. No race conditions to debug. Just API calls.

Why use it?

AI & LLM Products

Sell credit packs for your AI product. Customers buy credits, each API call deducts from their balance. Different models can cost different amounts.

Loyalty & Rewards

Award points on purchases, let customers redeem them for discounts. Track earning and spending with full history.

Prepaid Balances

Let customers top up a balance and draw down against it for future purchases or service usage.

Referral Programs

Credit both sides automatically when a referred user converts. Track the full lifecycle.

Usage Metering

Allocate credit pools for API calls, compute hours, storage, or any metered resource. Debit on consumption.

Promotional Credits

Issue credits for marketing campaigns, seasonal offers, or beta incentives.

Goodwill & Compensation

Issue credits for service disruptions or support escalations — tracked and auditable.

How it works

Three steps:
  1. Create an account — pass a customer_id and you’re done.
  2. Credit or debit — one API call to add or remove units.
  3. Check balance — instant lookup, always up to date.

Quick start

If you’re in test mode, use https://test-api.creem.io instead of https://api.creem.io. Learn more about Test Mode.

1. Create an account

2. Add credits

3. Use credits

4. Check balance

Key features

Account states

Next steps

Accounts

Create, list, freeze, and close accounts.

Transactions

Credit, debit, reverse, and view history.

Recipes

Step-by-step guides for common use cases.

API Reference

Full endpoint docs with schemas.