from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.institutions.orders.retrieve_balance(
order_id="orderId",
institution_id="institutionId",
)
print(response.balance_usd_cents)
{
"balanceUsdCents": 123
}
Retrieves the balance for a specific institutional order.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.institutions.orders.retrieve_balance(
order_id="orderId",
institution_id="institutionId",
)
print(response.balance_usd_cents)
{
"balanceUsdCents": 123
}
Default Response
The response is of type object
.