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

# GetStripePublishableKey

`POST /gitpod.v1.BillingService/GetStripePublishableKey`

Retrieves the Stripe publishable key for an organization.

 Use this method to:
 - Get the appropriate Stripe publishable key for frontend payment forms
 - Support different billing realms (production/sandbox)
 - Ensure proper isolation between organizations

 ### Examples

 - Get publishable key:

   Retrieves the Stripe publishable key for the organization.

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

## Request body

- GitpodV1GetStripePublishableKeyRequest
  - `organizationId` string, uuid, required — organization_id is the ID of the organization to get the publishable key for

## Response `200`

Success

- GitpodV1GetStripePublishableKeyResponse
  - `publishableKey` string, required — publishable_key is the Stripe publishable key for the organization's billing realm

## 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)
