Resgata icon

Resgata

Integracao completa com a API Resgata para gestao de credito consignado

Proposta → [CLT] Simular Emprestimo

AI-generated

Summary

Simulate a CLT (Consolidated Labor Laws) employment loan proposal using a specified protocol number and optionally targeting a specific bank to retrieve simulation details from the Resgata API.

Inputs

  • Numero De Protocolo (required) — The protocol number of the service attendance related to the proposal; used to identify the proposal for which the loan simulation will be performed.
  • Banco — Optional bank code to tailor the loan simulation to a specific bank; valid options are BMP, BMG, C6, PAN, and Safra. Defaults to BMP.
  • Options — Optional collection of additional options, including timeout in seconds to specify the maximum wait time for the operation, useful for handling webhook delays.

Output shape

a single JSON object

Returns the simulation result as a single JSON object containing the employment loan simulation details for the given protocol number and bank. The operation may respect an optional timeout parameter for longer processing waits.

Examples

Example 1: Simulate a CLT loan proposal for a given protocol.

Provide the protocol number and optionally the bank code and timeout option to receive a loan simulation.

Discussion