APIPaymentsUpdate balance for an user
hidden

Parameters

Name

Type

Req.

Returns

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"
}