Boa noite, estou gerando boleto no Santander por API, consegui em Sandbox, até cheguei a gerar um boleto em Produção mais parou e n gera mais, vejo que a unica coisa q está diferente a parte da senha que no postman eu coloco, no ACBrBoleto n tem.
Segue imagens
imgPostman, dando certo.
Segue o JSON que gerou os dados do boleto
"nsuCode":"000000012345",
"environment":"PRODUCAO",
"nsuDate":"2025-08-24",
"covenantCode":"671188",
"bankNumber":"000000012345",
"clientNumber":"0000000001",
"dueDate":"2025-09-24",
"issueDate":"2025-08-24",
"nominalValue":"100.00",
"writeOffQuantityDays":"48",
"payer":{
"name":"XXXXXXXXXXXXX",
"documentType":"CPF",
"documentNumber":"00000000000",
"address":"XXXX",
"neighborhood":"XXXXXXXX",
"city":"Lagoa Grande",
"state":"pe",
"zipCode":"56395-000"
},
"documentKind":"DUPLICATA_MERCANTIL",
"finePercentage":"5.00",
"fineQuantityDays":"1",
"interestPercentage":"5.00",
"protestType":"SEM_PROTESTO",
"paymentType":"REGISTRO",
"key":{
"type":"CNPJ",
"dictKey":"60.774.426/0001-24"
},
"messages":[
""
]
}
Abaixo a parte da configuração que preenche os dados da API
BeneficiarioWS.ClientID := edtClientID.Text;
BeneficiarioWS.ClientSecret := edtClientSecret.Text;
BeneficiarioWS.KeyUser := edtKeyUser.Text;
BeneficiarioWS.Scope := edtScope.Text;
BeneficiarioWS.IndicadorPix := chkIndicadorPix.Checked;
WebService.Ambiente := TTipoAmbienteWS(cbbAmbiente.ItemIndex);
WebService.SSLHttpLib := TSSLHttpLib(cbxSSLLib.ItemIndex);
WebService.ArquivoCRT := edtArquivoCRT.Text;
WebService.ArquivoKEY := edtArquivoKey.Text;
WebService.VersaoDF := edtVersaoDF.Text;
WebService.TimeOut := 20000;
Pessoal estou precisando com urgencia, pois o cliente já está me cobrando ao extremo, agradeço a atenção.