Skip to content

Which date should I use if a video API job is approved before midnight and settles afterward?

Keep both the approval timestamp and the actual job and credit event times. Define which one your project report uses, and retain the time zone rather than rewriting old history.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Identify the records

Compare work acceptance, submission and settled result. A usage screen can be based on a different cutoff from local editor logs.

Align reporting periods

Put source timestamps into a common zone and document what the report measures. Use the original amount and version for reconciliation.

Check one record that crosses midnight

Ensure it appears in exactly one settlement period and the project can still trace the earlier approval.

Pass condition

The chosen period rule produces consistent accounting without treating an unresolved approval as settled.

Sources

One task. A recoverable workflow.

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

Open API documentation