Wallet balance
Best for first tests, SDK verification, and intermittent personal use. Users top up in USD and spend against actual usage.
OpenMagic should feel predictable: users can start with wallet balance, upgrade to monthly quota, understand fair-use limits, and see every payment and usage record in the console.
The site should sell a simple ladder instead of making beginners calculate raw token math.
Best for first tests, SDK verification, and intermittent personal use. Users top up in USD and spend against actual usage.
Best for repeat users and coding-agent workflows. The plan gives predictable quota, rate guardrails, and easier purchasing decisions.
Best for higher volume, procurement, team support, custom limits, and provider-routing requirements.
Every money and quota movement should be visible from the console.
These rules protect margin and support quality.
The callback should leave a complete audit trail.
The console creates an order with plan, amount, currency, user, and selected gateway.
Yuansfer or Stripe returns through the configured callback and signs the event.
The business layer marks the order paid, records payment detail, and grants balance or plan quota.
Email template and support context confirm the purchase for the user and operations team.