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-04-29T20:00:08.053Z",
"id": "5ce2b10a-a18b-45aa-a032-89e0591fa17a",
"map_id": "013302ed-7876-403c-9f76-8b8205c0f7ec",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "30.51",
"pre_pay_cash_remaining": "67.51",
"pre_pay_credits_remaining": "3.92",
"subscription_details": {
"modeling_app": {
"description": "wGN",
"features": [
{
"info": "L9PK"
}
],
"name": "free",
"pay_as_you_go_credits": "91.60",
"price": {
"type": "enterprise"
},
"support_tier": "standard",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "UiJ7LRdlUpp4oRyXoTeAhjtx1N",
"total_due": "95.44",
"updated_at": "2024-04-29T20:00:08.053Z"
}