v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
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.

    organizationId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
    
post/gitpod.v1.BillingService/GetStripePublishableKey

Request body

organizationIdstring uuid required

organization_id is the ID of the organization to get the publishable key for

Response

Success

publishableKeystring required

publishable_key is the Stripe publishable key for the organization's billing realm