Tasks
Tasks
Reconcile Stripe
Daily reconciliation job. Wired to Cloud Scheduler at 03:00 UTC.
Reads the last 24h of paid invoices from BOTH our DB and Stripe, diffs them, and returns a structured report. Clean = 200; any discrepancy = 500 with an ERROR log line that the primetime_stripe_reconciliation_ failure log-based metric picks up and routes to the ops alert policy.
NEVER auto-corrects — see services/reconciliation.py docstring.
post/api/tasks/reconcile-stripe
Request
- Base URLhttps://api.primetime.media (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-cloudscheduler-secretstring nullable
x-scheduler-secretstring nullable
authorizationstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.