I need this for my own product (www.paiger.co) to showcase the traffic we deliver in an easy way. Would you be willing to sell me the code but with a license that limits it's use to our reporting only and a non-compete with what you're doing? Would save me the development work and I'd happily pay for it.
Having to pay to try is a little disappointing, but I’ve done it.
Sent you a chat with some queries - we need to use cycles and payg in combination, and the api call to get remaining credits should include the cycle start and renewal date, with the different credit types remaining too.
The option to choose which credit type subtract should come from by default would be good too - to allow users to use their cycle credits first and then eat into their payg back up credits.
It's possible to use cycle and payg in combination, it's exactly the strength of Creduse.
About the `get-active-balance` endpoint - you're right, it's pretty basic at the moment. It just gives you the total active balance and user ID. It doesn't break down cycle vs PAYG credits or show cycle dates yet.
I've add it to the top of my pipeline. I'll be working on improving this endpoint to give you more detailed info about the user's credit balance.
Regarding the option to choose which credit type to subtract from, I'll keep this in mind and consider its feasibility. Can't promise anything on this just yet, but I appreciate the idea.
I really like your suggestions though! It's exactly the kind of feedback I'm looking for.
Thanks for bringing this up, and thanks for subscribing!
I do. I mean providing a JavaScript widget that lets people see their credits, renewal dates and buy more. Then it would be an end to end credit solution.
That's a great idea! I'll work on adding this ASAP. Would you prefer just a reminder with a daily curated story? Or something that's personalized based on your child's interest?