curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expectedDisbursementDate": "2026-10-08",
"firstDueDate": "2026-11-05",
"grossAmount": "1201.20",
"loanProductVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestedInstallments": 12,
"requestedInterestRate": "0.018",
"installmentAmount": "112.19",
"originationFeeAmount": "10.00"
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview"
payload := strings.NewReader("{\n \"expectedDisbursementDate\": \"2026-10-08\",\n \"firstDueDate\": \"2026-11-05\",\n \"grossAmount\": \"1201.20\",\n \"loanProductVersionId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestedInstallments\": 12,\n \"requestedInterestRate\": \"0.018\",\n \"installmentAmount\": \"112.19\",\n \"originationFeeAmount\": \"10.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
expectedDisbursementDate: '2026-10-08',
firstDueDate: '2026-11-05',
grossAmount: '1201.20',
loanProductVersionId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
requestedInstallments: 12,
requestedInterestRate: '0.018',
installmentAmount: '112.19',
originationFeeAmount: '10.00'
})
};
fetch('https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview"
payload = {
"expectedDisbursementDate": "2026-10-08",
"firstDueDate": "2026-11-05",
"grossAmount": "1201.20",
"loanProductVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestedInstallments": 12,
"requestedInterestRate": "0.018",
"installmentAmount": "112.19",
"originationFeeAmount": "10.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"calendarReference": "<string>",
"effectiveCost": {
"effectiveCostAnnualPct": "12.00000000",
"effectiveCostMonthlyPct": "0.94888100",
"memoryOfCalculation": {},
"methodId": "<string>",
"rateTableSnapshot": {}
},
"grossAmount": "<string>",
"installments": [
{
"dueDate": "2026-06-14",
"interestAmount": "234.56",
"number": 1,
"principalAmount": "1000.00",
"remainingBalance": "49000.00",
"totalAmount": "1234.56"
}
],
"iofAdditional": "<string>",
"iofDaily": "<string>",
"jurisdictionCode": "<string>",
"netDeliveredAmount": "<string>",
"originationFeeAmount": "<string>",
"profileVersion": "<string>",
"rateTableSnapshotId": "<string>",
"totalInterest": "<string>",
"totalIof": "<string>",
"totalPrincipal": "<string>",
"totalTax": "<string>"
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Preview a complete CLT quote
Computes one installment ladder, IOF, optional retained origination fee, borrower net and CET directly in Lender. Creates no application, account, debt or persisted offer.
curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"expectedDisbursementDate": "2026-10-08",
"firstDueDate": "2026-11-05",
"grossAmount": "1201.20",
"loanProductVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestedInstallments": 12,
"requestedInterestRate": "0.018",
"installmentAmount": "112.19",
"originationFeeAmount": "10.00"
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview"
payload := strings.NewReader("{\n \"expectedDisbursementDate\": \"2026-10-08\",\n \"firstDueDate\": \"2026-11-05\",\n \"grossAmount\": \"1201.20\",\n \"loanProductVersionId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestedInstallments\": 12,\n \"requestedInterestRate\": \"0.018\",\n \"installmentAmount\": \"112.19\",\n \"originationFeeAmount\": \"10.00\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
expectedDisbursementDate: '2026-10-08',
firstDueDate: '2026-11-05',
grossAmount: '1201.20',
loanProductVersionId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
requestedInstallments: 12,
requestedInterestRate: '0.018',
installmentAmount: '112.19',
originationFeeAmount: '10.00'
})
};
fetch('https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://lender.sandbox.lerian.net/api/v1/br/consignado/quotes/preview"
payload = {
"expectedDisbursementDate": "2026-10-08",
"firstDueDate": "2026-11-05",
"grossAmount": "1201.20",
"loanProductVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestedInstallments": 12,
"requestedInterestRate": "0.018",
"installmentAmount": "112.19",
"originationFeeAmount": "10.00"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"calendarReference": "<string>",
"effectiveCost": {
"effectiveCostAnnualPct": "12.00000000",
"effectiveCostMonthlyPct": "0.94888100",
"memoryOfCalculation": {},
"methodId": "<string>",
"rateTableSnapshot": {}
},
"grossAmount": "<string>",
"installments": [
{
"dueDate": "2026-06-14",
"interestAmount": "234.56",
"number": 1,
"principalAmount": "1000.00",
"remainingBalance": "49000.00",
"totalAmount": "1234.56"
}
],
"iofAdditional": "<string>",
"iofDaily": "<string>",
"jurisdictionCode": "<string>",
"netDeliveredAmount": "<string>",
"originationFeeAmount": "<string>",
"profileVersion": "<string>",
"rateTableSnapshotId": "<string>",
"totalInterest": "<string>",
"totalIof": "<string>",
"totalPrincipal": "<string>",
"totalTax": "<string>"
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Autorizações
JWT bearer token issued by the identity provider.
Corpo
Proposed civil date, YYYY-MM-DD, not an instant.
"2026-10-08"
First installment civil date, YYYY-MM-DD.
"2026-11-05"
Financed principal in major currency units.
"1201.20"
Product version that supplies the BR pricing and tax rules.
1 <= x <= 60012
Monthly interest rate as a decimal fraction; 0.018 means 1.8% per month.
"0.018"
Optional fixed payroll installment; omitted or zero uses the generated installment.
"112.19"
Optional fee withheld once from principal; omitted means zero.
"10.00"
Resposta
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Esta página foi útil?

