API → PaymentsGet 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_email
: Standard email support.priority_email
: Priority email support.premium
: Premium 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-06-13T18:06:39.409Z",
"id": "25ec446b-a1fa-4008-8778-d2e84edb92fd",
"map_id": "21867790-3262-4caf-ba9f-7c936e56b566",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_api_credits_remaining": 27,
"monthly_api_credits_remaining_monetary_value": "48.83",
"stable_api_credits_remaining": 26,
"stable_api_credits_remaining_monetary_value": "31.07",
"subscription_details": {
"modeling_app": {
"annual_discount": 22,
"description": "eNuUrohWA",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "zwaUy"
}
],
"monthly_pay_as_you_go_api_credits": 30,
"monthly_pay_as_you_go_api_credits_monetary_value": "79.94",
"name": "pro",
"pay_as_you_go_api_credit_price": "85.42",
"price": {
"interval": "year",
"price": "15.76",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "standard_email",
"training_data_behavior": "default_off",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "SdMZDO5irwgS",
"total_due": "78.17",
"updated_at": "2025-06-13T18:06:39.409Z"
}