from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.new_order(
amount_usd_cents=0,
order_id="orderId",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
Creates a new ledger entry for an order, linking claim, institution, patient, and insurance financial details. All monetary amounts should be provided in cents.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.new_order(
amount_usd_cents=0,
order_id="orderId",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
The ledger entry was created successfully.