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.plus
: The plus 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": "34.36",
"stable_api_credits_remaining_monetary_value": "14.50"
}'
200 OK
Response{
"created_at": "2025-08-14T21:15:01.101Z",
"id": "b3214490-c947-4bd7-8d18-504f8af10f07",
"map_id": "2d41a91e-96ef-424c-8750-cbde537d43b5",
"modeling_app_enterprise_price": {
"interval": "day",
"price": "66.39",
"type": "per_user"
},
"monthly_api_credits_remaining": 2,
"monthly_api_credits_remaining_monetary_value": "91.79",
"stable_api_credits_remaining": 13,
"stable_api_credits_remaining_monetary_value": "31.20",
"subscription_details": {
"modeling_app": {
"annual_discount": 32,
"description": "nFlc65B",
"endpoints_included": [
"modeling"
],
"features": [
{
"info": "tflhXq4PosaYWfWRa2Q"
}
],
"monthly_pay_as_you_go_api_credits": 6,
"monthly_pay_as_you_go_api_credits_monetary_value": "37.80",
"name": "free",
"pay_as_you_go_api_credit_price": "89.42",
"price": {
"interval": "day",
"price": "8.57",
"type": "flat"
},
"share_links": [
"organization_only"
],
"support_tier": "community",
"training_data_behavior": "always",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"modeling_app"
]
}
},
"subscription_id": "DrzyUNc2Uuj0rYnjms8W4w526C",
"total_due": "75.52",
"updated_at": "2025-08-14T21:15:01.101Z"
}