from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.ledger.institution_payment(
amount_usd_cents=0,
ik="ik",
institution_id="institutionId",
invoice_id="invoiceId",
reason="reason",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
Posts an institution 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.institution_payment(
amount_usd_cents=0,
ik="ik",
institution_id="institutionId",
invoice_id="invoiceId",
reason="reason",
)
print(response.ledger_entry_id)
{
"ledgerEntryId": "<string>"
}
The institution payment was posted successfully.