---
title: "Recheck Team Billing"
method: POST
path: "/v1/billing/team/{team_id}/recheck-billing"
tags: ["billing"]
---

# Recheck Team Billing

`POST /v1/billing/team/{team_id}/recheck-billing`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/billing/team/{team_id}/recheck-billing`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/billing/team/:team_id/recheck-billing/post.ts> (a function with typed inputs; its response is checked against the schema)

Re-derive a team's billing-cache columns from live Stripe state.

Manual replacement for the deleted reconcile/backfill jobs: refreshes
``card_verified`` and ``card_fingerprint`` so the read-time inference gate
sees current Stripe data, and repairs a bricked verified-without-fingerprint
row. Off the inference request path; requires MANAGE_BILLING.

Raises:
    HTTPException: 403 when the caller lacks MANAGE_BILLING; 500 on
        unexpected failure.

## Path parameters

- `team_id` string, required

## Response `200`

Successful Response

- RecheckBillingResponse: Result of a manual Stripe billing-state recheck for a team.
  - `success` boolean, required
  - `card_verified` boolean, required
  - `card_fingerprint_present` boolean, required
  - `changed` boolean, required
  - `message` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/billing/team/:team_id/recheck-billing/post.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
