Request a credit facility renewal
curl --request POST \
--url https://api.tilta.io/v1/buyers/{external_id}/facility/renew \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tilta.io/v1/buyers/{external_id}/facility/renew', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tilta.io/v1/buyers/{external_id}/facility/renew"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tilta.io/v1/buyers/{external_id}/facility/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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;
}{
"buyer_external_id": "5f6374a46a5e8e0104aa5cd4"
}{
"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"
}{
"error": "No Entity found",
"code": "NOT_FOUND"
}Credit Facilities
Request a facility renewal
Trigger an early renewal of a buyer credit facility ahead of the standard 3-month cycle. Initiates a fresh underwriting review and extends the expiry.
POST
/
v1
/
buyers
/
{external_id}
/
facility
/
renew
Request a credit facility renewal
curl --request POST \
--url https://api.tilta.io/v1/buyers/{external_id}/facility/renew \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tilta.io/v1/buyers/{external_id}/facility/renew', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tilta.io/v1/buyers/{external_id}/facility/renew"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tilta.io/v1/buyers/{external_id}/facility/renew",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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;
}{
"buyer_external_id": "5f6374a46a5e8e0104aa5cd4"
}{
"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"
}{
"error": "No Entity found",
"code": "NOT_FOUND"
}Tilta automatically renews every credit facility approximately every three months, running a fresh underwriting review and extending the expiry date before the current period ends. If you need to renew a facility ahead of that schedule – for example, because a high-value buyer is approaching expiry and you want to ensure continuity, or because the buyer’s business profile has significantly improved since the last review – you can request an early renewal using this endpoint. The renewal triggers a new underwriting assessment and delivers the result via a
FACILITY.RENEWAL.* webhook event.
Webhook events
The renewal result is delivered asynchronously. Subscribe to the following events in your webhook configuration:| Event | Description |
|---|---|
FACILITY.RENEWAL.ACCEPTED | The renewal was approved. The limit may differ from the previous one, based on the new underwriting result. |
FACILITY.RENEWAL.REJECTED | The renewal was rejected. If the current facility is still within its active period, it remains usable until it expires. |
FACILITY.RENEWAL.IN_REVIEW | Underwriting requires additional review and has not yet concluded. |
Tilta handles automatic renewal for all active facilities before they expire. You only need to call this endpoint if you want
to renew a facility ahead of the normal schedule – for example, to get a fresh credit assessment for a buyer who has grown
substantially since their last review.
If a buyer’s credit facility has already expired, use this endpoint to request a renewal and restore their ability to place
orders. After a
FACILITY.RENEWAL.ACCEPTED event, the buyer’s available_amount is restored and new orders can be authorized
immediately.A renewal may result in a different credit limit than the buyer’s current one – the new underwriting review may increase or
decrease the limit based on the buyer’s current creditworthiness. Ensure your platform handles limit changes gracefully,
particularly if a buyer’s limit decreases after renewal.
Authorizations
Your Tilta API key, sent as Bearer <key>.
Path Parameters
Unique identifier of a buyer.
Maximum string length:
100Pattern:
^[a-zA-Z0-9-_]+$Response
The renewal of a credit facility has been requested.
Unique identifier for buyer.
Maximum string length:
100Pattern:
^[a-zA-Z0-9-_]+$Example:
"5f6374a46a5e8e0104aa5cd4"