> For the complete documentation index, see [llms.txt](https://docs.xyb.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xyb.co/credit/create-a-credit-contract-product.md).

# Create a Credit Contract Product

Once you’ve configured your **Credit Services** and **Credit Contract Service**, you’re ready to create individual credit products tailored to different customer and business needs.

A product in XYB represents a reusable lending template, whether it’s for small personal loans, BNPL offerings, or microloans for businesses. Each product inherits all relevant logic from the underlying services, ensuring consistency, compliance, and modularity across your credit offering.

This product becomes the core object from which contracts are disbursed, repayments are tracked, and interest or fees are applied based entirely on your prior configurations.

***

### Prerequisites

Before you begin, ensure all the dependent services are configured for global settings of the prodicets. [Learn more](/credit/configure-and-create-credit-products/configure-global-settings-for-credit-products.md)

***

### Steps to Create a Credit Product

You can create a product under **Product Configuration > Products** in the UI.

#### 1. Set Terms

Define who owns the product and the account to associate. Choose the loan term type (e.g., monthly) and when payback starts.

#### 2. Define Settlement Logic

Choose the settlement type and list the order of how repayments are settled - penalties, interest, and principal.

#### 3. Configure Amount

Specify default loan value, as well as minimum, maximum, and incremental steps for lending amounts.

#### 4. Configure Interest

Add interest types such as principal or penalty. Define ranges, day count conventions, rounding methods, and booking periods.

> Note: These rules come from the Interest Service. Make sure they’re defined before using.

#### 5. Set Schedule and Payment Frequencies

Select schedule types like bullet, annuity, or fixed principal. Set principal payment frequencies such as monthly or quarterly.

#### 6. Set Customer Segments

Choose customer sectors (e.g., public, private) and specific customer segments (e.g., VIP, regular).

#### 7. Define Attributes

Add agreement length parameters (default, min, max), and ensure alignment with your operational model.

#### 8. Assign General Configuration

Choose the product group (e.g., Loan or BNPL), type (e.g., Microloan), country, and supported currencies.

#### 9. Add Fees

Specify loan fees, including calculation methods and ranges. These will apply automatically to disbursed contracts.

#### 10. Attach Document Templates

Link templates for agreements, pre-contract documents, or disclosures.

> These must be created under the Template Service beforehand.

***

With the credit product created, it becomes the launchpad for issuing individual credit contracts to customers. You no longer need to define interest rules, fees, or repayment logic each time, a single product handles it all, giving you faster rollout and operational consistency.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xyb.co/credit/create-a-credit-contract-product.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
