Saltar al contenido principal
POST
Resolve an unresolved MED reserve

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

idSolDevolucao
string
requerido

Identifier of the MED refund request whose reserve is being resolved.

Cuerpo

application/json
action
enum<string>
requerido

ADOPT records a matching pending reserve; NO_RESERVE clears an attempt after reconciliation.

Opciones disponibles:
ADOPT,
NO_RESERVE
reason
string
requerido

Reason for the resolution, recorded in the audit trail.

Required string length: 10 - 500
reserveAttemptStartedAt
string<date-time>
requerido

Start of the reserve attempt as read from the refund.

evidenceReference
string

For NO_RESERVE, written confirmation that no pending posting exists under this refund's aggregate id at any date or in any queue.

Maximum string length: 140
postingId
string

UUID of the pending posting; required for ADOPT and refused for NO_RESERVE.

Respuesta

OK

effStatus
integer<int64>
requerido

Debit-effectuation FSM code (0=NotStarted, 1=DebitPending, 2=Settled, 3=Failed).

Ejemplo:

1

effStatusDescription
string
requerido

Human-readable eff_status label.

Ejemplo:

"DebitPending"

idOperacaoDebito
string
requerido

The Pending Midaz debit posting id (the reconcile commit/cancel reference).

Ejemplo:

"01HXYZ..."

idReqJdPi
string
requerido

The JDPI /od request id (the debit-poll handle).

Ejemplo:

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

refundRequestId
string
requerido

The effectuated refund-request GUID.

Ejemplo:

"d4e5f6a7-b8c9-0123-def4-56789012345a"