Skip to main content
POST
Execute the FGTS guarantee for a contract

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

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.

Example:

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

Body

application/json
codigoInscricaoEmpregador
enum<string>
required
Available options:
1,
2
Example:

"1"

cpf
string
required

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

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

"99999999999"

matricula
string
required
Minimum string length: 1
Example:

"99999999999-A"

numeroContrato
string
required

Rail contract number.

Required string length: 1 - 15
Example:

"99999999999AN1"

numeroInscricaoEmpregador
string
required
Minimum string length: 1
Example:

"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})?$
Example:

"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})?$
Example:

"98587.56"

Response

OK

protocolo
string
required

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

Example:

"12345678901234567890123456789012"

replayed
boolean
required

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.

Example:

false

dtPrevRepasse
string

Forecast repasse date (yyyy-MM-dd).

Example:

"2026-07-15"