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": true
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 11,
    "description": "61E3m",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "EnRzIDUakGmbb6QKbZFhbM1YUjOlRGT27IRR0n77943"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 24,
    "monthly_pay_as_you_go_api_credits_monetary_value": "44.98",
    "name": "free",
    "pay_as_you_go_api_credit_price": "51.52",
    "price": {
      "interval": "year",
      "price": "86.99",
      "type": "flat"
    },
    "share_links": [
      "password_protected"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "default_off",
    "type": {
      "saml_sso": true,
      "type": "organization"
    },
    "zoo_tools_included": [
      "diff_chrome_extension"
    ]
  }
}