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": "34.36",
  "stable_api_credits_remaining_monetary_value": "14.50"
}'
200 OK
Response
{
  "created_at": "2025-08-14T21:15:01.101Z",
  "id": "b3214490-c947-4bd7-8d18-504f8af10f07",
  "map_id": "2d41a91e-96ef-424c-8750-cbde537d43b5",
  "modeling_app_enterprise_price": {
    "interval": "day",
    "price": "66.39",
    "type": "per_user"
  },
  "monthly_api_credits_remaining": 2,
  "monthly_api_credits_remaining_monetary_value": "91.79",
  "stable_api_credits_remaining": 13,
  "stable_api_credits_remaining_monetary_value": "31.20",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 32,
      "description": "nFlc65B",
      "endpoints_included": [
        "modeling"
      ],
      "features": [
        {
          "info": "tflhXq4PosaYWfWRa2Q"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 6,
      "monthly_pay_as_you_go_api_credits_monetary_value": "37.80",
      "name": "free",
      "pay_as_you_go_api_credit_price": "89.42",
      "price": {
        "interval": "day",
        "price": "8.57",
        "type": "flat"
      },
      "share_links": [
        "organization_only"
      ],
      "support_tier": "community",
      "training_data_behavior": "always",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "modeling_app"
      ]
    }
  },
  "subscription_id": "DrzyUNc2Uuj0rYnjms8W4w526C",
  "total_due": "75.52",
  "updated_at": "2025-08-14T21:15:01.101Z"
}