API → Payments → Get balance for your user
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
/user/payment/balance$ curl "https://api.zoo.dev/user/payment/balance" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2025-01-09T18:26:42.881Z",
"id": "68f8f11a-3f26-4c1a-bdaf-7c9f85d4b653",
"map_id": "70ec8c6b-7b43-4165-ae57-2256639572a5",
"modeling_app_enterprise_price": {
"interval": "week",
"price": "98.06",
"type": "per_user"
},
"monthly_credits_remaining": "53.63",
"pre_pay_cash_remaining": "46.76",
"pre_pay_credits_remaining": "93.52",
"subscription_details": {
"modeling_app": {
"annual_discount": 10,
"description": "P5avfFYyN",
"features": [
{
"info": "PDlM88Uk"
}
],
"name": "free",
"pay_as_you_go_credits": "37.34",
"price": {
"interval": "year",
"price": "82.91",
"type": "flat"
},
"share_links": [
"public"
],
"support_tier": "standard",
"training_data_behavior": "always",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "",
"total_due": "0.76",
"updated_at": "2025-01-09T18:26:42.881Z"
}