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": "51.69",
  "stable_api_credits_remaining_monetary_value": "66.99"
}'
200 OK
Response
{
  "created_at": "2025-07-07T14:49:12.321Z",
  "id": "c3e083d1-8435-48a8-9c1e-41cb0fa5f046",
  "map_id": "cda43285-3bd3-4d74-ae99-9417bf93ec40",
  "modeling_app_enterprise_price": {
    "interval": "month",
    "price": "33.71",
    "type": "per_user"
  },
  "monthly_api_credits_remaining": 22,
  "monthly_api_credits_remaining_monetary_value": "54.06",
  "stable_api_credits_remaining": 7,
  "stable_api_credits_remaining_monetary_value": "78.01",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 26,
      "description": "vQHR1BWLO70",
      "endpoints_included": [
        "file"
      ],
      "features": [
        {
          "info": "qXr5HtD1P8nJcyletJAXJuhPUpe9iezl3w5CZu5SPg9LAQyivoqz45AaEzGMyenR1Gmr3"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 14,
      "monthly_pay_as_you_go_api_credits_monetary_value": "73.18",
      "name": "free",
      "pay_as_you_go_api_credit_price": "48.78",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "public"
      ],
      "support_tier": "standard_email",
      "training_data_behavior": "default_off",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "diff_chrome_extension"
      ]
    }
  },
  "subscription_id": "sq3mfytcPTQuUyzyhls9q",
  "total_due": "16.93",
  "updated_at": "2025-07-07T14:49:12.321Z"
}