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": false
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 21,
    "description": "Y9Nsv3Fue2birVvTzeLSk0h3qCz",
    "endpoints_included": [
      "modeling"
    ],
    "features": [
      {
        "info": "R5rwfZCdRV4uaRqurrMtd3ZtBISkvpLcMcLemwkw9"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 9,
    "monthly_pay_as_you_go_api_credits_monetary_value": "38.70",
    "name": "pro",
    "pay_as_you_go_api_credit_price": "63.95",
    "price": {
      "interval": "day",
      "price": "27.29",
      "type": "flat"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "community",
    "training_data_behavior": "always",
    "type": {
      "saml_sso": false,
      "type": "organization"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}