Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions robosystems_client/api/billing/create_checkout_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ def sync_detailed(

Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the
webhook activates it and provisions the resource after payment completes. Returns
billing_disabled=true with no URL when billing is off. Requires org owner role.
billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free
trial asks for no card but needs a verified email: an unverified account starting one gets 403.

Args:
body (CreateCheckoutRequest): Request to create a checkout session for payment collection.
Expand Down Expand Up @@ -132,7 +133,8 @@ def sync(

Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the
webhook activates it and provisions the resource after payment completes. Returns
billing_disabled=true with no URL when billing is off. Requires org owner role.
billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free
trial asks for no card but needs a verified email: an unverified account starting one gets 403.

Args:
body (CreateCheckoutRequest): Request to create a checkout session for payment collection.
Expand Down Expand Up @@ -160,7 +162,8 @@ async def asyncio_detailed(

Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the
webhook activates it and provisions the resource after payment completes. Returns
billing_disabled=true with no URL when billing is off. Requires org owner role.
billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free
trial asks for no card but needs a verified email: an unverified account starting one gets 403.

Args:
body (CreateCheckoutRequest): Request to create a checkout session for payment collection.
Expand Down Expand Up @@ -191,7 +194,8 @@ async def asyncio(

Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the
webhook activates it and provisions the resource after payment completes. Returns
billing_disabled=true with no URL when billing is off. Requires org owner role.
billing_disabled=true with no URL when billing is off. Requires org owner role. A repository's free
trial asks for no card but needs a verified email: an unverified account starting one gets 403.

Args:
body (CreateCheckoutRequest): Request to create a checkout session for payment collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ def sync_detailed(

End your free trial of a shared repository now and start the paid plan. The first period is charged
to the payment method on file; raw queries, the AI analyst and the plan's credits open once the
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or
when no payment method is on file yet.

Args:
graph_id (str): Repository name (e.g., 'sec')
Expand Down Expand Up @@ -128,7 +129,8 @@ def sync(

End your free trial of a shared repository now and start the paid plan. The first period is charged
to the payment method on file; raw queries, the AI analyst and the plan's credits open once the
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or
when no payment method is on file yet.

Args:
graph_id (str): Repository name (e.g., 'sec')
Expand Down Expand Up @@ -156,7 +158,8 @@ async def asyncio_detailed(

End your free trial of a shared repository now and start the paid plan. The first period is charged
to the payment method on file; raw queries, the AI analyst and the plan's credits open once the
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or
when no payment method is on file yet.

Args:
graph_id (str): Repository name (e.g., 'sec')
Expand Down Expand Up @@ -187,7 +190,8 @@ async def asyncio(

End your free trial of a shared repository now and start the paid plan. The first period is charged
to the payment method on file; raw queries, the AI analyst and the plan's credits open once the
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial.
payment clears, usually within a minute. Returns 400 when the subscription is not on a trial, or
when no payment method is on file yet.

Args:
graph_id (str): Repository name (e.g., 'sec')
Expand Down
5 changes: 3 additions & 2 deletions robosystems_client/models/graph_subscription_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ class GraphSubscriptionResponse:
current_period_end (None | str | Unset): Current billing period end
started_at (None | str | Unset): Subscription start date
canceled_at (None | str | Unset): Cancellation date
trial_ends_at (None | str | Unset): When the free trial ends and the first charge is made. Null for a
subscription that opened without a trial; kept after the trial is over.
trial_ends_at (None | str | Unset): When the free trial ends: the first charge is made then to a card on file,
and with none the subscription ends. Null for a subscription that opened without a trial; kept after the trial
is over.
ends_at (None | str | Unset): Subscription end date (when access will be revoked, especially relevant for
cancelled subscriptions)
operation_id (None | str | Unset): Operation ID for tracking async tier changes via SSE
Expand Down
Loading