API → Payments → Get balance for your org
Parameters
No parameters
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
modeling_app_enterprise_price
oneOfoptionalOne of
enterprise
objectoptionalObject Properties
Possible values
enterprise
subscription_details
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
/org/payment/balance$ curl "https://api.zoo.dev/org/payment/balance" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2024-07-27T01:16:00.054Z",
"id": "45db567b-5c2c-451a-ba6c-debb72b98412",
"map_id": "e7cc90d4-88be-4b58-8d30-36a49cfa584a",
"modeling_app_enterprise_price": {
"interval": "week",
"price": "13.21",
"type": "per_user"
},
"monthly_credits_remaining": "29.38",
"pre_pay_cash_remaining": "100.91",
"pre_pay_credits_remaining": "25.04",
"subscription_details": {
"modeling_app": {
"description": "LLu1f1ISWLqh5HrsQkBLf",
"features": [
{
"info": "8h4UJ79YBdtOAoILpg11ElA7"
}
],
"name": "pro",
"pay_as_you_go_credits": "49.22",
"price": {
"type": "enterprise"
},
"support_tier": "standard",
"training_data_behavior": "default_on",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "XJF6K7uHBb4I4EvilKqOhkJaOWt",
"total_due": "73.51",
"updated_at": "2024-07-27T01:16:00.054Z"
}