Skip to main content
POST
Register a MED inbound refund credit (THIRD RAIL — moves money)

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Authorization
string

Bearer access token (the financial-ingress gate; the handler fails closed with PIX-0082 when absent).

Ejemplo:

"Bearer eyJ..."

Chave-Idempotencia
string
requerido

Idempotency key (= the endToEndIdDevolucao). Mandatory per the MED SPI credit contract.

Ejemplo:

"D1111111120240918150000000000099"

Cuerpo

application/json
endToEndIdDevolucao
string
requerido

EndToEndId of the devolucao (pacs.004; the natural key / idempotency anchor, 32-char).

Ejemplo:

"D1234567820240101000000000000099"

idReqJdPi
string
requerido

The JDPI request id of the credit notification.

Ejemplo:

"f1e2d3c4-b5a6-7890-1234-567890abcdef"

valor
number<double>
requerido

Credited refund amount, in reais (a JSON number; JDPI 9.3.3).

Ejemplo:

150.85

codigoDevolucao
string

Refund reason code (BE08/FR01/MD06/SL02; §9.3.3 Obrg=Sim, tolerated-absent).

Ejemplo:

"BE08"

dtContabil
string

SPI accounting date (§9.3.3, Obrg=Sim, aaaa-mm-dd).

Ejemplo:

"2024-09-20"

dtHrLiquidacao
string

SPI settlement instant (§9.3.3, Obrg=Sim, UTC).

Ejemplo:

"2024-09-20T04:00:01.001Z"

dtHrOp
string

Recebedor-informed original instant (UTC).

Ejemplo:

"2024-09-20T04:00:01.001Z"

endToEndIdOriginal
string

EndToEndId of the original contested payment (32-char; §9.3.3 Obrg=Sim, tolerated-absent).

Ejemplo:

"E1234567820240101000000000000001"

infEntreClientes
string

Payer-to-payee free-text information (§9.3.3, Obrg=Nao).

Ejemplo:

"Compra Paga"

motivoDevolucao
string

Free-text refund detail.

Ejemplo:

"Devolucao MED."

pagador
object

Payer (pagador) identity; retained for audit/observability.

recebedor
object

Recipient (recebedor) identity; the credit distribute leg target (design D2 mirror). recebedor.ispb is enforced by Validate().

Respuesta

OK

dtHrCreditoSgct
string
requerido

The SGCT credit-commit instant (UTC, RFC 3339).

Ejemplo:

"2024-09-20T04:00:01.001Z"

idCreditoSgct
string
requerido

The plugin-minted credit-entry id (GUID).

Ejemplo:

"58F752C5-6376-3252-8305-A2DE3A8525D3"

idReqJdPi
string
requerido

The JDPI request id (echoed).

Ejemplo:

"f1e2d3c4-b5a6-7890-1234-567890abcdef"