Skip to content
Docs
Menu
View as Markdown

Update

This endpoint allows you to update an existing recurring payment.

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

Environment

Headers

stringrequired
API Key
stringrequired
Secret Key

Path parameters

stringrequired
Recurring Payment unique identifier

Request body application/json

FieldTypeDescription
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.One of: 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_tokenrequiredstringSaved card unique identifier.
extra_infostringAdditional information about the recurring payment.
start_daterequiredstringCan'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_uidrequiredstringCashier unique identifier
customer_uidrequiredstringCustomer unique identifier
terminal_uidrequiredstringTerminal unique identifier
currency_coderequiredstringOne of: 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.One of: 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_typerequiredinteger (int)0 - Daily 1 - Weekly 2 - MonthlyOne of: 0, 1, 2
recurring_rangerequiredinteger (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_chargesrequiredinteger (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_paymentrequiredbooleanProcess 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.
Edit the request body

Responses

200 200

No body described.

400 400
Was this page helpful?
Ask AI

Ask a question about PayPlus. Answers come from the published docs, with links to the pages they use.

AI answers can be wrong. Check the linked pages.

Your PayPlus accountOpen in a new tab