Pular para o conteúdo principal
POST
Resolve an unresolved MED reserve

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

idSolDevolucao
string
obrigatório

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

Corpo

application/json
action
enum<string>
obrigatório

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

Opções disponíveis:
ADOPT,
NO_RESERVE
reason
string
obrigatório

Reason for the resolution, recorded in the audit trail.

Required string length: 10 - 500
reserveAttemptStartedAt
string<date-time>
obrigatório

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.

Resposta

OK

effStatus
integer<int64>
obrigatório

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

Exemplo:

1

effStatusDescription
string
obrigatório

Human-readable eff_status label.

Exemplo:

"DebitPending"

idOperacaoDebito
string
obrigatório

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

Exemplo:

"01HXYZ..."

idReqJdPi
string
obrigatório

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

Exemplo:

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

refundRequestId
string
obrigatório

The effectuated refund-request GUID.

Exemplo:

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