APIPaymentsUpdate balance for an org
hidden

Parameters

Name

Type

Req.

Returns

put
/orgs/{id}/payment/balance
$ curl -X PUT "https://api.zoo.dev/orgs/{id}/payment/balance" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "monthly_api_credits_remaining_monetary_value": "89.77",
  "stable_api_credits_remaining_monetary_value": "41.42"
}'
200 OK
Response
{
  "created_at": "2025-05-22T02:04:09.490Z",
  "id": "874e3775-6fab-4f9b-b94f-7aac93b5fe22",
  "map_id": "066ecbcc-a8cb-4fad-9a42-f2ddf3caf903",
  "modeling_app_enterprise_price": {
    "interval": "month",
    "price": "40.33",
    "type": "flat"
  },
  "monthly_api_credits_remaining": 14,
  "monthly_api_credits_remaining_monetary_value": "42.53",
  "stable_api_credits_remaining": 12,
  "stable_api_credits_remaining_monetary_value": "29.63",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 11,
      "description": "eHoJSeBfoLAXi5Ht15Cn9j",
      "endpoints_included": [
        "modeling"
      ],
      "features": [
        {
          "info": "u8M2xmY2XPSuFRzPgHINqXKwmv3fJC5BaLwxEWXjgDUPyho77CawEiV4HC1Zn0Wyf1a3r"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 12,
      "monthly_pay_as_you_go_api_credits_monetary_value": "35.86",
      "name": "enterprise",
      "pay_as_you_go_api_credit_price": "67.14",
      "price": {
        "interval": "week",
        "price": "92.49",
        "type": "per_user"
      },
      "share_links": [
        "organization_only"
      ],
      "support_tier": "priority_email",
      "training_data_behavior": "default_on",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "text_to_cad"
      ]
    }
  },
  "subscription_id": "9Ih45TaXfXaCjdDLjhA",
  "total_due": "38.41",
  "updated_at": "2025-05-22T02:04:09.490Z"
}