API → Payments → Get balance for an orghidden
hidden
Parameters
Name
Type
Req.
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
/orgs/{id}/payment/balance$ curl "https://api.zoo.dev/orgs/{id}/payment/balance" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2024-09-19T16:12:18.378Z",
"id": "6d6d28dc-7c88-4ce7-a2dc-399eb6c19848",
"map_id": "cdace23d-a415-47f7-92a3-25467e9bdaef",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "60.00",
"type": "flat"
},
"monthly_credits_remaining": "67.49",
"pre_pay_cash_remaining": "58.69",
"pre_pay_credits_remaining": "25.11",
"subscription_details": {
"modeling_app": {
"description": "v4luIi3SAdYtvVWe6uinVYO7EZY6",
"features": [
{
"info": "tyfrUrPpSBdWX5L"
}
],
"name": "enterprise",
"pay_as_you_go_credits": "12.88",
"price": {
"interval": "day",
"price": "31.35",
"type": "flat"
},
"support_tier": "community",
"training_data_behavior": "always",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "SkT7WwZhVcgFox7LRNz",
"total_due": "38.94",
"updated_at": "2024-09-19T16:12:18.378Z"
}