API → Payments → Get balance for an userhidden
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
/users/{id}/payment/balance$ curl "https://api.zoo.dev/users/{id}/payment/balance" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2025-04-21T20:02:14.911Z",
"id": "d0414b77-aed8-4e0b-9b0c-72db7d3a6365",
"map_id": "464fd8f3-98d8-44c0-a51f-df776d49b76b",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "16.01",
"pre_pay_cash_remaining": "25.31",
"pre_pay_credits_remaining": "89.33",
"subscription_details": {
"modeling_app": {
"annual_discount": 32,
"description": "1JL0OIoz60kfidJMg",
"endpoints_included": [
"file"
],
"features": [
{
"info": "WGMD2ZQLfAucqG1ArCNIzQSd"
}
],
"name": "pro",
"pay_as_you_go_credits": "96.28",
"price": {
"interval": "day",
"price": "100.37",
"type": "per_user"
},
"share_links": [
"organization_only"
],
"support_tier": "priority",
"training_data_behavior": "always",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "QhjFgZAKss6ckIwTl4G0VGt6IOnZ4",
"total_due": "5.30",
"updated_at": "2025-04-21T20:02:14.912Z"
}