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": "59.04",
  "stable_api_credits_remaining_monetary_value": "21.93"
}'
200 OK
Response
{
  "created_at": "2025-06-21T18:41:57.189Z",
  "id": "6776402e-9230-4a83-92fa-e307788fe42d",
  "map_id": "ec28b04b-fd3d-4a85-ad8c-8f0e4e882f7f",
  "modeling_app_enterprise_price": {
    "interval": "year",
    "price": "16.39",
    "type": "per_user"
  },
  "monthly_api_credits_remaining": 2,
  "monthly_api_credits_remaining_monetary_value": "89.86",
  "stable_api_credits_remaining": 29,
  "stable_api_credits_remaining_monetary_value": "15.61",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 7,
      "description": "3vDQdSQy",
      "endpoints_included": [
        "file"
      ],
      "features": [
        {
          "info": "efWk34pdbPjyXx8MQZeJlJ4wRlvG70ebYMGONM"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 30,
      "monthly_pay_as_you_go_api_credits_monetary_value": "99.09",
      "name": "enterprise",
      "pay_as_you_go_api_credit_price": "68.04",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "public"
      ],
      "support_tier": "priority_email",
      "training_data_behavior": "always",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "modeling_app"
      ]
    }
  },
  "subscription_id": "GLZ5p9vqjnpmd7aoQYd3hrg",
  "total_due": "64.87",
  "updated_at": "2025-06-21T18:41:57.189Z"
}