from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.patients.list_outstanding_accounts()
print(response.accounts)
{
"accounts": [
{
"patientId": "<string>",
"balanceUsdCents": 123
}
]
}
Retrieves all outstanding patient accounts across all patients (accounts with non-zero balances).
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.patients.list_outstanding_accounts()
print(response.accounts)
{
"accounts": [
{
"patientId": "<string>",
"balanceUsdCents": 123
}
]
}
Outstanding accounts retrieved successfully.