Skip to main content
POST
Executar a garantia FGTS para um contrato

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Client-chosen idempotency key. REQUIRED: an absent key is 422, never a generated default. The key decides what a REPEAT gets back; the CONTRACT decides what may happen at all. Same key + same body: the recorded outcome is replayed without touching the rail. Same key + different body: 409. A BRAND-NEW key for a contract that already has an execution record: 409 — a fresh key does not buy a second execution. First attempt's outcome unestablished: 409 until an operator reconciles it.

Exemplo:

"idem-fgts-exec-2026-07-30-0001"

Corpo

application/json
codigoInscricaoEmpregador
enum<string>
obrigatório
Opções disponíveis:
1,
2
Exemplo:

"1"

cpf
string
obrigatório

Worker CPF, exactly 11 digits. In the BODY, never a path or query parameter.

Pattern: ^[0-9]{11}$
Exemplo:

"99999999999"

matricula
string
obrigatório
Minimum string length: 1
Exemplo:

"99999999999-A"

numeroContrato
string
obrigatório

Rail contract number.

Required string length: 1 - 15
Exemplo:

"99999999999AN1"

numeroInscricaoEmpregador
string
obrigatório
Minimum string length: 1
Exemplo:

"42422253000101"

valorMultaRescisoriaGarantiaFgts
string

Rescission-penalty portion pledged as collateral (decimal string, BRL). Obrigatório=Não — omit rather than send 0.

Pattern: ^[0-9]+(\.[0-9]{1,2})?$
Exemplo:

"100.00"

valorSaldoDisponivelGarantiaFgts
string

Consignable FGTS balance pledged as collateral (decimal string, BRL). Obrigatório=Não at the rail: OMIT it for a contract with no FGTS collateral. Sending 0 is not an absence — the rail reads it as an invalid guarantee value.

Pattern: ^[0-9]+(\.[0-9]{1,2})?$
Exemplo:

"98587.56"

Resposta

OK

protocolo
string
obrigatório

Rail protocol number, up to 32 digits. A string so 32 digits survive without precision loss.

Exemplo:

"12345678901234567890123456789012"

replayed
boolean
obrigatório

true when this response was served from the durable record of an earlier identical request under the same X-Idempotency key, without touching the rail — the guarantee was executed once, and this is the recorded outcome. false means THIS call performed the execution.

Exemplo:

false

dtPrevRepasse
string

Forecast repasse date (yyyy-MM-dd).

Exemplo:

"2026-07-15"