Authorizations
Enter your JWT in the format: Bearer {token}
Path Parameters
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The ID of the billing account, which corresponds to a Stripe Customer ID (cus_...).
"cus_a1b2c3d4e5f6g7h8"
Response
Trial eligibility status.
Whether the workspace qualifies for a new trial subscription.
true
Whether the billing account has a default payment method on file.
false
A convenient flag indicating if a new subscription can be created (either trial eligible or has a payment method).
true
An object detailing what is needed to create a subscription if can_create_subscription is false.
{
  "add_payment_method": "A default payment method must be added before creating subscriptions."
}