Skip to content
SaaS Starter
EN

Sign in

Sign in or create an account to continue.

Use cases

Build exports that charge credits

Connect your own generated files to authentication, credit accounting and recorded consumption.

On this page

The template supplies shared account and credit services. You build the export screen, generate the file and define what a successful paid result means.

How it works

Define the output

Choose the file format, generation rules and server-side credit cost for your own product.

Review before charging

Show the selected result and cost before the customer confirms. Check resource ownership on the server.

Deliver and record

Return the generated file and record its credit consumption. Preserve an operation identifier when retrying.

Use the shared accounting boundary

For local database work, store the result and credit consumption in the same transaction. Backend export code is an implementation reference, without a default customer interface.

Own external generation

External generation needs its own task lifecycle and compensation rules. The template does not supply a report generator or ready-made export product.

Limitations

  • Export screens, file formats and delivery rules belong to your product.
  • File access requires server-side authorization and ownership checks.

Questions

Does the starter generate PDF or Word files?

No. Implement and connect a generator for the formats your product needs.

Where is the cost defined?

Your business service defines the cost and confirms it on the server before recording consumption.

Continue reading

Credit accounting

Prepaid product design