Refresh billing state
POST/api/billing/sync
x-audience: "session"
Browser session only, signed-in account owner. No body. Origin must exactly match the configured application origin. Synchronizes provider state and returns updated summary.
Responses
- 200
- 401
- 403
- 404
- 409
- 429
- 503
Success
Missing, invalid or revoked credentials.
Required scope or account access missing.
account missing.
Existing subscription/conflicting billing operation where applicable.
Shared client-IP or account request allowance exhausted. Retry after the indicated number of seconds. Browser authentication errors can use a different response format.
Response Headers
Cache-Control
no-store
Retry-After
Seconds to wait before retrying.
Billing/provider unavailable. Shared request limiting can also return 503 rate_limit_unavailable with Cache-Control: no-store.
Response Headers
Cache-Control
Request limiter responses use no-store.