curl --request GET \
--url https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}', 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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organization_id": "<string>",
"contract_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contract": {
"id": "<string>",
"cash_price_cents": 123,
"original_term": 123,
"original_payment_amount_cents": 123,
"original_interest_rate_bps": 123,
"original_apr_bps": 123,
"originated_at": "2023-12-25",
"first_payment_due_at": "2023-12-25"
},
"external_id": "<string>",
"external_contract_id": "<string>",
"status_code": "<string>",
"current_balance_cents": 123,
"past_due_amount_cents": 123,
"payoff_amount_cents": 123,
"payment_amount_cents": 123,
"payment_frequency": "<string>",
"last_payment_at": "2023-12-25",
"next_payment_due_at": "2023-12-25",
"payments_made": 123,
"interest_rate_bps": 123,
"apr_bps": 123,
"interest_start_at": "2023-12-25",
"days_past_due_30": 123,
"days_past_due_60": 123,
"days_past_due_90": 123,
"nsf_count": 123,
"opened_at": "2023-12-25",
"closed_at": "2023-12-25",
"borrowers": [
{
"party_id": "<string>",
"display_name": "<string>",
"role": "<string>",
"is_primary": true,
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"ssn_last_four": "<string>"
}
],
"accrued_interest_cents": 123,
"accrued_late_charge_cents": 123,
"last_payment_amount_cents": 123,
"first_payment_made_at": "2023-12-25",
"final_payment_amount_cents": 123,
"last_extension_at": "2023-12-25",
"interest_base_days": 123,
"over_short_cents": 123
}{
"detail": {
"error_code": "<string>"
}
}{
"detail": {
"error_code": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get an account by external contract ID
Returns an account by its client-supplied contract ID. Pass organization_id to disambiguate contract IDs reused across organizations. Returns 404 if no matching account is reachable by this key and 409 when multiple visible accounts match.
curl --request GET \
--url https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}', 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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.montereyfinancial.app/v1/accounts/by-external-contract-id/{external_contract_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organization_id": "<string>",
"contract_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"contract": {
"id": "<string>",
"cash_price_cents": 123,
"original_term": 123,
"original_payment_amount_cents": 123,
"original_interest_rate_bps": 123,
"original_apr_bps": 123,
"originated_at": "2023-12-25",
"first_payment_due_at": "2023-12-25"
},
"external_id": "<string>",
"external_contract_id": "<string>",
"status_code": "<string>",
"current_balance_cents": 123,
"past_due_amount_cents": 123,
"payoff_amount_cents": 123,
"payment_amount_cents": 123,
"payment_frequency": "<string>",
"last_payment_at": "2023-12-25",
"next_payment_due_at": "2023-12-25",
"payments_made": 123,
"interest_rate_bps": 123,
"apr_bps": 123,
"interest_start_at": "2023-12-25",
"days_past_due_30": 123,
"days_past_due_60": 123,
"days_past_due_90": 123,
"nsf_count": 123,
"opened_at": "2023-12-25",
"closed_at": "2023-12-25",
"borrowers": [
{
"party_id": "<string>",
"display_name": "<string>",
"role": "<string>",
"is_primary": true,
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"ssn_last_four": "<string>"
}
],
"accrued_interest_cents": 123,
"accrued_late_charge_cents": 123,
"last_payment_amount_cents": 123,
"first_payment_made_at": "2023-12-25",
"final_payment_amount_cents": 123,
"last_extension_at": "2023-12-25",
"interest_base_days": 123,
"over_short_cents": 123
}{
"detail": {
"error_code": "<string>"
}
}{
"detail": {
"error_code": "<string>"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Short-lived access token minted by POST /v1/oauth/token.
Path Parameters
Query Parameters
Optional organization used to disambiguate reused identifiers.
Response
Successful Response
Detailed account snapshot with contract and borrower relationships.
The organization the account belongs to.
Originated-loan facts. Returned nested on AccountDetailRow.
Show child attributes
Show child attributes
Source loan-management account identifier.
Client-supplied contract identifier.
Current account status code.
Current outstanding balance in cents.
Amount currently past due in cents.
Current payoff amount in cents.
Scheduled payment amount in cents.
Scheduled payment cadence.
Date of the most recent payment.
Next scheduled payment due date.
Annual interest rate in basis points.
Annual percentage rate in basis points.
Days in the 1-30 day delinquency bucket.
Days in the 31-60 day delinquency bucket.
Days in the 61-90 day delinquency bucket.
Number of non-sufficient-funds events.
Date the account opened.
Date the account closed, when applicable.
Enriched borrower parties, with the primary borrower first.
Show child attributes
Show child attributes
Accrued unbilled interest in cents.
Accrued late charges in cents.
Most recent payment amount in cents.
Date the first payment was received.
Scheduled final payment in cents.
Date of the most recent term extension.
Interest day-count convention.
Over/short adjustment balance in cents.