In overall I need a solution that will allow me to redeem code on PSN (playstation network) account.
In best scenario this would work in this way:
Providing via REST API login, password and code that will be redeemed on the account.
PS. I'm flexible with solution of this, the only one requirement that it has to be working anytime.