List credit facilities
curl --request GET \
--url https://api.tilta.io/v1/facilities \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tilta.io/v1/facilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tilta.io/v1/facilities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tilta.io/v1/facilities",
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;
}{
"limit": 100,
"offset": 0,
"total": 140,
"items": [
{
"buyer_external_id": "5f6374a46a5e8e0104aa5cd4",
"pending_orders_amount": 2500,
"risk_band": "REJECT",
"created_at": 1582896122,
"updated_at": 1582896122,
"status": "ACTIVE",
"reviewed_at": 123,
"currency": "EUR",
"total_amount": 10000,
"available_amount": 5200,
"used_amount": 4800
}
]
}{
"code": "BAD_REQUEST",
"error": "Request validation failed. 1 issue found.",
"issues": [
{
"code": "INVALID_TYPE",
"path": "body.registered_at",
"message": "Invalid type"
}
]
}{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}Credit Facilities
List credit facilities
Retrieve a paginated list of credit facilities across all buyers on your platform. Filter by status to monitor credit utilization and facility health.
GET
/
v1
/
facilities
List credit facilities
curl --request GET \
--url https://api.tilta.io/v1/facilities \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tilta.io/v1/facilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tilta.io/v1/facilities"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tilta.io/v1/facilities",
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;
}{
"limit": 100,
"offset": 0,
"total": 140,
"items": [
{
"buyer_external_id": "5f6374a46a5e8e0104aa5cd4",
"pending_orders_amount": 2500,
"risk_band": "REJECT",
"created_at": 1582896122,
"updated_at": 1582896122,
"status": "ACTIVE",
"reviewed_at": 123,
"currency": "EUR",
"total_amount": 10000,
"available_amount": 5200,
"used_amount": 4800
}
]
}{
"code": "BAD_REQUEST",
"error": "Request validation failed. 1 issue found.",
"issues": [
{
"code": "INVALID_TYPE",
"path": "body.registered_at",
"message": "Invalid type"
}
]
}{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}This endpoint returns a paginated list of credit facilities across all buyers registered on your platform. Use it to monitor overall credit utilization or audit facility statuses in bulk. Unlike the per-buyer facility endpoint, this view gives you a platform-wide perspective – useful for risk monitoring dashboards and customer success workflows.
Pass
buyer_external_ids to pull facilities for a known set of buyers in one call, rather than making one Retrieve
facility request per buyer.Authorizations
Your Tilta API key, sent as Bearer <key>.
Query Parameters
The number of records to be taken.
Required range:
x <= 100Example:
100
The number of records to be skipped.
Example:
0
List of buyer external IDs to filter by.
Example:
"buyer_id_1,buyer_id_2"
Response
List of credit facilities
The number of taken records.
Required range:
x >= 0Example:
100
The number of skipped records.
Required range:
x >= 0Example:
0
Total number of records
Required range:
x >= 0Example:
140
List of credit facilities.
Show child attributes
Show child attributes