Stripe interview question

How do you arrive at consensus between two parties?