Proposals | Propostas
Update an existing proposal | Atualizar uma proposta existente
Updates the details of an existing loan proposal | Atualiza os detalhes de uma proposta de crédito existente
put/proposals/{id}
Path parameters
idstring required
Proposal ID (UUID) | ID da Proposta (UUID)
Request body
Example request
{
"customer_id": "29a17b33-fe71-4951-bd85-ab2ed014ee37",
"destination_account": {
"account_type": "0",
"bank": "450",
"bank_account": "1030903777",
"bank_account_digit": "2",
"bank_branch": "001",
"document": "05631367319",
"name": "Gabriel Teixeira de Almeida Fontenele"
},
"email": "gabriel.fontenele@fitbank.com.br",
"phone": "85991104646",
"product_id": "825222d8-e019-437f-9ec1-f5cb31893636",
"simulation_input": {
"customer_type": "PF",
"first_due_date": "2025-08-08",
"include_iof": true,
"interest_rate": 0.035,
"iof_handling_type": "FINANCED",
"loan_amount": 2.5,
"number_of_installments": 3,
"periodicity_interval": 1,
"periodicity_unit": "MONTH",
"registration_fee": 1,
"registration_fee_handling_type": "FINANCED",
"release_date": "2025-07-08",
"simulation_type": "PRICE"
}
}Response
Proposal updated successfully | Proposta atualizada com sucesso
Example response
{
"code": "success",
"data": {
"code": "20250711-000001",
"created_at": "2025-07-11T15:37:37.644844-03:00",
"customer_data": {
"dados_adcionais": "vas",
"mail": "lucas@mail.com",
"phone": "88982333576"
},
"customer_id": "29a17b33-fe71-4951-bd85-ab2ed014ee37",
"destination_account": {
"account_type": "0",
"bank": "450",
"bank_account": "187865286",
"bank_account_digit": "8",
"bank_branch": "0001",
"document": "437.912.970-58",
"name": "Luan Leandro Pereira",
"receiver_pix_key": "70379563177",
"receiver_pix_key_type": "0"
},
"document": "90.578.673/0001-00",
"documents": [
{
"content_type": "image/png",
"created_at": "2025-07-11T15:37:54.241777-03:00",
"customer_id": "29a17b33-fe71-4951-bd85-ab2ed014ee37",
"document_type": "SELFIE",
"file_name": "SELFIE.png",
"file_size": 1919,
"id": "9931312f-0e81-4eae-873c-5d7d18c5e6ea",
"proposal_id": "869c964b-7d19-40d4-8285-56c117393b2b",
"storage_url": "gs://bucket-easyc-api-empty-staging/proposals/869c964b-7d19-40d4-8285-56c117393b2b/documents/9931312f-0e81-4eae-873c-5d7d18c5e6ea_SELFIE.png",
"updated_at": "2025-07-11T15:37:54.149663-03:00",
"upload_timestamp": "2025-07-11T15:37:54.022437-03:00"
}
],
"email": "calango@mail.com",
"id": "869c964b-7d19-40d4-8285-56c117393b2b",
"phone": "5588988335566",
"product_id": "825222d8-e019-437f-9ec1-f5cb31893636",
"simulation": {
"cet_annual": 0.280651,
"cet_monthly": 0.020828,
"customer_type": "PF",
"first_due_date": "2025-07-01T00:00:00Z",
"include_iof": true,
"installments": [
{
"balance": 9590.8,
"due_date": "2025-07-01T00:00:00Z",
"installment_number": 1,
"interest_amount": 155.81,
"payment_amount": 952.31,
"principal_amount": 796.5
}
],
"interest_rate": 0.015,
"iof_amount": 337.3,
"iof_handling_type": "FINANCED",
"loan_amount": 10000,
"net_amount_released": 10000,
"number_of_installments": 12,
"periodicity_interval": 1,
"periodicity_unit": "MONTH",
"registration_fee": 50,
"registration_fee_handling_type": "FINANCED",
"release_date": "2025-06-01T00:00:00Z",
"simulation_type": "PRICE",
"total_financed_amount": 10387.3
},
"status": "DocumentsPending",
"step": "Documentation",
"updated_at": "2025-07-11T15:37:37.553883-03:00"
},
"message": "Proposal retrieved successfully",
"request_id": "1604ebd7-fa91-4087-965f-e05021775b38"
}