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-21T20:02:14.911Z",
  "id": "d0414b77-aed8-4e0b-9b0c-72db7d3a6365",
  "map_id": "464fd8f3-98d8-44c0-a51f-df776d49b76b",
  "modeling_app_enterprise_price": {
    "type": "enterprise"
  },
  "monthly_credits_remaining": "16.01",
  "pre_pay_cash_remaining": "25.31",
  "pre_pay_credits_remaining": "89.33",
  "subscription_details": {
    "modeling_app": {
      "annual_discount": 32,
      "description": "1JL0OIoz60kfidJMg",
      "endpoints_included": [
        "file"
      ],
      "features": [
        {
          "info": "WGMD2ZQLfAucqG1ArCNIzQSd"
        }
      ],
      "name": "pro",
      "pay_as_you_go_credits": "96.28",
      "price": {
        "interval": "day",
        "price": "100.37",
        "type": "per_user"
      },
      "share_links": [
        "organization_only"
      ],
      "support_tier": "priority",
      "training_data_behavior": "always",
      "type": {
        "type": "individual"
      },
      "zoo_tools_included": [
        "modeling_app"
      ]
    }
  },
  "subscription_id": "QhjFgZAKss6ckIwTl4G0VGt6IOnZ4",
  "total_due": "5.30",
  "updated_at": "2025-04-21T20:02:14.912Z"
}