Add Recurring Charge
Add Recurring Charge
POST
https://restapidev.payplus.co.il/api/v1.0/RecurringPayments/AddRecurringCharge/{uid}סביבה
כותרות (Headers)
stringחובה
API Key
stringחובה
Secret Key
פרמטרים בנתיב
stringחובה
Recurring payment uid
גוף הבקשה
| שדה | סוג | תיאור |
|---|---|---|
cvv | string | In case the terminal is opened as recurring, this field is mandatory for initialization transactions when a new recurring order is created. |
itemsחובה | object[] | |
items[].price | number (int) | product price |
items[].quantity | number (int) | product quantity. Example: 1 |
items[].product_uid | string | Unique identifier for product. Example: de11bca8-416e-4b47-9e5a-0040e21b0b3f |
items[].discount_type | string | percentage' OR 'amount |
items[].discount_value | number (int) | Required if discount type have value |
items[].product_invoice_extra_details | string | Example: some text |
validחובה | boolean | Affects recurring Charge status |
card_tokenחובה | string | This field is not required if it's bank recurring order |
extra_info | string | Extra Info |
charge_dateחובה | string | Example: 2020-12-16 |
terminal_uidחובה | string | Unique identifier for terminal |
bank_account_uid | string | Customer bank account uid. This field is required in case this is bank masav order. |
company_bank_account_uid | string | This field is required in case this is bank masav order. |
עריכת גוף הבקשה
תשובות
200 200
| שדה | סוג | תיאור |
|---|---|---|
data | object | |
data.recurring_charge_uid | string | |
result | object | |
result.code | integer | |
result.status | string | |
result.description | string |