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-19T16:12:21.391Z",
"id": "70ed83a0-b655-4607-8ae6-27a1cf52dd04",
"map_id": "97202e14-ae65-4633-9776-d262eea8f822",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "4.29",
"type": "per_user"
},
"monthly_credits_remaining": "3.01",
"pre_pay_cash_remaining": "86.77",
"pre_pay_credits_remaining": "68.89",
"subscription_details": {
"modeling_app": {
"description": "q5F05ceS2I3ImtVmP",
"features": [
{
"info": "gBqgEXfgFUACbmDPzIhToTYmkbm3gumHPzB220E6Izb6kYkJyIUz4Xeyj"
}
],
"name": "enterprise",
"pay_as_you_go_credits": "25.08",
"price": {
"interval": "month",
"price": "63.72",
"type": "flat"
},
"support_tier": "standard",
"training_data_behavior": "default_on",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "gORrZgIaaGM0iLpXcZ",
"total_due": "24.16",
"updated_at": "2024-09-19T16:12:21.391Z"
}