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-01-17T16:13:59.128Z",
"id": "fed27727-c0ac-4538-a4a6-ffda76d92a19",
"map_id": "c5ffb2b3-c5b8-491b-afd6-9774e4a68ebe",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "79.51",
"type": "flat"
},
"monthly_credits_remaining": "12.74",
"pre_pay_cash_remaining": "37.33",
"pre_pay_credits_remaining": "80.49",
"subscription_details": {
"modeling_app": {
"annual_discount": 7,
"description": "mLy2HSiZC61xLgsQwcLSMP",
"features": [
{
"info": "9LZqfvEcimB5GX4gueIbkrMzp"
}
],
"name": "free",
"pay_as_you_go_credits": "84.36",
"price": {
"interval": "year",
"price": "94.90",
"type": "flat"
},
"share_links": [
"password_protected"
],
"support_tier": "standard",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "pAeLVagKvGeC",
"total_due": "62.19",
"updated_at": "2025-01-17T16:13:59.128Z"
}