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-05-22T02:04:22.934Z",
"id": "b08df003-836a-4dec-9ff8-38320ebf9045",
"map_id": "b835ca7b-4058-4e20-a4cd-cd8778f08bb9",
"modeling_app_enterprise_price": {
"interval": "month",
"price": "30.16",
"type": "flat"
},
"monthly_api_credits_remaining": 22,
"monthly_api_credits_remaining_monetary_value": "57.35",
"stable_api_credits_remaining": 14,
"stable_api_credits_remaining_monetary_value": "42.74",
"subscription_details": {
"modeling_app": {
"annual_discount": 6,
"description": "KvVgMKjo75Rp3JZjskESSx4yea5vOd",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "jHssFI77tywTwEN5EJiKHTqB2WavSikw01Paj3T9rymYxTGoagrBvt9Roz6UKQN"
}
],
"monthly_pay_as_you_go_api_credits": 3,
"monthly_pay_as_you_go_api_credits_monetary_value": "92.93",
"name": "team",
"pay_as_you_go_api_credit_price": "80.83",
"price": {
"type": "enterprise"
},
"share_links": [
"password_protected"
],
"support_tier": "standard_email",
"training_data_behavior": "always",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "mGo92B",
"total_due": "18.08",
"updated_at": "2025-05-22T02:04:22.934Z"
}