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": "60.48",
  "stable_api_credits_remaining_monetary_value": "36.22"
}'
200 OK
Response
{
  "created_at": "2025-08-14T21:14:49.575Z",
  "id": "13522e4d-7e65-4be7-941d-3d3ea8865966",
  "map_id": "792d70ea-ea17-435b-af12-838abbde6f21",
  "modeling_app_enterprise_price": {
    "type": "enterprise"
  },
  "monthly_api_credits_remaining": 26,
  "monthly_api_credits_remaining_monetary_value": "86.13",
  "stable_api_credits_remaining": 6,
  "stable_api_credits_remaining_monetary_value": "91.48",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 1,
      "description": "0nImMlOqI",
      "endpoints_included": [
        "modeling"
      ],
      "features": [
        {
          "info": "92M7Rg3RuXWNOy6yHcfO9tHnwVmtlceDvgEVbMHI0qFNxw5ZB6HMrt2n0BdpdXAsRMnGtRzIxMcHST2P"
        }
      ],
      "monthly_pay_as_you_go_api_credits": 28,
      "monthly_pay_as_you_go_api_credits_monetary_value": "2.99",
      "name": "enterprise",
      "pay_as_you_go_api_credit_price": "6.49",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "organization_only"
      ],
      "support_tier": "premium",
      "training_data_behavior": "always",
      "type": {
        "saml_sso": false,
        "type": "organization"
      },
      "zoo_tools_included": [
        "text_to_cad"
      ]
    }
  },
  "subscription_id": "W85t9b",
  "total_due": "96.47",
  "updated_at": "2025-08-14T21:14:49.575Z"
}