v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
manage

Retrieve the Stripe billing portal URL for a specific organization

get/manage/api/organization/billing_portal

Query parameters

organization_idstring required

Base64 encoded organization ID to retrieve the billing portal for

Response

Billing portal URL retrieved successfully

has_stripe_setupboolean required

Whether or not Stripe billing is set up for the organization's API usage.

stripe_billing_urlstring

The URL for an organization admin to manage the organization's Stripe billing, including adding or removing payment methods. Absent when no Stripe customer exists for the organization.

Example response

{
  "has_stripe_setup": true,
  "stripe_billing_url": "stripe_billing_url"
}