code: def token_from_response(self, responseJson):
      
      token = responseJson['data'][0]['token']
      facade = responseJson['data'][0]['facade']
      return {facade: token}
      raise BitPayBitPayError('%(code)d: %(message)s' % {'code': response.status_code, 'message': response.json()['error']})
docs: Deprecated, will be made private in 2.4