How was Florida Cession purchased?

Florida Cession was not purchased. Rather it was ceded by Spain to the United States in 1819 as part of the Adams–Onís Treaty.
Copyright Wanderlust World © https://www.ynyoo.com