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-09-19T16:12:14.218Z",
"id": "060bf177-2ce3-4592-af8a-f06284ed7770",
"map_id": "ff3793da-0622-49f8-9715-e42dd5d9a7b4",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "69.05",
"pre_pay_cash_remaining": "65.11",
"pre_pay_credits_remaining": "28.96",
"subscription_details": {
"modeling_app": {
"description": "BSbajI9O43mxJbtz45k2HKo",
"features": [
{
"info": "VW5LW94AF0NR"
}
],
"name": "pro",
"pay_as_you_go_credits": "17.86",
"price": {
"type": "enterprise"
},
"support_tier": "priority",
"training_data_behavior": "default_on",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "tqABDP6bHRvBBI75o9KwZIp",
"total_due": "89.46",
"updated_at": "2024-09-19T16:12:14.218Z"
}