---
title: "ReconcileBilling"
method: POST
path: "/gitpod.v1.BillingService/ReconcileBilling"
tags: ["gitpod.v1.BillingService"]
---

# ReconcileBilling

`POST /gitpod.v1.BillingService/ReconcileBilling`

Reconciles billing state for an organization.

 Use this method to:
 - Ensure billing state is up-to-date with external providers (Stripe, Metronome)
 - Sync organization tier based on active contracts
 - Update credit status and payment failure state

 Call this when the user navigates to the billing page to ensure
 they see the most current billing information.

 ### Examples

 - Reconcile billing:

   Triggers billing reconciliation for the organization.

   ```yaml
   organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
   ```

## Request body

- GitpodV1ReconcileBillingRequest
  - `organizationId` string, uuid, required — organization_id is the ID of the organization to reconcile billing for

## Response `200`

Success

- GitpodV1ReconcileBillingResponse

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/versions/44d50c2ac284/schema)
