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
: 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_api_credits_remaining_monetary_value": "24.10",
"stable_api_credits_remaining_monetary_value": "86.48"
}'
200 OK
Response{
"created_at": "2025-05-08T23:02:58.592Z",
"id": "d20d7f97-74e9-4290-9896-deba7301861c",
"map_id": "4abf511c-6d9a-41f7-bfb6-c486db52a5f1",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "88.85",
"type": "per_user"
},
"monthly_api_credits_remaining": 5,
"monthly_api_credits_remaining_monetary_value": "1.91",
"stable_api_credits_remaining": 7,
"stable_api_credits_remaining_monetary_value": "41.85",
"subscription_details": {
"modeling_app": {
"annual_discount": 10,
"description": "7Ab",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "2q1zFfWDiKkbUiWdSeOJUHjHsPTvB9R2M"
}
],
"monthly_pay_as_you_go_api_credits": 18,
"monthly_pay_as_you_go_api_credits_monetary_value": "6.54",
"name": "enterprise",
"pay_as_you_go_api_credit_price": "49.81",
"price": {
"interval": "year",
"price": "31.71",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "priority",
"training_data_behavior": "always",
"type": {
"saml_sso": true,
"type": "organization"
},
"zoo_tools_included": [
"diff_chrome_extension"
]
}
},
"subscription_id": "DrOyeEM2",
"total_due": "90.95",
"updated_at": "2025-05-08T23:02:58.592Z"
}