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": "96.93",
  "stable_api_credits_remaining_monetary_value": "17.64"
}'
200 OK
Response
{
  "created_at": "2025-05-10T17:42:50.366Z",
  "id": "66ca46f5-877c-4a09-84fa-16b10b1f315e",
  "map_id": "74c9a5c8-5356-443d-bb59-cbd591eef710",
  "modeling_app_enterprise_price": {
    "type": "enterprise"
  },
  "monthly_api_credits_remaining": 9,
  "monthly_api_credits_remaining_monetary_value": "5.99",
  "stable_api_credits_remaining": 31,
  "stable_api_credits_remaining_monetary_value": "61.85",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 17,
      "description": "PcWv8eHBi3yPX51g17WprFQ5iUXV51",
      "endpoints_included": [
        "ml"
      ],
      "features": [
        {
          "info": "NrNVp3IOzLd2e"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 24,
      "monthly_pay_as_you_go_api_credits_monetary_value": "14.53",
      "name": "team",
      "pay_as_you_go_api_credit_price": "84.64",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "organization_only"
      ],
      "support_tier": "standard_email",
      "training_data_behavior": "default_off",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "text_to_cad"
      ]
    }
  },
  "subscription_id": "oWaN6G8aGRnmmX8nk5bT",
  "total_due": "71.05",
  "updated_at": "2025-05-10T17:42:50.366Z"
}