usage

patch/usage/organization-subscription/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/usage/organization-subscription/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

next_renewal_datestring date nullable

Next due date for renewal.

subscription_pricestring decimal nullable

Price of the subscription.

subscription_future_tier'free' | 'basic' | 'basic_yearly' | 'custom' nullable
subscription_future_start_datestring date nullable

Next due date for renewal.

subscription_future_pricestring decimal nullable

Price of the future subscription.

status'active' | 'past_due' | 'unpaid' | 'canceled' | 'inactive'
wallet_refill_amountstring decimal

Amount to refill the wallet every month.

wallet_balancestring decimal
stripe_customer_id_teststring nullable

Stripe customer ID for test mode. NULL values are allowed.

stripe_customer_id_livestring nullable

Stripe customer ID for live mode. NULL values are allowed.

auto_recharge_enabledboolean
auto_recharge_amountstring decimal nullable

Amount to refill the wallet every month.

auto_recharge_thresholdstring decimal nullable

Threshold to trigger auto recharge.

payment_method_idstring nullable
custom_subscription_idstring nullable
organizationstring uuid required
subscription_tierinteger required

Response

OK

statusboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.