A deposit, then payments by milestone
The client types their card into the hosted card form on a page of your app. Card numbers never reach your app or your page. Your app takes a payment for whatever amount the contractor sets, and the answer comes back in the same request: paid or declined.
The same form can save the card. Your app shows the contractor's terms before the card is saved and records when the client agreed. What those terms say is between the contractor and its client. When a milestone is approved, your app charges the saved card without asking for it again. Saved cards work in test mode now, and live once Monetize.Pay switches them on for your platform.