You could have bought an Xperia XA1 for $240, but how about an Xperia X for $230? Head to B&H Photo (US) in the next half a day if that deal sounds appealing.
Even if you miss the deal, Amazon US has the original X at $250. NewEgg has it at $270, which isnt that bad considering other stores are asking over $300.
The Xperia X is getting old now (it launched a year ago) and the XA1 is a solid offering. But the X is a premium device and has a better screen (1080p vs. 720p, similar contrast and sunlight legibility), theres a pair of Cortex-A72 cores for better single-core performance too.
In terms of camera, the headlining feature of the XA1 was the flagship main camera, so those are pretty similar. You do get a better selfie cam with the X, though, a 13MP shooter with a bigger sensor (1/3 vs. 8MP 1/4).