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-03-12T01:37:23.902Z",
"id": "9c28e832-5a34-44c6-9102-12d436df1112",
"map_id": "b76b58f4-b2ea-46dc-b137-11e4c13667d3",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "25.72",
"type": "flat"
},
"monthly_credits_remaining": "73.86",
"pre_pay_cash_remaining": "85.11",
"pre_pay_credits_remaining": "38.19",
"subscription_details": {
"modeling_app": {
"annual_discount": 2,
"description": "JrqQUqipozgVtlGH75y03hp",
"features": [
{
"info": "NLHfukh1fqxqLbxyX6Gy6I4hcia2onSScqgih"
}
],
"name": "enterprise",
"pay_as_you_go_credits": "90.51",
"price": {
"type": "enterprise"
},
"share_links": [
"password_protected"
],
"support_tier": "priority",
"training_data_behavior": "default_on",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "Rusx0unDjRmKWMrkJVN7HW",
"total_due": "70.93",
"updated_at": "2025-03-12T01:37:23.902Z"
}