Su Yunshang was born into a wealthy merchant family and was once betrothed to Shen Zhiyao. After passing the imperial examinations, Shen Zhiyao broke off the engagement without mercy and framed the Su family to curry favor with the powerful. Facing a family crisis and society's prejudice against merchant's daughters, Su Yunshang stands to lose everything if she cannot strike back. Torn between revenge and making peace with her family, she wants to punish the scoundrel but fears her vengeance will tear her family apart.
Though Su Yunshang is exceptionally clever, her status as a merchant's daughter makes every step through the corridors of power a struggle. Shen Zhiyao continues to consolidate his influence at court, leaving her little time to retaliate. Meanwhile, his rumors leave Su Yunshang misunderstood by her family and the outside world. Some of her own relatives are swayed by his lies and turn against her, forcing her to choose sides.
In dire straits, Su Yunshang changes her appearance and infiltrates the Ministry of Revenue as an accountant, using her abacus to expose Shen Zhiyao's embezzlement. Along the way, the mysterious Xiao Jingchen watches her from the shadows, drawn to her intelligence, and becomes her ally. Su Yunshang joins forces with merchants to strike back, setting a trap that ruins Shen Zhiyao's reputation and turns the powerful against one another. In the end, she exposes him at court, and Xiao Jingchen reveals that he is a powerful court official, helping her triumph. Su Yunshang becomes a legendary woman of commerce, and she and Xiao Jingchen govern the realm together, finding love through mutual respect and support.