Retrieve liabilities
curl --request GET \
--url https://prod.truv.com/v1/links/{link_id}/liabilities/ \
--header 'X-Access-Client-Id: <api-key>' \
--header 'X-Access-Secret: <api-key>'import requests
url = "https://prod.truv.com/v1/links/{link_id}/liabilities/"
headers = {
"X-Access-Client-Id": "<api-key>",
"X-Access-Secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Access-Client-Id': '<api-key>', 'X-Access-Secret': '<api-key>'}
};
fetch('https://prod.truv.com/v1/links/{link_id}/liabilities/', 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://prod.truv.com/v1/links/{link_id}/liabilities/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Access-Client-Id: <api-key>",
"X-Access-Secret: <api-key>"
],
]);
$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://prod.truv.com/v1/links/{link_id}/liabilities/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Access-Client-Id", "<api-key>")
req.Header.Add("X-Access-Secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.truv.com/v1/links/{link_id}/liabilities/")
.header("X-Access-Client-Id", "<api-key>")
.header("X-Access-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.truv.com/v1/links/{link_id}/liabilities/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Access-Client-Id"] = '<api-key>'
request["X-Access-Secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"accounts": [
{
"type": "CREDIT_CARD",
"subtype": "AUTO",
"mask": "6789",
"balances": {
"currency_code": "USD",
"balance": "100.00",
"available_balance": "50.99",
"credit_limit": "200.00"
},
"id": "24d7e80942ce4ad58a93f70ce4115f5c",
"created_at": "2022-05-04T11:30:00Z",
"updated_at": "2022-05-04T12:00:00Z",
"nickname": "My account"
}
],
"liabilities": {
"credit": [
{
"account_id": "68a7e80942ce4ad58a93f70ce411549a",
"advances_apr": "29.24",
"purchases_apr": "23.49",
"available_cash": "92.00",
"available_credit": "92.00",
"balance_as_of": "2025-08-18T01:01:11Z",
"credit_line": "2500.00",
"current_balance": "2407.16",
"last_payment_amount": "300.00",
"last_payment_date": "2025-08-13",
"last_stmt_balance": "1591.40",
"last_stmt_date": "2025-08-01",
"minimum_payment_amount": "0.00",
"next_payment_amount": "0.00",
"next_payment_date": "2025-08-23",
"past_due_amount": "0.00"
}
],
"loans": [
{
"account_id": "24d7e80942ce4ad58a93f70ce4115f5c",
"balance_as_of": "2025-08-18T01:01:11Z",
"escrow_balance": "4611.98",
"interest_paid_year_to_date": "2535.26",
"interest_rate": "15.69",
"interest_rate_as_of": "2025-08-18T01:01:11Z",
"last_payment_amount": "850.44",
"last_payment_date": "2025-08-16T05:49:04Z",
"loan_term": "60",
"maturity_date": "2028-10-17T04:00:00Z",
"next_payment_amount": "850.44",
"next_payment_date": "2025-08-17T04:00:00Z",
"original_principal": "35000.00",
"principal_balance": "25843.58"
}
]
}
}{
"error": {
"code": "authentication_failed",
"message": "No such token"
}
}{
"error": {
"code": "not_authenticated",
"message": "Authentication credentials were not provided."
}
}{
"detail": "Not Found."
}Liabilities
Retrieve liabilities
The endpoint returns liability accounts including credit cards and loans with detailed balance and payment information.
GET
/
v1
/
links
/
{link_id}
/
liabilities
/
Retrieve liabilities
curl --request GET \
--url https://prod.truv.com/v1/links/{link_id}/liabilities/ \
--header 'X-Access-Client-Id: <api-key>' \
--header 'X-Access-Secret: <api-key>'import requests
url = "https://prod.truv.com/v1/links/{link_id}/liabilities/"
headers = {
"X-Access-Client-Id": "<api-key>",
"X-Access-Secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Access-Client-Id': '<api-key>', 'X-Access-Secret': '<api-key>'}
};
fetch('https://prod.truv.com/v1/links/{link_id}/liabilities/', 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://prod.truv.com/v1/links/{link_id}/liabilities/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Access-Client-Id: <api-key>",
"X-Access-Secret: <api-key>"
],
]);
$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://prod.truv.com/v1/links/{link_id}/liabilities/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Access-Client-Id", "<api-key>")
req.Header.Add("X-Access-Secret", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.truv.com/v1/links/{link_id}/liabilities/")
.header("X-Access-Client-Id", "<api-key>")
.header("X-Access-Secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.truv.com/v1/links/{link_id}/liabilities/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Access-Client-Id"] = '<api-key>'
request["X-Access-Secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"accounts": [
{
"type": "CREDIT_CARD",
"subtype": "AUTO",
"mask": "6789",
"balances": {
"currency_code": "USD",
"balance": "100.00",
"available_balance": "50.99",
"credit_limit": "200.00"
},
"id": "24d7e80942ce4ad58a93f70ce4115f5c",
"created_at": "2022-05-04T11:30:00Z",
"updated_at": "2022-05-04T12:00:00Z",
"nickname": "My account"
}
],
"liabilities": {
"credit": [
{
"account_id": "68a7e80942ce4ad58a93f70ce411549a",
"advances_apr": "29.24",
"purchases_apr": "23.49",
"available_cash": "92.00",
"available_credit": "92.00",
"balance_as_of": "2025-08-18T01:01:11Z",
"credit_line": "2500.00",
"current_balance": "2407.16",
"last_payment_amount": "300.00",
"last_payment_date": "2025-08-13",
"last_stmt_balance": "1591.40",
"last_stmt_date": "2025-08-01",
"minimum_payment_amount": "0.00",
"next_payment_amount": "0.00",
"next_payment_date": "2025-08-23",
"past_due_amount": "0.00"
}
],
"loans": [
{
"account_id": "24d7e80942ce4ad58a93f70ce4115f5c",
"balance_as_of": "2025-08-18T01:01:11Z",
"escrow_balance": "4611.98",
"interest_paid_year_to_date": "2535.26",
"interest_rate": "15.69",
"interest_rate_as_of": "2025-08-18T01:01:11Z",
"last_payment_amount": "850.44",
"last_payment_date": "2025-08-16T05:49:04Z",
"loan_term": "60",
"maturity_date": "2028-10-17T04:00:00Z",
"next_payment_amount": "850.44",
"next_payment_date": "2025-08-17T04:00:00Z",
"original_principal": "35000.00",
"principal_balance": "25843.58"
}
]
}
}{
"error": {
"code": "authentication_failed",
"message": "No such token"
}
}{
"error": {
"code": "not_authenticated",
"message": "Authentication credentials were not provided."
}
}{
"detail": "Not Found."
}Was this page helpful?
⌘I