Design concurrency-safe shared payment account API | Tesla Interview Question