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": "87.87",
"stable_api_credits_remaining_monetary_value": "23.98"
}'
200 OK
Response{
"created_at": "2025-07-14T12:16:58.701Z",
"id": "b1a3b06d-1b99-4946-8326-0859d0011548",
"map_id": "b6ee6f09-47e8-434a-8963-97ca3cdac6d9",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_api_credits_remaining": 10,
"monthly_api_credits_remaining_monetary_value": "48.17",
"stable_api_credits_remaining": 11,
"stable_api_credits_remaining_monetary_value": "95.66",
"subscription_details": {
"modeling_app": {
"annual_discount": 19,
"description": "L1AlMxqIK1NDjq8L",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "dzcEgxktd4xosBs0EkkXZrFSMUCHL06vSCrSeRjXJ539Qcs8OqqtikYURQQKUe"
}
],
"monthly_pay_as_you_go_api_credits": 20,
"monthly_pay_as_you_go_api_credits_monetary_value": "50.71",
"name": "free",
"pay_as_you_go_api_credit_price": "70.01",
"price": {
"type": "enterprise"
},
"share_links": [
"public"
],
"support_tier": "standard_email",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "pCA2oEhe3DezUDj4",
"total_due": "61.39",
"updated_at": "2025-07-14T12:16:58.701Z"
}