Update a recurring payment
Replaces a recurring payment's amount, frequency, dates, tenant and method. Set updatePastPayments to true to also change the payments it has already recorded.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease the recurring payment is on. A Snowflake id, sent as a decimal string.
recurringPaymentIdstringrequiredThe recurring payment to update. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberrequiredNew amount, as a decimal of at least 1.
paymentFrequencyenum<string>requiredNew frequency.
startFromstring · daterequiredNew first date.
updatePastPaymentsbooleanrequiredWhether to apply the change to payments this has already recorded.
endstring · dateNew last date. Must be later than startFrom.
tenantIdstringWhich tenant is paying. A Snowflake id, sent as a decimal string.
descriptionstringNew note. 1 to 1000 characters.
paymentMethodenum<string>How the tenant pays. Left out, this resets to other.
referencestringNew reference. Up to 150 characters.
Response
200 · The updated recurring payment.
idstringId of the recurring payment. A Snowflake id, sent as a decimal string.
leaseIdstringThe lease it pays. A Snowflake id, sent as a decimal string.
tenantIdstringThe tenant it is recorded against. A Snowflake id, sent as a decimal string.
portfolioIdstringPortfolio it rolls up to. A Snowflake id, sent as a decimal string.
propertyIdstringProperty it is on. A Snowflake id, sent as a decimal string.
unitIdstringUnit it is on. A Snowflake id, sent as a decimal string.
amountnumberAmount recorded each period, as a decimal.
paymentFrequencyenum<string>How often it is recorded.
paymentMethodenum<string>How the tenant pays.
descriptionstringNote on the payment.
referencestringExternal reference carried on each payment.
lastPaymentstring · dateWhen it last recorded a payment.
nextPaymentstring · dateWhen it next records one.
startFromstring · dateFirst date it records a payment.
endstring · dateLast date it records one. Absent when it runs indefinitely.
statusenum<string>Whether it is still running, has finished, or is about to record a payment.
tenantobjectThe tenant it is recorded against.