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": "84.34",
"stable_api_credits_remaining_monetary_value": "19.00"
}'
200 OK
Response{
"created_at": "2025-07-04T12:26:20.582Z",
"id": "fe90ee2a-944d-4ab5-b699-a13d0f0e3f3e",
"map_id": "5e4196d4-4952-4919-92be-e582afc5ee33",
"modeling_app_enterprise_price": {
"interval": "month",
"price": "13.18",
"type": "per_user"
},
"monthly_api_credits_remaining": 3,
"monthly_api_credits_remaining_monetary_value": "52.74",
"stable_api_credits_remaining": 32,
"stable_api_credits_remaining_monetary_value": "14.99",
"subscription_details": {
"modeling_app": {
"annual_discount": 26,
"description": "1J4HaSbM",
"endpoints_included": [
"modeling"
],
"features": [
{
"info": "8yXjPgzBoGFaysmNBZmEgYHBIeZTipUFusZ4wzrL7tpii3VnGCd4BE"
}
],
"monthly_pay_as_you_go_api_credits": 16,
"monthly_pay_as_you_go_api_credits_monetary_value": "75.78",
"name": "team",
"pay_as_you_go_api_credit_price": "81.96",
"price": {
"interval": "week",
"price": "30.15",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "premium",
"training_data_behavior": "always",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "yREAQZ",
"total_due": "27.80",
"updated_at": "2025-07-04T12:26:20.582Z"
}