Products
A product is a loan template: the bounds a loan under it must fit (amount, LVR, term), its day-count convention, and the fees a borrower is charged, such as application and establishment fees. Every loan belongs to exactly one product, and a capital program can offer several.
Before you start: read Data model if you haven't.
Endpoints
| What | Method and path | Scope |
|---|---|---|
| List products | GET /api/v1/products |
products:read |
| Get a product | GET /api/v1/products/{id} |
products:read |
Products are read-only through the API; see Create and Update and delete below.
Reference
- The product object: every field a product returns.
- Product fees: the fees a borrower is charged, and how to work one out.
Create
There's no standalone create endpoint. A product is created the first time a loan names it:
- Inline, in the
loan.productblock ofPOST /api/v1/loans, with anexternalIdand, optionally,parametersandfees. Later loans with the sameexternalIdreuse the product. Its details, fees included, are set when it is first created; sending different ones later has no effect. - By id, with
loan.productId, to use a product that already exists for your lender, including one set up inside the platform.
For the fee fields you can send and which are required, see Loans → Fees.
Update and delete
Not exposed. Products are managed inside the platform.
In the sandbox
Each sandbox lender has three products, all with fees:
externalId |
Name | Bounds | Fees |
|---|---|---|---|
product-cre-senior-5yr |
Sandbox Lender CRE Senior 5yr | $0.5m–$25m, LVR ≤ 65%, 12–60 months | Application ($10,000), establishment (1.5% of approved principal, capitalised) |
product-construction-24m |
Sandbox Lender Construction Facility 24m | $1m–$40m, LVR ≤ 70%, 6–24 months | Establishment (2%, capitalised), line fee (0.25% of current principal, periodic), variation fee ($2,500, optional) |
product-residual-stock-12m |
Sandbox Lender Residual Stock 12m | $0.25m–$10m, LVR ≤ 60%, 6–12 months | Establishment (1%, capitalised), discharge fee ($1,500) |
Shell
curl -sS -H "x-api-key: $SANDBOX_KEY" \
"https://developers.gallantreecapital.com/api/v1/products?externalId=product-construction-24m"
What to do next
- The pool of capital a product sits in: Capital programs.
- Creating a loan under a product: Loans → Create.
- Full field list: API reference.
Was this page helpful?