curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/moratory-interest \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/entities/{entityId}/insights/moratory-interest"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/entities/{entityId}/insights/moratory-interest', 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.syntage.com/entities/{entityId}/insights/moratory-interest",
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-API-Key: <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://api.syntage.com/entities/{entityId}/insights/moratory-interest"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.syntage.com/entities/{entityId}/insights/moratory-interest")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/entities/{entityId}/insights/moratory-interest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": {
"lastMonthTotal": 1250.75,
"threeMonthAverage": 940.25,
"twelveMonthTotal": 18250.5,
"yoyThreeMonthPercentage": 18.45,
"lastMonthVsThreeMonthPercentage": 33.02,
"trendPercentage": 12.3,
"isRecurring": true,
"institutionCount": 2,
"periodTotal": 18250.5,
"periodInstitutionCount": 2,
"periodFrom": "2025-01-01",
"periodTo": "2025-12-31"
},
"monthly": [
{
"date": "2025-01-01",
"totalAmount": 1250.75
}
],
"monthlyByInstitution": [
{
"date": "2025-01-01",
"issuerRfc": "PEIC211118IS0",
"issuerName": "BANCO EJEMPLO SA",
"legalName": "BANCO EJEMPLO SA INSTITUCION DE BANCA MULTIPLE",
"tradeName": "Banco Ejemplo",
"totalAmount": 1250.75
}
],
"institutions": [
{
"issuerRfc": "PEIC211118IS0",
"issuerName": "BANCO EJEMPLO SA",
"legalName": "BANCO EJEMPLO SA INSTITUCION DE BANCA MULTIPLE",
"tradeName": "Banco Ejemplo",
"totalAmount": 18250.5
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Moratory Interest Insight
Returns moratory-interest charges for the entity, aggregated from received financial-institution invoices. The response includes summary KPIs, monthly totals, monthly totals by financial institution, and institution-level totals.
If no period is provided, the insight defaults to the last 12 full months.
curl --request GET \
--url https://api.syntage.com/entities/{entityId}/insights/moratory-interest \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.syntage.com/entities/{entityId}/insights/moratory-interest"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.syntage.com/entities/{entityId}/insights/moratory-interest', 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.syntage.com/entities/{entityId}/insights/moratory-interest",
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-API-Key: <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://api.syntage.com/entities/{entityId}/insights/moratory-interest"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<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://api.syntage.com/entities/{entityId}/insights/moratory-interest")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.syntage.com/entities/{entityId}/insights/moratory-interest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": {
"lastMonthTotal": 1250.75,
"threeMonthAverage": 940.25,
"twelveMonthTotal": 18250.5,
"yoyThreeMonthPercentage": 18.45,
"lastMonthVsThreeMonthPercentage": 33.02,
"trendPercentage": 12.3,
"isRecurring": true,
"institutionCount": 2,
"periodTotal": 18250.5,
"periodInstitutionCount": 2,
"periodFrom": "2025-01-01",
"periodTo": "2025-12-31"
},
"monthly": [
{
"date": "2025-01-01",
"totalAmount": 1250.75
}
],
"monthlyByInstitution": [
{
"date": "2025-01-01",
"issuerRfc": "PEIC211118IS0",
"issuerName": "BANCO EJEMPLO SA",
"legalName": "BANCO EJEMPLO SA INSTITUCION DE BANCA MULTIPLE",
"tradeName": "Banco Ejemplo",
"totalAmount": 1250.75
}
],
"institutions": [
{
"issuerRfc": "PEIC211118IS0",
"issuerName": "BANCO EJEMPLO SA",
"legalName": "BANCO EJEMPLO SA INSTITUCION DE BANCA MULTIPLE",
"tradeName": "Banco Ejemplo",
"totalAmount": 18250.5
}
]
}{
"message": "<string>"
}{
"message": "<string>"
}Authorizations
Your API key is available in the Production and Sandbox dashboards.
Path Parameters
Query Parameters
Start date of the period to analyze.
"2025-01-01T00:00:00.000Z"
End date of the period to analyze.
"2025-12-31T23:59:59.999Z"
Response
Moratory Interest
Summary KPIs for moratory-interest charges.
Show child attributes
Show child attributes
Monthly moratory-interest totals for the selected period.
Show child attributes
Show child attributes
Monthly moratory-interest totals broken down by financial institution.
Show child attributes
Show child attributes
Financial institution aggregates over the 12-month window, sorted by total amount descending.
Show child attributes
Show child attributes
Was this page helpful?