to passando as infos do header por interceptors
ts
efiPixApiHomolog.interceptors.request.use(async (config) => {
const auth = await getPixAuthorization();
config.headers.Authorization = Bearer ${auth.access_token};
config.httpsAgent = agent;
return config;
});