API → PaymentsGet balance for an user
hidden

Parameters

Name

Type

Req.

  • id

    string
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
get
/users/{id}/payment/balance
$ curl "https://api.zoo.dev/users/{id}/payment/balance" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "created_at": "2025-04-25T16:39:58.442Z",
  "id": "b422a6d2-3a63-4ad6-8ded-e6538c27d9c8",
  "map_id": "7deeef3e-ec66-48df-b115-2049b383194a",
  "modeling_app_enterprise_price": {
    "interval": "month",
    "price": "1.79",
    "type": "per_user"
  },
  "monthly_credits_remaining": "15.76",
  "pre_pay_cash_remaining": "38.51",
  "pre_pay_credits_remaining": "100.24",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 27,
      "description": "2tqHnM",
      "endpoints_included": [
        "ml"
      ],
      "features": [
        {
          "info": "WiXjlDd3onxgty"
        }
      ],
      "name": "team",
      "pay_as_you_go_credits": "5.13",
      "price": {
        "type": "enterprise"
      },
      "share_links": [
        "password_protected"
      ],
      "support_tier": "community",
      "training_data_behavior": "default_off",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "modeling_app"
      ]
    }
  },
  "subscription_id": "aYo8UhfCf",
  "total_due": "95.71",
  "updated_at": "2025-04-25T16:39:58.442Z"
}