API → PaymentsUpdate balance for an org
hidden

Parameters

Name

Type

Req.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
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_credits_remaining": "61.33",
  "pre_pay_cash_remaining": "28.68",
  "pre_pay_credits_remaining": "88.41"
}'
200 OK
Response
{
  "created_at": "2025-04-25T16:39:41.046Z",
  "id": "5c83156d-b6a4-40a2-889f-b9ff0147da77",
  "map_id": "f4a53624-cc34-40c5-b585-4882c3165920",
  "modeling_app_enterprise_price": {
    "type": "enterprise"
  },
  "monthly_credits_remaining": "8.18",
  "pre_pay_cash_remaining": "51.75",
  "pre_pay_credits_remaining": "95.39",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 29,
      "description": "ZuhcZ6",
      "endpoints_included": [
        "modeling"
      ],
      "features": [
        {
          "info": "VxQzpNi3SZLp0QemQ8u31OfFkoc3rtm7cyvoRTMyIi1yb1UtRgfHE5s4EOqCzTeqL5T"
        }
      ],
      "name": "enterprise",
      "pay_as_you_go_credits": "12.32",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "public"
      ],
      "support_tier": "premium",
      "training_data_behavior": "always",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "diff_chrome_extension"
      ]
    }
  },
  "subscription_id": "wb",
  "total_due": "99.06",
  "updated_at": "2025-04-25T16:39:41.046Z"
}