{
  "payment_type": "dental_deposit",
  "ledger_entry_type": "dental_deposit_apply",
  "authorization": "Confirm the patient's accepted treatment estimate and deposit policy before creating the Payment.",
  "amounts": "Positive integer strings in USD cents, resolved server-side from approved records.",
  "identity": "Authenticate the payer and resolve the Ledger and business record server-side.",
  "idempotency": "Persist one stable key and exact payload per operation. Recover existing operations after timeouts.",
  "concurrency": "Serialize application approvals per record; the apply entry condition prevents a negative available balance.",
  "settlement": "Verify Payment status on the server. Never post native settlement entries manually.",
  "domain_rules": {
    "Insurance estimate changes": "Determine the patient's responsibility in the practice system before applying their deposit.",
    "Treatment is rescheduled": "Keep the deposit associated with the authorized appointment record and preserve its payment history.",
    "Clinical information": "Use an opaque appointment identifier in Payment parameters. Keep treatment details in the clinical system."
  }
}
