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