Customer identity
Use the same stable identifier your application already uses. QuotaMint accepts IDs such asuser_123, org_acme, or cus_provider_456; the value is unique inside a project and each environment.
Do not use an email address as the only identity if it can change. Store the provider customer ID and your own customer ID in your system, then use your stable application ID in QuotaMint.
Create a customer and assign a plan
Create the customer in the dashboard under Customers, then assign an active plan such aspro. The customer’s balance starts empty until the plan’s monthly allocation or a manual grant arrives.
The plan must be active in the project. Assigning an archived plan is refused.
Upgrades and downgrades
Treat your billing provider’s webhook as an event stream and mirror the outcome in the dashboard:- Upgrade: assign the new plan, then add any separately purchased credits.
- Downgrade: assign the lower plan. Existing balances and history are not deleted.
- Cancellation: deactivate the customer or remove the plan according to your product policy.
- Duplicate provider event: repeating the same assignment is safe — an active plan assignment is idempotent.