code: private void checkForError(JsonNode resp) throws WePayException
  	{
  		JsonNode errorNode = resp.get("error");
  		if (errorNode != null)
  			throw new WePayException(errorNode.asText(), resp.path("error_description").asText(), resp.path("error_code").asInt());
  	}
docs: If the response node is recognized as an error, throw a WePayException
  @throws WePayException if the node is an error node