def METHOD_NAME(self, url, params=None):
    if params is None:
        params = {}
    response = self.config.http().post(self.config.base_merchant_path() + url, params)
    if "customer" in response:
        return SuccessfulResult({"customer": Customer(self.gateway, response["customer"])})
    elif "api_error_response" in response:
        return ErrorResult(self.gateway, response["api_error_response"])
    else:
        pass