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-10-18T02:48:56.426Z",
"id": "bc75a516-09ee-4eb5-bd45-32eee086fe9c",
"map_id": "d976d8eb-2a5c-4bec-b199-e98c9200c3ea",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "17.78",
"type": "flat"
},
"monthly_credits_remaining": "50.31",
"pre_pay_cash_remaining": "81.03",
"pre_pay_credits_remaining": "82.89",
"subscription_details": {
"modeling_app": {
"annual_discount": 25,
"description": "yV5obhbSoNK3IWvDbn7R",
"features": [
{
"info": "7iF5UG2IkQTIbR8pnpWFUDFTOFI5moe0A7bB1CWbFI5LdzQePKWLSVrpf8YyAs9jF"
}
],
"name": "pro",
"pay_as_you_go_credits": "22.20",
"price": {
"type": "enterprise"
},
"share_links": [
"password_protected"
],
"support_tier": "premium",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "",
"total_due": "68.91",
"updated_at": "2024-10-18T02:48:56.427Z"
}