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": "2024-12-06T17:03:28.649Z",
"id": "be0eb82b-25f2-42f4-8a9a-5d706fc9e56c",
"map_id": "64d5f76d-779d-498b-89c0-10fb42c4d5c1",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "37.86",
"type": "flat"
},
"monthly_credits_remaining": "96.18",
"pre_pay_cash_remaining": "36.98",
"pre_pay_credits_remaining": "79.11",
"subscription_details": {
"modeling_app": {
"annual_discount": 14,
"description": "",
"features": [
{
"info": "ftZEEZ3SL72HRgTl65r8XHghCrRMlj3axgmoqj0n52lajJPofY"
}
],
"name": "pro",
"pay_as_you_go_credits": "15.10",
"price": {
"type": "enterprise"
},
"share_links": [
"password_protected"
],
"support_tier": "standard",
"training_data_behavior": "default_on",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "ukAyBtc",
"total_due": "35.69",
"updated_at": "2024-12-06T17:03:28.649Z"
}