Skip to main content

Card Installments

Only for Romanian Market

Card installments are available only on the Romanian market. To use them, contact your PayU account manager.

On the Romanian market, buyers can pay for their orders by card in installments. Flexible payment options help increase conversion, and buyers see only the installment plans available for their card.

You can offer card installments both when sending orders from your own checkout page and when using the PayU Payment Page.

When sending an order from your checkout page, you must first retrieve the available installment plans and the number of installments for the card. To get this data, either use the dedicated API or enable the corresponding option in Secure Form.

For payments on the PayU Payment Page, you can configure filters to limit the installment options available under specific programs. Once the buyer enters the card number into the payment form, only the installment options applicable to that card are displayed.

Sending Order from Checkout Page​

When sending an order from your checkout page, you can use card installments whether or not you use Secure Form. However, before placing the order, you must retrieve the available installment options for the card.

Retrieve Available Installment Options​

You can retrieve them in two ways:

  • Secure Form,
  • API (if you do not use Secure Form).

Retrieving Installment Options with Secure Form​

When initializing Secure Form, set "enableInstallments": true in the card options.

Card Options Example
{
"style": {
"basic": {
"fontSize": "18px"
}
},
"enableInstallments": true
}

After the buyer enters the first 10 digits of the card number, the installmentsChange event is triggered. The event payload contains the available installment plan and the permitted numbers of installments for the card.

installmentsChange Event Payload Example
{
"numbers": [1, 2, 4, 6, 8, 12],
"provider": "BRD_INSTALLMENTS",
"settings": {
"minAmount": 60000
}
}
Optional settings

The settings object is optional. Currently, it can specify the minAmount for a given installment plan. If you include installment data in the order but the total order amount is equal to or below the defined minAmount, the order will be rejected.

Display a form where the buyer selects the number of installments.

Retrieving Installment Options with API​

If you do not use Secure Form, retrieve card installment data through the POST /api/front/card-installments-options endpoint. The request body must include at least the first 10 digits of the card number and your POS ID.

Request Body Example
{
"cardBin": "5364477839",
"posId": "145227"
}
Response Example
{
"numbers": [1, 6, 12, 20, 21, 22, 23, 24],
"provider": "BRD_INSTALLMENTS",
"settings": {
"minAmount": 60000
}
}
Optional settings

The settings object is optional. Currently, it can specify the minAmount for a given installment plan. If you include installment data in the order but the total order amount is equal to or below the defined minAmount, the order will be rejected.

For details about the parameters, see the Retrieve Available Installments Options section in our API Reference.

Creating new Order with Installments​

To create an order and process the payment, add the cardInstallments object to payMethod in the request body. Pay with a card token.

payMethods Section Example
{
"payMethods": {
"payMethod": {
"amount": 245,
"currencyCode": "RON",
"type": "CARD_TOKEN",
"value": "TOKC_TB4P9IBWFOCOUS1REDFK75S1XCK",
"cardInstallments": {
"provider": "BRD_INSTALLMENTS",
"number": 12
}
}
}
}

Payments on the PayU Payment Page​

If you use the PayU Payment Page, the page automatically displays the available installment options after the buyer enters the first 10 digits of the card number.

You can, however, filter the installment options available under specific programs. To do this, add the cardInstallmentsOptions object to the order's settings. The buyer then sees only the installments that are both available for the card and allowed by your filters.

Filtered Options Request Example
{
"settings": {
"cardInstallmentsOptions": {
"ALPHABANK_INSTALLMENTS": [1, 3, 5, 7, 9, 11, 13],
"RAIFFEISEN": [1, 6, 12],
"STAR_BT": [6, 20, 21]
}
}
}