Gallantree Developer API

Loans

The loan is the resource most integrations spend most of their time on. Each page below covers one thing you can do with a loan.

Before you start: read Data model. Loans reference capital programs, products, borrowers, and collaterals — you need the mental model of how those fit together.

Endpoints

What Method and path Scope
List loans GET /api/v1/loans loans:read
Get a loan GET /api/v1/loans/{id} loans:read
Create a loan POST /api/v1/loans loans:write
Upload a document POST /api/v1/loans/{id}/documents documents:write

Loans can't be updated or deleted through the API; see Update and Delete below.

Reference

Status lifecycle

Loans walk through 25+ statuses from draft all the way through to complete or written_off. The most common ones you'll see:

Origination

Settlement

Servicing

Terminal

You cannot set status directly through the API — status transitions are driven by servicing events (payment received, arrears roll, credit committee decision). If you're subscribing to changes, listen to loan.status_changed on webhooks (see Subscribe to events).

Update

Updates via PUT /api/v1/loans/{id} are not exposed in the public API today. Most fields on a loan are servicing state — they change in response to platform events, not integrator writes. If you need a field to change:

If your integration needs a specific field to become writable, tell us.

Delete

Not exposed. Loans are audited; deletion in the loan-management sense means status = written_off or complete — both of which are driven by platform events, not API writes.

What to do next

Was this page helpful?

Built with Token Gesture