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-10-29T16:17:49.052Z",
"id": "d7d2afd7-1e31-4c7a-b9e1-895e40726701",
"map_id": "2d787f2b-59ba-4d2f-8372-c33d6262cbea",
"modeling_app_enterprise_price": {
"interval": "year",
"price": "46.82",
"type": "per_user"
},
"monthly_credits_remaining": "26.29",
"pre_pay_cash_remaining": "74.44",
"pre_pay_credits_remaining": "7.82",
"subscription_details": {
"modeling_app": {
"annual_discount": 8,
"description": "Pz3amAtzjTmTrH",
"features": [
{
"info": "yTsPSyKn3NsTvxNzs9"
}
],
"name": "pro",
"pay_as_you_go_credits": "25.46",
"price": {
"interval": "week",
"price": "32.49",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "standard",
"training_data_behavior": "default_on",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "Py2OVEtaF",
"total_due": "48.83",
"updated_at": "2024-10-29T16:17:49.052Z"
}