API → Payments → Get balance for your user
Parameters
No parameters
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
/user/payment/balance$ curl "https://api.zoo.dev/user/payment/balance" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"created_at": "2024-09-07T21:57:08.281Z",
"id": "9f578da2-67af-47ed-a299-87859b28c1c0",
"map_id": "e3163a3b-2b55-49e9-97f2-1fb2944ebb62",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "27.34",
"type": "flat"
},
"monthly_credits_remaining": "37.09",
"pre_pay_cash_remaining": "34.98",
"pre_pay_credits_remaining": "85.83",
"subscription_details": {
"modeling_app": {
"description": "tA3nfw",
"features": [
{
"info": "LkAVfKl7cqzblYzaWCwqaUALW2AXiJ4iH7eMuyS2KlFv6SUsz4IdqHe1hiG4JPWp5nxOWNpQf2"
}
],
"name": "enterprise",
"pay_as_you_go_credits": "35.07",
"price": {
"interval": "year",
"price": "73.85",
"type": "per_user"
},
"support_tier": "premium",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "VOSTkrOF",
"total_due": "50.54",
"updated_at": "2024-09-07T21:57:08.281Z"
}