API → PaymentsUpdate 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_email
: Standard email support.priority_email
: Priority email support.premium
: Premium 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_api_credits_remaining_monetary_value": "89.77",
"stable_api_credits_remaining_monetary_value": "41.42"
}'
200 OK
Response{
"created_at": "2025-05-22T02:04:09.490Z",
"id": "874e3775-6fab-4f9b-b94f-7aac93b5fe22",
"map_id": "066ecbcc-a8cb-4fad-9a42-f2ddf3caf903",
"modeling_app_enterprise_price": {
"interval": "month",
"price": "40.33",
"type": "flat"
},
"monthly_api_credits_remaining": 14,
"monthly_api_credits_remaining_monetary_value": "42.53",
"stable_api_credits_remaining": 12,
"stable_api_credits_remaining_monetary_value": "29.63",
"subscription_details": {
"modeling_app": {
"annual_discount": 11,
"description": "eHoJSeBfoLAXi5Ht15Cn9j",
"endpoints_included": [
"modeling"
],
"features": [
{
"info": "u8M2xmY2XPSuFRzPgHINqXKwmv3fJC5BaLwxEWXjgDUPyho77CawEiV4HC1Zn0Wyf1a3r"
}
],
"monthly_pay_as_you_go_api_credits": 12,
"monthly_pay_as_you_go_api_credits_monetary_value": "35.86",
"name": "enterprise",
"pay_as_you_go_api_credit_price": "67.14",
"price": {
"interval": "week",
"price": "92.49",
"type": "per_user"
},
"share_links": [
"organization_only"
],
"support_tier": "priority_email",
"training_data_behavior": "default_on",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "9Ih45TaXfXaCjdDLjhA",
"total_due": "38.41",
"updated_at": "2025-05-22T02:04:09.490Z"
}