The legitimate route is the offers page on Sony's Station Cash site. Under the "earn Station Cash" section you can complete surveys and promotions to build up a balance, though payouts can be slow and you should never hand over card details to a third party.
Be wary of "free code" sites and memory-editing tools. They rarely deliver, and both can put your account at risk. Your best value is usually just playing the free content the game already offers.