APIPaymentsUpdate the user's subscription

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
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": true
}'
200 OK
Response
{
  "modeling_app": {
    "annual_discount": 19,
    "description": "uVwQc",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "oW8dsUjLPgzBJ3Ik0Kz1BKu13xDtCj3K9tOeq25Sena9tLR5Iib2wGFzpi"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 11,
    "monthly_pay_as_you_go_api_credits_monetary_value": "35.54",
    "name": "enterprise",
    "pay_as_you_go_api_credit_price": "80.64",
    "price": {
      "interval": "month",
      "price": "25.18",
      "type": "flat"
    },
    "share_links": [
      "password_protected"
    ],
    "support_tier": "standard_email",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "diff_chrome_extension"
    ]
  }
}