{
  "payment_type": "repair_deposit",
  "ledger_entry_type": "repair_deposit_apply",
  "authorization": "Bind the deposit to the customer's accepted estimate. Approve scope and price changes before applying additional funds.",
  "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": {
    "Estimate increases": "Obtain customer approval for the revised estimate before creating another Payment.",
    "Partial repair": "Apply only the amount for approved completed work. Keep the remainder as an unused deposit.",
    "Vehicle release": "Use the shop's release policy and server-side payment status; a checkout screen alone does not authorize release."
  }
}
