Revertir una refinanciación dentro de su ventana de 7 días hábiles
Esta operación actúa como proxy de reverter-refinanciamento-trabalhador (Manual 008 v1.10 §3.2): el nuevo contrato se excluye y cada contrato que se retira vuelve a activo. MotivoReversao es un conjunto cerrado (1 desistência, 2 óbito, 3 fraude). La gateway rechaza localmente SOLO una vez que la reversión ha pasado inequívocamente su ventana de 7 días hábiles (un dataRefinanciamento proporcionado por la persona que llama permite la verificación; si se omite, la solicitud va directamente a la red, que sigue siendo el juez final). Se requiere X-Idempotency.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
Client-chosen idempotency key. REQUIRED: an absent key is 422, never a generated default.
"idem-reversao-0001"
Parámetros de ruta
The NEW contract minted by the refinanciamento this call reverses.
2 - 15"99999999999ARN1"
Cuerpo
Reversal reason (Manual 008 v1.10 §3.2.1, regra RG): 1 Desistência, 2 Óbito, 3 Fraude. Closed set — no 4th value exists.
1 <= x <= 31
The refinancing's own booking date, RFC 3339 UTC. Optional: enables the gateway's local 7-business-day window pre-check. Omitted, the request is submitted straight to the rail.
"2026-08-04T09:00:00Z"
Instalment amounts of every contract this refinancing quitou, decimal strings (BRL). Optional; enables the margemReservada notice on the response.
The new (now-reversed) contract's own instalment amount, decimal string (BRL). Optional; enables the margemReservada notice on the response.
"310.00"
Respuesta
OK
Payroll competência the reversal took effect in, yyyyMM.
"202507"
The rail's own identity for this operation.
"34006311"
Every quitado contract the reversal returned to ativo.
The rail's own message.
"Reversao realizada com sucesso"
The new contract, now excluded by the reversal.
"99999999999ARN1"
The margin that was held reserved during the reversal window (Manual 008 v1.10 §3.2): the greater of the quitados' summed instalments and the new contract's own. Present only when the caller supplied enough context to compute it — a courtesy figure, not a rail field.
"310.00"

