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

Headers

x-cloudscheduler-secretstring nullable
x-scheduler-secretstring nullable
authorizationstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/tasks/reconcile-stripe:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.