Customers Total Loan
curl --request GET \
--url https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}import requests
url = "https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}', 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://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyAPI Endpoints
Customers Total Loan
Retrieves dashboard summary information including total borrowed amounts for a user.
GET
/
user
/
get-total
/
{customerId}
Customers Total Loan
curl --request GET \
--url https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}import requests
url = "https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}', 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://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant}.fincode.software/api/v1/services/user/get-total/{customerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyFetches aggregated loan information for the user’s dashboard, including total amounts borrowed, outstanding balances, and other summary statistics.
Request Headers
string
required
The JWT Access Token obtained from the
/login or /refresh-token endpoint.string
required
Unique idempotency key for the request to prevent duplicate processing.
string
required
The date and time at which the request was initiated (ISO 8601 format).
string
required
The IP address of the customer making the request.
string
required
Unique identifier for the interaction/session.
Path Parameters
string
required
The unique identifier (UUID) of the user whose dashboard totals to retrieve.
Path Parameters
Response
200
Dashboard summary retrieved successfully
