Olá Elias, estou usando o demo que foi postado aqui no fórum incluindo o Sicredi.
Aumentei o log, mas não trouxe muitas informações:
Atribuindo PSP: TACBrPSPBancoDoBrasil, Nome: ACBrPSPBancoDoBrasil1
- LerConfiguracao: C:\fontes\Delphi\Componentes\ACBR\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini
- AplicarConfiguracao
- ConfigurarACBrPIXCD
Atribuindo PSP: TACBrPSPSicredi, Nome: ACBrPSPSicredi1
Atribuindo PSP: Nil
Atribuindo PSP: TACBrPSPSicredi, Nome: ACBrPSPSicredi1
- ConfigurarACBrPSPs
- LerConfiguracao: C:\fontes\Delphi\Componentes\ACBR\Exemplos\ACBrPIXCD\Delphi\PIXCDTeste.ini
- AplicarConfiguracao
- ConfigurarACBrPIXCD
- ConfigurarACBrPSPs
CriarCobrancaImediata( )
PrepararHTTP
Autenticar
LimparHTTP
TransmitirHttp( POST, https://api-pix-h.sicredi.com.br/oauth/token )
ConfigurarHTTP
ConfigurarProxy
ConfigurarTimeOut
ConfigurarHeaders( POST, https://api-pix-h.sicredi.com.br/oauth/token )
Req.Headers:
Authorization: Basic TVRFd05EZzNPRGN3TURBeE9EZzZNREF3TVRwWE0yazpkeVpSVFRjNUpXaGxPVzhqVlRoUg==
Accept-Encoding: gzip, compress, deflate
Req.Body:
grant_type=client_credentials&scope=cob.read%20cob.write%20pix.read%20pix.write
ResultCode: 500 -
Resp.Headers:
POST /oauth/token HTTP/1.0
Host: api-pix-h.sicredi.com.br
Keep-Alive: 300
Connection: keep-alive
User-Agent: Mozilla/4.0 (compatible; Synapse)
Content-Type: application/x-www-form-urlencoded
Content-Length: 79
Authorization: Basic TVRFd05EZzNPRGN3TURBeE9EZzZNREF3TVRwWE0yazpkeVpSVFRjNUpXaGxPVzhqVlRoUg==
Accept-Encoding: gzip, compress, deflate
Resp.Body:
EACBrPixHttpException: Erro HTTP: 500, Metodo: POST, URL: https://api-pix-h.sicredi.com.br/oauth/token
***************EACBrPixHttpException***************
Erro HTTP: 500, Metodo: POST, URL: https://api-pix-h.sicredi.com.br/oauth/token