redguava / cliniko-api

The API for Cliniko
74 stars 39 forks source link

Patient's balance #334

Open LekhV opened 3 years ago

LekhV commented 3 years ago

Hi, team, is it supposed to add to the api getting the patient's balance in the request GET / patients /: id ?

JohnColvin commented 3 years ago

The patient's balance is not available via API. Since it's a value computed based on invoices and payments, it would slow down the response of the patients endpoints.

We've discussed adding this as a separate endpoint, but I'm not sure when we'll start working toward that.