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

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": "enterprise",
  "pay_annually": false
}'
201 Created
Response
{
  "modeling_app": {
    "annual_discount": 2,
    "description": "",
    "endpoints_included": [
      "modeling"
    ],
    "features": [
      {
        "info": "WTzo8DMGVbtwGBGIoJi9Fmb6L1A"
      }
    ],
    "monthly_pay_as_you_go_api_credits": 20,
    "monthly_pay_as_you_go_api_credits_monetary_value": "87.78",
    "name": "pro",
    "pay_as_you_go_api_credit_price": "22.01",
    "price": {
      "interval": "week",
      "price": "65.11",
      "type": "flat"
    },
    "share_links": [
      "public"
    ],
    "support_tier": "community",
    "training_data_behavior": "default_on",
    "type": {
      "type": "individual"
    },
    "zoo_tools_included": [
      "modeling_app"
    ]
  }
}