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": "8.92",
"stable_api_credits_remaining_monetary_value": "55.67"
}'
200 OK
Response{
"created_at": "2025-06-13T18:06:28.781Z",
"id": "dc5d4e15-62c0-4554-acbc-1143ec1f1287",
"map_id": "0230560d-68e9-4bee-9f69-7f081fd158c5",
"modeling_app_enterprise_price": {
"interval": "month",
"price": "62.90",
"type": "flat"
},
"monthly_api_credits_remaining": 28,
"monthly_api_credits_remaining_monetary_value": "50.57",
"stable_api_credits_remaining": 27,
"stable_api_credits_remaining_monetary_value": "43.97",
"subscription_details": {
"modeling_app": {
"annual_discount": 9,
"description": "F1PN3sj4rkp8XEHLdAc9JXrlod4m",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "faQqCPJEnF04bGybkm4sTtApu7P8infOnR8dUxU02BoyMxDefQUQtAuzZfcZAjaVQGETpV0ED1Bs"
}
],
"monthly_pay_as_you_go_api_credits": 17,
"monthly_pay_as_you_go_api_credits_monetary_value": "30.61",
"name": "team",
"pay_as_you_go_api_credit_price": "4.43",
"price": {
"interval": "month",
"price": "72.05",
"type": "flat"
},
"share_links": [
"password_protected"
],
"support_tier": "priority_email",
"training_data_behavior": "default_off",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "ORCbhtXT",
"total_due": "30.07",
"updated_at": "2025-06-13T18:06:28.781Z"
}