API → Payments → Create the subscription for an org
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Possible values
team
: The team tier.enterprise
: The enterprise tier.
Returns
- 201 Created
successful creation
Name
Type
Req.
body
objectoptionalObject Properties
modeling_app
objectoptionalObject Properties
Possible values
free
: The free tier.pro
: The pro tier.team
: The team tier.enterprise
: The enterprise tier.
price
oneOfoptionalOne of
enterprise
objectoptionalObject Properties
Possible values
enterprise
Possible values
community
: Community support.standard
: Standard support.premium
: Premium support.priority
: Priority support.
Possible values
always
: The data is always used for training and cannot be turned off.default_on
: The data is used for training by default, but can be turned off.default_off
: The data is not used for training by default, but can be turned on.
type
oneOfoptionalOne of
individual
objectoptionalObject Properties
Possible values
individual
organization
objectoptional
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"
}'
201 Created
Response{
"modeling_app": {
"description": "ZHUXGz7K",
"features": [
{
"info": "TTU36czuXk70eKatf0DcwK"
}
],
"name": "team",
"pay_as_you_go_credits": "67.15",
"price": {
"interval": "day",
"price": "68.13",
"type": "flat"
},
"support_tier": "community",
"training_data_behavior": "default_off",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"modeling_app"
]
}
}