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": "53.02",
"pre_pay_cash_remaining": "73.96",
"pre_pay_credits_remaining": "52.34"
}'
200 OK
Response{
"created_at": "2025-03-14T16:50:25.684Z",
"id": "f176d2c8-2658-4307-8863-a534b46e6d59",
"map_id": "3897e694-a586-480d-8ba3-0311528c4e7d",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_credits_remaining": "64.85",
"pre_pay_cash_remaining": "83.00",
"pre_pay_credits_remaining": "49.42",
"subscription_details": {
"modeling_app": {
"annual_discount": 3,
"description": "Q5BDr9MSq",
"features": [
{
"info": "u9Q1WJgF5FGrG3dszor87Cq"
}
],
"name": "team",
"pay_as_you_go_credits": "47.42",
"price": {
"interval": "day",
"price": "87.97",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "community",
"training_data_behavior": "default_off",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "z7BPsnEj9bE9VolIx",
"total_due": "40.75",
"updated_at": "2025-03-14T16:50:25.684Z"
}