Paginação de simulações
curl --request GET \
--url https://api.staging.credicarro.com.br/integration/v1/proposal/simulation \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.staging.credicarro.com.br/integration/v1/proposal/simulation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.staging.credicarro.com.br/integration/v1/proposal/simulation")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.staging.credicarro.com.br/integration/v1/proposal/simulation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"itens": [
{
"id_simulacao": "bea8d060-f93d-48eb-b6c4-45f64483cdd9",
"prazo": 24,
"valor_parcela": 2356,
"valor_solicitado": 37908,
"valor_entrada": 9786,
"valor_bem": 47694,
"valor_tac": 1500,
"taxa_juros_negociada": 2.79,
"valor_registro": 487,
"uf": "SP",
"tipo": "Refinancing",
"transacao": {
"valor_total_credito": 78495,
"valor_total_debito": 78495
},
"juros": {
"percentual_juros_mensal": 3.29,
"percentual_juros_anual": 39.48
},
"cet": {
"percentual_mensal": 3.62,
"percentual_anual": 43.44
},
"iof": {
"valor": 872,
"percentual": 1.92
},
"veiculo": {
"marca": "Honda",
"modelo": "Civic",
"versao": "Turing",
"ano": 2024,
"valor": 124654,
"placa": "MWO-3910",
"veiculo_zero_km": false,
"chassi": "1Y5Ye4U8kydsr4828",
"renavam": "70502561697",
"cor": "Prata"
},
"cliente": {
"cpf": "123.456.789-01"
},
"data_criacao": "2025-10-17T19:05:08.984Z"
}
],
"pagina": {
"tem_proximo": true,
"tem_anterior": false,
"numero": 2,
"tamanho": 15,
"total": 45
}
}{
"tipo": "Partner.AccountIsIncompleted",
"titulo": "Bad Request",
"status": 400,
"detalhe": "Cadastro de conta não finalizado",
"erro": null
}Simulação
Paginar Simulações
Paginação de simulações
GET
/
v1
/
proposal
/
simulation
Paginação de simulações
curl --request GET \
--url https://api.staging.credicarro.com.br/integration/v1/proposal/simulation \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.staging.credicarro.com.br/integration/v1/proposal/simulation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.staging.credicarro.com.br/integration/v1/proposal/simulation"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.staging.credicarro.com.br/integration/v1/proposal/simulation")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.staging.credicarro.com.br/integration/v1/proposal/simulation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"itens": [
{
"id_simulacao": "bea8d060-f93d-48eb-b6c4-45f64483cdd9",
"prazo": 24,
"valor_parcela": 2356,
"valor_solicitado": 37908,
"valor_entrada": 9786,
"valor_bem": 47694,
"valor_tac": 1500,
"taxa_juros_negociada": 2.79,
"valor_registro": 487,
"uf": "SP",
"tipo": "Refinancing",
"transacao": {
"valor_total_credito": 78495,
"valor_total_debito": 78495
},
"juros": {
"percentual_juros_mensal": 3.29,
"percentual_juros_anual": 39.48
},
"cet": {
"percentual_mensal": 3.62,
"percentual_anual": 43.44
},
"iof": {
"valor": 872,
"percentual": 1.92
},
"veiculo": {
"marca": "Honda",
"modelo": "Civic",
"versao": "Turing",
"ano": 2024,
"valor": 124654,
"placa": "MWO-3910",
"veiculo_zero_km": false,
"chassi": "1Y5Ye4U8kydsr4828",
"renavam": "70502561697",
"cor": "Prata"
},
"cliente": {
"cpf": "123.456.789-01"
},
"data_criacao": "2025-10-17T19:05:08.984Z"
}
],
"pagina": {
"tem_proximo": true,
"tem_anterior": false,
"numero": 2,
"tamanho": 15,
"total": 45
}
}{
"tipo": "Partner.AccountIsIncompleted",
"titulo": "Bad Request",
"status": 400,
"detalhe": "Cadastro de conta não finalizado",
"erro": null
}Authorizations
Cabeçalho de autenticação Bearer no formato Bearer <token> onde <token> é seu TOKEN de autenticação
Query Parameters
Página inicial (mínimo 1)
Example:
1
Quantidade de itens por página (1 a 100)
Example:
10
⌘I