Capital programs
A capital program is the pool of capital loans are drawn from: a fund, a mandate, a warehouse. Every loan belongs to exactly one. The program carries the terms that apply across all its loans: domicile, governing law, structure, payment frequency, facility size, and the fees charged at program level, such as trustee and management fees.
Before you start: read Data model if you haven't.
Endpoints
| What | Method and path | Scope |
|---|---|---|
| List capital programs | GET /api/v1/capital-programs |
capital-programs:read |
| Get a capital program | GET /api/v1/capital-programs/{id} |
capital-programs:read |
Capital programs are read-only through the API; see Create and Update and delete below.
Reference
- The capital program object: every field a program returns.
- Capital program fees: the fees charged at program level.
Create
There's no standalone create endpoint. A capital program is created the first time a loan names it:
- Inline, in the
loan.capitalProgramblock ofPOST /api/v1/loans, with anexternalIdand, optionally,fees. Later loans with the sameexternalIdreuse the program. Its details, fees included, are set when it is first created; sending different ones later has no effect. - By id, with
loan.capitalProgramId, to place a loan in a program that already exists for your lender, including one set up inside the platform.
For the fee fields you can send, see Loans → Fees.
Update and delete
Not exposed. Programs are managed inside the platform.
In the sandbox
Each sandbox lender has two programs, both with fees:
externalId |
Name | Fees |
|---|---|---|
program-senior-debt |
Sandbox Lender Senior Debt Fund I | Trustee fee (flat, periodic), management fee (0.5% of total notes, periodic) |
program-construction |
Sandbox Lender Construction Warehouse | Arranger fee (0.75% of senior notes, on establishment), trustee fee (flat, periodic) |
Shell
curl -sS -H "x-api-key: $SANDBOX_KEY" \
"https://developers.gallantreecapital.com/api/v1/capital-programs?externalId=program-senior-debt"
What to do next
- The loan templates a program offers: Products.
- Placing a loan in a program: Loans → Capital program and product.
- Full field list: API reference.
Was this page helpful?