# 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](../capital-programs/README.md) can offer several. Before you start: read [Data model](../../../concepts/data-model.md) if you haven't. ## Endpoints | What | Method and path | Scope | |------|-----------------|-------| | [List products](list.md) | `GET /api/v1/products` | `products:read` | | [Get a product](get.md) | `GET /api/v1/products/{id}` | `products:read` | Products are read-only through the API; see [Create](#create) and [Update and delete](#update-and-delete) below. ## Reference - **[The product object](object.md)**: every field a product returns. - **[Product fees](fees.md)**: 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.product` block of [`POST /api/v1/loans`](../loans/create-program-and-product.md), with an `externalId` and, optionally, `parameters` and `fees`. Later loans with the same `externalId` reuse 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](../loans/create-program-and-product.md#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) | ```bash 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](../capital-programs/README.md)**. - Creating a loan under a product: **[Loans → Create](../loans/create.md)**. - Full field list: **[API reference](../../../reference/openapi.md)**.