def METHOD_NAME(self, cnpj):
    trial = self._get_cnpj_param("serpro_trial")
    schema = self._get_cnpj_param("serpro_schema")
    if trial:
        url = SERPRO_URL + f"/consulta-cnpj-df-trial/v2/{schema}/{cnpj}"
    else:
        url = SERPRO_URL + f"/v2/{schema}/{cnpj}"
    return url