POST
/
api
/
v2
/
ledger
/
new-order
Python
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>"
}

Body

application/json

Response

200
application/json

The ledger entry was created successfully.