Skip to main content
GET
Get the credit status of a MED refund order

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

endToEndIdDevolucao
string
obrigatório

EndToEndId of the refund (pacs.004) whose credit status is being consulted.

Exemplo:

"D1234567820240101000000000000099"

Resposta

OK

codigoDevolucao
string
obrigatório

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).

Exemplo:

"BE08"

dtHrSituacao
string
obrigatório

When the refund order reached this situation in JDPI (raw JDPI instant).

Exemplo:

"2020-01-24T10:30:00.000Z"

ehIntraPsp
boolean
obrigatório

True when the transaction is internal to this direct PSP (both legs on the same participant).

Exemplo:

false

endToEndIdDevolucao
string
obrigatório

EndToEndId of the refund (pacs.004) whose credit is being consulted.

Exemplo:

"D1234567820240101000000000000099"

stJdPi
integer<int64>
obrigatório

Request situation: -1=erro no processamento, 0=requisicao recebida aguardando processamento, 9=credito efetivado com sucesso.

Exemplo:

9

stJdPiProc
integer<int64>
obrigatório

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.

Exemplo:

9

codigoErro
string

Error code, present when stJdPi is -1.

Exemplo:

"AB03"

descCodigoErro
string

Error-code description, present when stJdPi is -1.

Exemplo:

"Liquidacao interrompida"

valorDevolucao
integer<int64>

Refunded amount, in centavos; omitted when JDPI did not return it (Obrg=Nao).

Exemplo:

5010