undertaking

noun | un·der·tak·ing
  1. : a promise or pledge especially required by law

  1. : something (as cash or a written promise) deposited or given as security especially in a court

    Note: Undertakings are often required of one party during property actions (as for attachment) in order to compensate the other party should the court's action (as in attaching the property) be found unjustified later.