<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def redeem_bitstamp_code(self, code):
 """ Returns JSON dictionary containing USD and BTC amount added to user's account. """

        data = {'code': code}
        return self._post("redeem_code/", data=data, return_json=True,
                          version=1)