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-12-19T17:49:33.871Z",
"id": "c70ae8b5-c3bb-4959-8e27-b486d7038d3b",
"map_id": "e1877835-9988-4780-b630-726c2b45f5fc",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "72.10",
"pre_pay_cash_remaining": "13.69",
"pre_pay_credits_remaining": "100.92",
"subscription_details": {
"modeling_app": {
"annual_discount": 18,
"description": "HlE6LDLoS2kJy59FaZLoBoL3SVLwBE",
"features": [
{
"info": "QEXAJbDoxiqPgzU1Q6BDpl9IApZWvvwBO7F7DKw2"
}
],
"name": "free",
"pay_as_you_go_credits": "65.35",
"price": {
"interval": "year",
"price": "94.57",
"type": "flat"
},
"share_links": [
"public"
],
"support_tier": "priority",
"training_data_behavior": "default_on",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "g5Cb",
"total_due": "88.26",
"updated_at": "2024-12-19T17:49:33.871Z"
}