Get the credit status of a MED refund order
Returns the CREDIT-side situation of a refund order by its pacs.004 endToEndIdDevolucao, read live from JDPI (JDPI credito-devolucao/, §8.5.4). stJdPiProc here is the CREDIT domain, DISTINCT from the debit poll’s despite the shared field name (§4.5). Moves no money and persists nothing — the credit itself is settled by the inbound §9.3.3 webhook, never by this read.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
EndToEndId of the refund (pacs.004) whose credit status is being consulted.
"D1234567820240101000000000000099"
Response
OK
Refund code (BE08=MED iniciada pelo participante do recebedor, FR01=fundada suspeita de fraude, MD06=solicitada pelo usuario recebedor, SL02=erro/desacordo no Pix Saque ou Troco).
"BE08"
When the refund order reached this situation in JDPI (raw JDPI instant).
"2020-01-24T10:30:00.000Z"
True when the transaction is internal to this direct PSP (both legs on the same participant).
false
EndToEndId of the refund (pacs.004) whose credit is being consulted.
"D1234567820240101000000000000099"
Request situation: -1=erro no processamento, 0=requisicao recebida aguardando processamento, 9=credito efetivado com sucesso.
9
CREDIT-side processing situation: 0=requisicao recebida aguardando processamento, 1=credito validado aguardando efetivacao pelo SGCT, 2=validacao de credito enviada ao SPI, 5=sem retorno terminativo do SPI, 7=devolucao recusada pelo SPI, 8=devolucao recusada pelo JDPI, 9=credito efetivado com sucesso. A DISTINCT domain from the debit poll's stJdPiProc despite the shared field name.
9
Error code, present when stJdPi is -1.
"AB03"
Error-code description, present when stJdPi is -1.
"Liquidacao interrompida"
Refunded amount, in centavos; omitted when JDPI did not return it (Obrg=Nao).
5010

