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": "0.33",
  "stable_api_credits_remaining_monetary_value": "61.87"
}'
200 OK
Response
{
  "created_at": "2025-07-04T14:10:30.740Z",
  "id": "67d569ef-af13-4ec3-8444-5dea3d846a63",
  "map_id": "3b2eb8d7-5782-4eca-ad21-2fd5dfdf0cd9",
  "modeling_app_enterprise_price": {
    "interval": "day",
    "price": "52.77",
    "type": "per_user"
  },
  "monthly_api_credits_remaining": 2,
  "monthly_api_credits_remaining_monetary_value": "74.69",
  "stable_api_credits_remaining": 7,
  "stable_api_credits_remaining_monetary_value": "12.34",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 21,
      "description": "NG46Ek",
      "endpoints_included": [
        "ml"
      ],
      "features": [
        {
          "info": "3SHYp6V0WoDdyiGC7wQzTUbfS7GOfzcqsrVzcQAwX1hFBm0q8FfAyOUhxcBmAACJ"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 17,
      "monthly_pay_as_you_go_api_credits_monetary_value": "16.26",
      "name": "pro",
      "pay_as_you_go_api_credit_price": "33.71",
      "price": {
        "interval": "day",
        "price": "4.37",
        "type": "per_user"
      },
      "share_links": [
        "public"
      ],
      "support_tier": "community",
      "training_data_behavior": "always",
      "type": {
        "saml_sso": true,
        "type": "organization"
      },
      "zoo_tools_included": [
        "text_to_cad"
      ]
    }
  },
  "subscription_id": "rq2tFprjdKBKCh2j6txgRLJYPu",
  "total_due": "51.14",
  "updated_at": "2025-07-04T14:10:30.741Z"
}