APIPaymentsCreate the subscription for an org

Parameters

Name

Type

Req.

  • bodyapplication/json

    object
    optional
    Object Properties
    • modeling_app

      string
      optional
      Possible values
      • team:  The team tier.
      • enterprise:  The enterprise tier.
    • pay_annually

      boolean
      optional

Returns

  • 201 Created

    successful creation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
post
/org/payment/subscriptions
$ curl -X POST "https://api.zoo.dev/org/payment/subscriptions" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "modeling_app": "team",
  "pay_annually": true
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 10,
    "description": "OEET9qpAcZwwUnlF00ODIrpZLpUn",
    "endpoints_included": [
      "file"
    ],
    "features": [
      {
        "info": "SU4HtyaCsrXgPZhyU6E6NF8Ff3jqK2meJI"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 23,
    "monthly_pay_as_you_go_api_credits_monetary_value": "95.73",
    "name": "free",
    "pay_as_you_go_api_credit_price": "79.77",
    "price": {
      "interval": "year",
      "price": "69.99",
      "type": "per_user"
    },
    "share_links": [
      "organization_only"
    ],
    "support_tier": "priority_email",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}