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": "pro",
  "pay_annually": false
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 4,
    "description": "wf83cZbpFhBeHB8KY",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "gaho3aUInZA16KIjdHd8llM5"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 17,
    "monthly_pay_as_you_go_api_credits_monetary_value": "66.95",
    "name": "team",
    "pay_as_you_go_api_credit_price": "92.58",
    "price": {
      "type": "enterprise"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "standard_email",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "diff_chrome_extension"
    ]
  }
}