דלגו לתוכן
תיעוד
תפריט
צפייה כ־Markdown

Update

This endpoint allows you to update an existing recurring payment.

POSThttps://restapidev.payplus.co.il/api/v1.0/RecurringPayments/Update/{uid}

סביבה

כותרות (Headers)

stringחובה
API Key
stringחובה
Secret Key

פרמטרים בנתיב

stringחובה
Recurring Payment unique identifier

גוף הבקשה application/json

שדהסוגתיאור
itemsobject[]List of products or services included in the recurring payment.
items[].pricenumber (int)Sell price.
items[].quantitynumber (int)Product quantity.
items[].product_uidstringProduct unique identifier.
items[].discount_typestringSet the product discount type.אחד מ: percentage, amount
items[].discount_valuenumber (int)Required if discount type have value
items[].product_invoice_extra_detailsstringAdditional details for the product on the invoice.
end_datestringWhen the recurring will stop, in case the recurring is unlimited.
card_tokenחובהstringSaved card unique identifier.
extra_infostringAdditional information about the recurring payment.
start_dateחובהstringCan'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חובהstringCashier unique identifier
customer_uidחובהstringCustomer unique identifier
terminal_uidחובהstringTerminal unique identifier
currency_codeחובהstringאחד מ: ILS, USD, EUR, GPB
one_time_itemsobject[]List of products or services for one-time charges.
one_time_items[].pricenumber (int)Sell price.
one_time_items[].quantitynumber (int)Product quantity.
one_time_items[].product_uidstringProduct unique identifier.
one_time_items[].discount_typestringSet the product discount type.אחד מ: percentage, amount
one_time_items[].discount_valuenumber (int)Required if discount type have value
one_time_items[].product_invoice_extra_detailsstringAdditional details for the product on the invoice.
recurring_typeחובהinteger (int)0 - Daily 1 - Weekly 2 - Monthlyאחד מ: 0, 1, 2
recurring_rangeחובהinteger (int)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_uidstringCustomer bank account uid. This field is required in case this is bank masav order.
number_of_chargesחובהinteger (int)If set to 0, the recurring payment will be unlimited. If set to a positive integer, the recurring payment will stop after that many charges.
successful_invoicebooleanTriggers and invoice creation if the charge is successful.
customer_failure_smsbooleanSend SMS to customer if the charge fails. This requires an SMS package to be purchased.
one_time_charge_datestringSets when the one time charge will be processed. This is only required if you have one_time_items.
instant_first_paymentחובהbooleanProcess the initial payment immediately on-site
customer_failure_emailbooleanSend e-mail to the customer for failure payment and inform him to contact the business to update payment details.
company_bank_account_uidstringThis field is required in case this is bank masav order.
send_customer_success_smsbooleanSend SMS to customer if the charge is successful. This requires an SMS package to be purchased.
send_customer_success_emailbooleanSend e-mail to customer if the charge is successful.
עריכת גוף הבקשה

תשובות

200 200

לא תואר גוף תשובה.

400 400
האם העמוד עזר לך?
שאלו את ה־AI

שאלו שאלה על PayPlus. התשובות מבוססות על התיעוד שפורסם, עם קישורים לעמודים שמהם נלקחו.

תשובות AI עלולות לטעות. כדאי לבדוק בעמודים המקושרים.

החשבון שלך ב־PayPlusפתיחה בכרטיסייה חדשה
Update · PayPlus Docs