Skip to content

Customers and limits ​

Everyone who signs up on your portal shows up on the Customers page. A customer is always a team: a solo developer is a team of one, and companies can add teammates. Balance, plan, usage and limits belong to the team.

Who can sign up ​

The control at the top of the page decides who can create an account on your portal:

OptionEffect
AnyoneAnyone can sign up on your portal. This is the default
Invite onlyOnly people you invite can join

The change is saved as soon as you pick an option. Next to it, Copy portal link copies your portal's address so you can share it, and Invite customer sends an email invitation. The invite link is also shown after sending, so you can pass it on yourself.

The customer list ​

All customers shows each team's status, plan, balance and join date. The plan column reads Pay as you go or Free for customers without a plan, or Free tier when pay as you go is off, and shows the Stripe subscription status for subscribers, such as Payment overdue. The balance column only appears when your API charges money.

  • Search by team name or member email.
  • Export CSV with one row per member, including plan, balance, price, rate limit and requests this month.

The test customer behind your test key is never listed.

A customer's page ​

Click Manage on a row. The page shows the credit balance, requests this month, the effective rate limit and the effective price per request. Under each one, the page says where it comes from: custom limits, their plan or your default pricing.

Adjust credit ​

Adjust credit adds or removes prepaid credit by hand, with a description for the ledger. Use it for goodwill credit, invoices paid outside Stripe, or corrections. Tick Deduct instead of add to remove credit. For automated billing, use the external credits endpoint instead.

Credit activity ​

Every change to the balance is listed with its amount, type, description and time. Types include Welcome credit, Card top-up, Plan credit, Credit adjustment, Refund and Usage for the daily usage charges. Hover a description to see its reference. Your customer sees the same ledger on their portal's Billing page.

Suspend ​

Suspend blocks the team. Its keys get 403 as soon as the SDK picks up the next snapshot, within about 30 seconds, and no data is deleted. Unsuspend restores access. A team suspended because a subscription payment failed is unsuspended automatically when the payment succeeds.

Plan and custom limits ​

Give one customer different terms without creating a public plan. The Plan and limits card has a Plan picker and a collapsed Custom limits section. The section opens by itself, and shows On, when the customer already has custom limits.

SettingEffect
PlanApplies a plan's rate and price. The first option removes the plan and says what the customer gets instead, such as No plan, pay as you go. Customers who subscribed through Stripe change plans through Stripe instead
Custom rate limit (requests per second)Overrides the plan and pay as you go rate limit. 1 to 100,000
Custom price per requestOverrides the plan and pay as you go price. Use $0 to make this customer free
Custom monthly cap (requests)A hard cap on requests per calendar month (UTC)

Custom values win over the plan, and the plan wins over pay as you go. A plan you assign by hand applies its rates, but its monthly credit is only added by paid Stripe invoices, so grant credit yourself if needed.

For a deal you want several customers to see, create a private plan and assign it.

Usage ​

The Usage chart shows the team's daily requests for the last 30 days. Your customer sees the same numbers on their portal.

MicroAuth is a product of Zyref, LLC.