API Reference (Developers)
Check Credits
Verify if credits are available for generation
GET
Check whether your shop has credits available to create generations. Cached for 2 minutes on both client and server.
Request
No parameters. Shop is identified via app proxy authentication.Response
true if credits are available, false if quota is exhausted.This endpoint fails open — if the check errors, it returns
allowed: true to avoid blocking users. The Create Generation endpoint performs the definitive quota check and will return QUOTA_EXCEEDED if needed.
