APIPaymentsCreate the subscription for a user

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
post
/user/payment/subscriptions
$ curl -X POST "https://api.zoo.dev/user/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "free",
  "pay_annually": false
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 16,
    "description": "DI2MaSA4wj2YN8qrpRcpdsrGR8v",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "qpUqoZ6ltCMB54jR3iQzEj3dyOUlmnMhyVjYf9emMCpEzpktIMtuxu1PFh2"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 7,
    "monthly_pay_as_you_go_api_credits_monetary_value": "33.16",
    "name": "enterprise",
    "pay_as_you_go_api_credit_price": "32.26",
    "price": {
      "interval": "year",
      "price": "97.33",
      "type": "per_user"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "text_to_cad"
    ]
  }
}