API → PaymentsGet the subscription for a user
Parameters
No parameters
Returns
- 200 OK
successful operation
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
get
/user/payment/subscriptions$ curl "https://api.zoo.dev/user/payment/subscriptions" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"modeling_app": {
"annual_discount": 14,
"description": "d75zYuOR0GRGy",
"endpoints_included": [
"modeling"
],
"features": [
{
"info": "i0EN9g5gnBQFeqqpwbtKeEJRzNugvKdpSD8kAzBOcCNNZ6pMMEid2tNSYFQPISBY4HPKk"
}
],
"monthly_pay_as_you_go_api_credits": 30,
"monthly_pay_as_you_go_api_credits_monetary_value": "86.73",
"name": "pro",
"pay_as_you_go_api_credit_price": "20.83",
"price": {
"interval": "day",
"price": "76.57",
"type": "flat"
},
"share_links": [
"password_protected"
],
"support_tier": "premium",
"training_data_behavior": "default_off",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
}