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": "2024-12-19T17:49:41.213Z",
"id": "550719ad-5451-40e2-8e11-c45c03423df3",
"map_id": "8f26390e-1ab5-44d4-868b-6feb374769f4",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "93.50",
"type": "per_user"
},
"monthly_credits_remaining": "43.93",
"pre_pay_cash_remaining": "22.38",
"pre_pay_credits_remaining": "66.49",
"subscription_details": {
"modeling_app": {
"annual_discount": 5,
"description": "o3ZK1PpWuzgVhQSfKbtYcMmDR",
"features": [
{
"info": "cji43HahMleFbikxCafUE"
}
],
"name": "pro",
"pay_as_you_go_credits": "74.64",
"price": {
"type": "enterprise"
},
"share_links": [
"password_protected"
],
"support_tier": "priority",
"training_data_behavior": "default_off",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "no50atxTI2ZXPGdAkji8MA",
"total_due": "72.00",
"updated_at": "2024-12-19T17:49:41.213Z"
}