# Adding Installments to the Payment Page

In Israel, it's very common for customers to split their payments into several installments. Hyp Pay makes it easy for you to offer this option right on your payment page.

There are two main ways your customers can pay in installments:

1. **Regular installments**. The total amount is split into equal monthly payments with no interest.
2. **Credit installments**. The customer pays the total amount plus interest over three or more installments.

The best part is that you don't have to worry about the logistics. The credit card company handles everything once the transaction is set up. They'll make sure the payments are processed correctly each month.

## Enabling installments

To start offering installments, just add a few extra parameters to your [payment page request](/pay/getting-started/creating-a-payment-page.md#create-a-payment-page-request). If you don't include them, the payment will be processed as a single, one-time charge.

Here are the parameters you'll use to set things up:

* `Tash`: Sets the maximum number of installments you'll allow. For example, if you set this to `12`, your customer can pick anything from 1 to 12 installments.
* `FixTash`: If you want to require a specific number of installments, set this to `True`. When it's `False` (the default), customers can choose any number up to the `Tash` value.
* `tashType`: Tells the system which kind of installment to use. Use `1` for regular installments (no interest) or `6` for credit installments (with interest). Just a heads-up: credit installments usually require at least 3 payments.
* `ShowEngTashText`: If your payment page is in English (`PageLang=ENG`), set this to `True` to display the installment labels, which aren't shown by default.

Here's an example of an API request for a payment page that offers up to six regular installments:

{% code overflow="wrap" %}

```http
https://pay.hyp.co.il/p/?action=APISign&What=SIGN&KEY=your-api-key&PassP=your-api-password&Masof=0010345518&Amount=600&Tash=6&tashType=1
```

{% endcode %}

## Payment experience

Once you've enabled installments, your customers will see a drop-down menu on the payment page. They can use it to pick exactly how many payments they want to make:

![Picking the number of installments on the payment page](/files/9Ep2zffvP7xjJDPX0G5I)


---

# Agent Instructions: 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:

```
GET https://developers.hyp.co.il/pay/common-use-cases/installments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
