API → Payments → Update 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
: Standard support.premium
: Premium support.priority
: Priority 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_credits_remaining": "43.37",
"pre_pay_cash_remaining": "80.31",
"pre_pay_credits_remaining": "82.85"
}'
200 OK
Response{
"created_at": "2025-01-09T18:26:33.636Z",
"id": "547681eb-e5cf-4b94-8cde-bbaaef04aa9f",
"map_id": "7390bdda-38aa-4380-aa56-a459d8ffea96",
"modeling_app_enterprise_price": {
"interval": "month",
"price": "22.59",
"type": "per_user"
},
"monthly_credits_remaining": "70.76",
"pre_pay_cash_remaining": "34.98",
"pre_pay_credits_remaining": "88.51",
"subscription_details": {
"modeling_app": {
"annual_discount": 23,
"description": "",
"features": [
{
"info": "mnDHFdZzLYepYfbpvBy1XzHj3to5xmyAuAapHqovO8hvz7hk6ZRGShfyQ9ZgYlUS"
}
],
"name": "free",
"pay_as_you_go_credits": "1.58",
"price": {
"type": "enterprise"
},
"share_links": [
"public"
],
"support_tier": "standard",
"training_data_behavior": "default_off",
"type": {
"type": "individual"
},
"zoo_tools_included": [
"text_to_cad"
]
}
},
"subscription_id": "9BJT1u0JyDDWtRMzYzeWSKROSp2L5",
"total_due": "98.28",
"updated_at": "2025-01-09T18:26:33.636Z"
}