payments

Sync Subscription

Sync local subscription state with Stripe.

Safety net for when webhooks fail or are delayed. Checks Stripe for the customer's actual active subscription and updates the local DB + user plan accordingly.

Called by the frontend billings page when it detects a mismatch (e.g., paid invoice exists but user is on free plan).

post/payments/sync-subscription

Request

  • Base URL
    https://api.oxlo.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.oxlo.ai/payments/sync-subscription
  • Auth
    HTTP bearer

Response

Successful Response

unknown required

Changes

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