---
title: "SetStripeCustomerID"
method: POST
path: "/gitpod.v1.OrganizationService/SetStripeCustomerID"
tags: ["gitpod.v1.OrganizationService"]
deprecated: true
---

# SetStripeCustomerID

`POST /gitpod.v1.OrganizationService/SetStripeCustomerID`

> **Deprecated.**

Sets the Stripe customer ID for an organization's billing configuration.

 Use this method to associate an existing Stripe customer with an organization
 during enterprise customer onboarding.

 ### Examples

 Deprecated: Use BillingService.SetupEnterpriseBilling instead.
 This method is no longer functional and will return an Unimplemented error.

 - Set Stripe customer ID:

   Associates a Stripe customer with an organization.

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

## Request body

- GitpodV1SetStripeCustomerIDRequest
  - `organizationId` string, uuid, required — organization_id is the ID of the organization to update
  - `stripeCustomerId` string, required — stripe_customer_id is the Stripe customer ID to associate with the organization

## Response `200`

Success

- GitpodV1SetStripeCustomerIDResponse

## 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/revisions/44d50c2ac284/schema)
