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": "40.54",
"stable_api_credits_remaining_monetary_value": "58.90"
}'
200 OK
Response{
"created_at": "2025-07-04T12:26:28.975Z",
"id": "8618473b-bc00-4007-afc2-884fcdda97c8",
"map_id": "9d4fd422-d138-419f-b190-7e6dcaba27b0",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "46.15",
"type": "flat"
},
"monthly_api_credits_remaining": 3,
"monthly_api_credits_remaining_monetary_value": "77.94",
"stable_api_credits_remaining": 13,
"stable_api_credits_remaining_monetary_value": "40.29",
"subscription_details": {
"modeling_app": {
"annual_discount": 16,
"description": "yZ4NGNs10",
"endpoints_included": [
"ml"
],
"features": [
{
"info": "eJz2TFAwvf33i2DDtcgERal0FF3q8DX4"
}
],
"monthly_pay_as_you_go_api_credits": 23,
"monthly_pay_as_you_go_api_credits_monetary_value": "76.04",
"name": "free",
"pay_as_you_go_api_credit_price": "97.49",
"price": {
"type": "enterprise"
},
"share_links": [
"public"
],
"support_tier": "standard_email",
"training_data_behavior": "default_on",
"type": {
"saml_sso": false,
"type": "organization"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "4ynwWuCui5ju41AEgfdDNol",
"total_due": "73.34",
"updated_at": "2025-07-04T12:26:28.975Z"
}