Skip to content

Which credit version should I use for current quotes and historical receipts?

The quoted credit version remains v4. The website now displays a denomination in which 45 v4 ledger credits equal one website credit. The developer API returns ledger units. Use the current price and quote for a new task, and keep old receipts in the units printed on them.

UNDERSTAND API CREDITS AND COSTSAISwapLab team · Editorial methodUpdated 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval
Article workflow: Identify the version; Compare like units; Refresh displayed estimates.
Workflow diagram: Identify the version → Compare like units → Refresh displayed estimates. Read the article for evidence and limits.

Current units and historical receipts are different records

A version conversion changes the units used to describe a balance. It is not by itself a price discount. Historical receipts retain their recorded units; the ledger can include explicit conversion entries, so do not multiply or rewrite past transactions blindly.

What to do next

  1. 01

    Identify the version

    Read the current catalog or usage credit_version and label amounts in your own records. Keep the version associated with a historical receipt rather than editing old numbers without context.

  2. 02

    Compare like units

    Compare amounts only after identifying their credit version. The current migration maps v3 units to v4 at tenfold, while older versions need their own conversion. Keep price-policy changes separate from denomination conversion.

  3. 03

    Refresh displayed estimates

    Use the current quote for the actual task and update cached pack descriptions. Show USD allocation where useful so a change in internal units does not look like arbitrary inflation.

A concrete example

Historical conversion example: a recorded 600 v3 credits correspond to 6,000 v4 ledger units before spending or adjustments. Convert a ledger amount to website credits only when producing that display.

Before you call it ready

  • Every compared amount has a known version.
  • Denomination and video price changes are separated.
  • Current pack descriptions use current units.

When to stop or choose another method

If an old receipt lacks enough context to interpret safely, keep it as historical evidence and use current authenticated records for new approvals. Do not overwrite audit history to make numbers look consistent.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation