from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.patient_payment(
amount_usd_cents=0,
ik="ik",
patient_id="patientId",
reason="reason",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
Posts a patient payment to the ledger. All monetary amounts should be provided in cents.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.patient_payment(
amount_usd_cents=0,
ik="ik",
patient_id="patientId",
reason="reason",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
The patient payment was posted successfully.