Reverse a refinancing within its 7 business day window
Proxies reverter-refinanciamento-trabalhador (Manual 008 v1.14 §3.2): the new contract is excluded and every contract it quitou returns to ativo. motivoReversao is a closed set (1 Desistência, 2 Óbito, 3 Fraude). ONLY a refinanciamento this gateway itself registered can be reversed here: the contract must be backed by an accepted refinanciamento of the authenticated tenant and still be alive (not reversed, excluded or seen off the registry: GET …/standing), and anything else is 404 before the rail is called; a refinanciamento made outside this gateway (through the Dataprev Portal, say) has to be reversed there too. When numeroContratoOriginal is supplied the refinancing must also have replaced that contract, else 422 REVERSAO_ORIGINAL_NOT_REPLACED before the rail is called. The 7-business-day window is judged against the gateway’s OWN record of when that refinanciamento committed, never against a date in the request, and it refuses locally only once the window has unambiguously passed; the rail remains the final judge. X-Idempotency is required.
Encabezados
Parámetros de ruta
Cuerpo
Optional. The original contract the operator is acting on, 2 to 15 letters or digits (the same rule as numero_contrato). When present, the reversal is refused with 422 REVERSAO_ORIGINAL_NOT_REPLACED unless it is one of the contracts the refinancing's listaContratosQuitadosTrabalhador named; the refusal leaves nothing recorded, and a replay under the same X-Idempotency returns the first answer. Absent: no check. Never sent to Dataprev.
15"99999999999AR1"
Respuesta
OK
The margin that was held reserved during the reversal window (Manual 008 v1.14 §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"

