API → Payments → Update balance for an orghidden
hidden
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
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
put
/orgs/{id}/payment/balance$ curl -X PUT "https://api.zoo.dev/orgs/{id}/payment/balance" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"monthly_credits_remaining": "61.33",
"pre_pay_cash_remaining": "28.68",
"pre_pay_credits_remaining": "88.41"
}'
200 OK
Response{
"created_at": "2025-04-25T16:39:41.046Z",
"id": "5c83156d-b6a4-40a2-889f-b9ff0147da77",
"map_id": "f4a53624-cc34-40c5-b585-4882c3165920",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "8.18",
"pre_pay_cash_remaining": "51.75",
"pre_pay_credits_remaining": "95.39",
"subscription_details": {
"modeling_app": {
"annual_discount": 29,
"description": "ZuhcZ6",
"endpoints_included": [
"modeling"
],
"features": [
{
"info": "VxQzpNi3SZLp0QemQ8u31OfFkoc3rtm7cyvoRTMyIi1yb1UtRgfHE5s4EOqCzTeqL5T"
}
],
"name": "enterprise",
"pay_as_you_go_credits": "12.32",
"price": {
"type": "enterprise"
},
"share_links": [
"public"
],
"support_tier": "premium",
"training_data_behavior": "always",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "wb",
"total_due": "99.06",
"updated_at": "2025-04-25T16:39:41.046Z"
}