---
title: "Add"
description: "This endpoint allows you to create a recurring payment."
source: https://docs.payplus.co.il/en/payplus/latest/post-recurringpayments-add
language: en
product: payplus
version: v1
updated: 2025-06-05
---

# Add

This endpoint allows you to create a recurring payment.

**POST** `/RecurringPayments/Add`

- Production: `https://restapi.payplus.co.il/api/v1.0/`
- Staging: `https://restapidev.payplus.co.il/api/v1.0/`

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `api-key` | header | string | yes | API Key |
| `secret-key` | header | string | yes | Secret Key |

**Request body** (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array |  | List of products or services included in the recurring payment. |
| `items[].price` | number |  | Sell price. |
| `items[].quantity` | number |  | Product quantity. |
| `items[].product_uid` | string |  | Product unique identifier. |
| `items[].discount_type` | string |  | Set the product discount type. |
| `items[].discount_value` | number |  | Required if discount type have value |
| `items[].product_invoice_extra_details` | string |  | Additional details for the product on the invoice. |
| `end_date` | string |  | When the recurring will stop, in case the recurring is unlimited. |
| `card_token` | string | yes | Saved card unique identifier. |
| `extra_info` | string |  | Additional information about the recurring payment. |
| `start_date` | string | yes | Can't be the same date as today. This is the date when the first charge will be processed. If you want to charge immediately, set instant_first_payment to true and start_date to the next charge due date. |
| `cashier_uid` | string | yes | Cashier unique identifier |
| `customer_uid` | string | yes | Customer unique identifier |
| `terminal_uid` | string | yes | Terminal unique identifier |
| `currency_code` | string | yes |  |
| `one_time_items` | array |  | List of products or services for one-time charges. |
| `one_time_items[].price` | number |  | Sell price. |
| `one_time_items[].quantity` | number |  | Product quantity. |
| `one_time_items[].product_uid` | string |  | Product unique identifier. |
| `one_time_items[].discount_type` | string |  | Set the product discount type. |
| `one_time_items[].discount_value` | number |  | Required if discount type have value |
| `one_time_items[].product_invoice_extra_details` | string |  | Additional details for the product on the invoice. |
| `recurring_type` | integer | yes | 0 - Daily 1 - Weekly 2 - Monthly |
| `recurring_range` | integer | yes | Determines the charges frequency. For example, if recurring_type is set to Monthly and recurring_range is set to 2, the charges will be processed every 2 months. |
| `bank_account_uid` | string |  | Customer bank account uid. This field is required in case this is bank masav order. |
| `number_of_charges` | integer | yes | If set to 0, the recurring payment will be unlimited. If set to a positive number, the recurring payment will stop after that many charges. |
| `successful_invoice` | boolean |  | Triggers and invoice creation if the charge is successful. |
| `customer_failure_sms` | boolean |  | Send SMS to customer if the charge fails. This requires an SMS package to be purchased. |
| `one_time_charge_date` | string |  | Sets when the one time charge will be processed. This is only required if you have one_time_items. |
| `instant_first_payment` | boolean | yes | Process the first payment immediately. If set to true, please make sure to set the recurring payment start_date to next charge due date - this will prevent duplicate charges. If set to false, the first charge will be processed on the start_date. |
| `customer_failure_email` | boolean |  | Send e-mail to the customer for failure payment and inform him to contact the business to update payment details. |
| `company_bank_account_uid` | string |  | This field is required in case this is bank masav order. |
| `send_customer_success_sms` | boolean |  | Send SMS to customer if the charge is successful. This requires an SMS package to be purchased. |
| `send_customer_success_email` | boolean |  | Send e-mail to customer if the charge is successful. |

```json
{
  "items": [
    {
      "price": 0,
      "quantity": 0,
      "product_uid": "string",
      "discount_type": "percentage",
      "discount_value": 0,
      "product_invoice_extra_details": "string"
    }
  ],
  "end_date": "string",
  "card_token": "string",
  "extra_info": "string",
  "start_date": "string",
  "cashier_uid": "string",
  "customer_uid": "string",
  "terminal_uid": "string",
  "currency_code": "ILS",
  "one_time_items": [
    {
      "price": 0,
      "quantity": 0,
      "product_uid": "string",
      "discount_type": "percentage",
      "discount_value": 0,
      "product_invoice_extra_details": "string"
    }
  ],
  "recurring_type": 0,
  "recurring_range": 1,
  "bank_account_uid": "string",
  "number_of_charges": 0,
  "successful_invoice": false,
  "customer_failure_sms": false,
  "one_time_charge_date": "string",
  "instant_first_payment": false,
  "customer_failure_email": false,
  "company_bank_account_uid": "string",
  "send_customer_success_sms": false,
  "send_customer_success_email": false
}
```

**Response 200** — 200

```json
{
"result": {
"status": "success",
"code": 0,
"description": "operation has been success"
},
"data": {
"recurring_payment_uid": "d70334d6-62c4-4a6a-a9e3-b49e3495a451",
}
}
```

**Response 400** — 400

```json
{}
```
