Create loan product (BR alias)
curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/br/loan-products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"jurisdictionExtensions": {}
}
'import requests
url = "https://lender.sandbox.lerian.net/api/v1/br/loan-products"
payload = {
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"jurisdictionExtensions": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
jurisdictionCode: '<string>',
loanType: '<string>',
name: '<string>',
jurisdictionExtensions: {}
})
};
fetch('https://lender.sandbox.lerian.net/api/v1/br/loan-products', 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://lender.sandbox.lerian.net/api/v1/br/loan-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jurisdictionCode' => '<string>',
'loanType' => '<string>',
'name' => '<string>',
'jurisdictionExtensions' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/br/loan-products"
payload := strings.NewReader("{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\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))
}HttpResponse<String> response = Unirest.post("https://lender.sandbox.lerian.net/api/v1/br/loan-products")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://lender.sandbox.lerian.net/api/v1/br/loan-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\n}"
response = http.request(request)
puts response.read_body{
"createdAt": "<string>",
"id": "<string>",
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"status": "<string>",
"currentVersionId": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Create loan product (BR alias)
BR-aliased path for creating a loan product. Resolves to the same handler as the core endpoint.
POST
/
api
/
v1
/
br
/
loan-products
Create loan product (BR alias)
curl --request POST \
--url https://lender.sandbox.lerian.net/api/v1/br/loan-products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"jurisdictionExtensions": {}
}
'import requests
url = "https://lender.sandbox.lerian.net/api/v1/br/loan-products"
payload = {
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"jurisdictionExtensions": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
jurisdictionCode: '<string>',
loanType: '<string>',
name: '<string>',
jurisdictionExtensions: {}
})
};
fetch('https://lender.sandbox.lerian.net/api/v1/br/loan-products', 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://lender.sandbox.lerian.net/api/v1/br/loan-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jurisdictionCode' => '<string>',
'loanType' => '<string>',
'name' => '<string>',
'jurisdictionExtensions' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://lender.sandbox.lerian.net/api/v1/br/loan-products"
payload := strings.NewReader("{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\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))
}HttpResponse<String> response = Unirest.post("https://lender.sandbox.lerian.net/api/v1/br/loan-products")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://lender.sandbox.lerian.net/api/v1/br/loan-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"jurisdictionCode\": \"<string>\",\n \"loanType\": \"<string>\",\n \"name\": \"<string>\",\n \"jurisdictionExtensions\": {}\n}"
response = http.request(request)
puts response.read_body{
"createdAt": "<string>",
"id": "<string>",
"jurisdictionCode": "<string>",
"loanType": "<string>",
"name": "<string>",
"status": "<string>",
"currentVersionId": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Authorizations
JWT bearer token issued by the identity provider.
Body
application/json
Response
Created
Creation timestamp (RFC3339, UTC).
Example:
"2026-06-14T12:00:00Z"
Server-assigned loan product identifier (uuid).
Example:
"550e8400-e29b-41d4-a716-446655440009"
Jurisdiction profile code (e.g. BR).
Example:
"BR"
Loan product type.
Example:
"personal"
Loan product display name.
Lifecycle status (e.g. draft|active).
Example:
"active"
Identifier (uuid) of the pinned active version; empty until activation.
Example:
"550e8400-e29b-41d4-a716-44665544000a"
Was this page helpful?
⌘I

