API → PaymentsUpdate balance for an userhidden
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
/users/{id}/payment/balance$ curl -X PUT "https://api.zoo.dev/users/{id}/payment/balance" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"monthly_api_credits_remaining_monetary_value": "2.40",
"stable_api_credits_remaining_monetary_value": "63.87"
}'
200 OK
Response{
"created_at": "2025-06-13T18:06:38.769Z",
"id": "d1b6472b-291d-47a8-8302-e157c1a7d2d0",
"map_id": "c91f90e3-ff34-4b9d-85da-85f6e14557af",
"modeling_app_enterprise_price": {
"type": "enterprise"
},
"monthly_api_credits_remaining": 21,
"monthly_api_credits_remaining_monetary_value": "74.11",
"stable_api_credits_remaining": 28,
"stable_api_credits_remaining_monetary_value": "23.12",
"subscription_details": {
"modeling_app": {
"annual_discount": 26,
"description": "RVbWEdlTEzdQCe4NhwAfE8",
"endpoints_included": [
"file"
],
"features": [
{
"info": "x95OHsy91hJ9MjkEVRk6"
}
],
"monthly_pay_as_you_go_api_credits": 6,
"monthly_pay_as_you_go_api_credits_monetary_value": "75.46",
"name": "pro",
"pay_as_you_go_api_credit_price": "87.69",
"price": {
"interval": "day",
"price": "3.13",
"type": "per_user"
},
"share_links": [
"organization_only"
],
"support_tier": "priority_email",
"training_data_behavior": "default_off",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "o9YI",
"total_due": "90.45",
"updated_at": "2025-06-13T18:06:38.769Z"
}