APIPaymentsUpdate the subscription for an org

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties
    • modeling_app

      string
      optional
      Possible values
      • team:  The team tier.
      • enterprise:  The enterprise tier.
    • pay_annually

      boolean
      optional

Returns

put
/org/payment/subscriptions
$ curl -X PUT "https://api.zoo.dev/org/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "enterprise",
  "pay_annually": true
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 6,
    "description": "27VvuBnqnidGC",
    "endpoints_included": [
      "ml"
    ],
    "features": [
      {
        "info": "i0BEqZD3lmf7ExHcFhsteb5Ka29MVrxYOgClDUumDqnUg"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 20,
    "monthly_pay_as_you_go_api_credits_monetary_value": "30.71",
    "name": "free",
    "pay_as_you_go_api_credit_price": "3.64",
    "price": {
      "type": "enterprise"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "premium",
    "training_data_behavior": "always",
    "type": {
      "saml_sso": true,
      "type": "organization"
    },
    "zoo_tools_included": [
      "diff_chrome_extension"
    ]
  }
}