APIPaymentsUpdate the user's subscription

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

put
/user/payment/subscriptions
$ curl -X PUT "https://api.zoo.dev/user/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "free",
  "pay_annually": false
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 12,
    "description": "pdyR",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "Mr4"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 9,
    "monthly_pay_as_you_go_api_credits_monetary_value": "61.53",
    "name": "team",
    "pay_as_you_go_api_credit_price": "17.66",
    "price": {
      "interval": "week",
      "price": "26.58",
      "type": "flat"
    },
    "share_links": [
      "password_protected"
    ],
    "support_tier": "community",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "diff_chrome_extension"
    ]
  }
}