{
  "payment_type": "veterinary_deposit",
  "ledger_entry_type": "veterinary_deposit_apply",
  "authorization": "Confirm the owner's authorization, appointment record, and accepted deposit amount 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": {
    "Treatment changes": "Obtain owner approval for revised charges before collecting another Payment or applying more of the deposit.",
    "Multiple animals": "Bind each deposit to its appointment instead of relying only on the owner's identity.",
    "Care decisions": "Keep medical decisions in the practice system; payment status does not determine clinical treatment."
  }
}
