Create a recurring payment
Sets up a payment that is recorded on the lease each period, for a tenant who pays the same way every time. Set createPastPayments to true to record the ones that would already have happened.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease to add the recurring payment to. A Snowflake id, sent as a decimal string.
Body
application/json
amountnumberrequiredAmount to record each period, as a decimal of at least 1.
paymentFrequencyenum<string>requiredHow often to record it.
startFromstring · daterequiredFirst date to record a payment.
createPastPaymentsbooleanrequiredWhether to record the payments that fell due between startFrom and today.
endstring · dateLast date to record one. Must be later than startFrom.
tenantIdstringWhich tenant is paying. A Snowflake id, sent as a decimal string.
descriptionstringNote on each payment. 1 to 1000 characters.
paymentMethodenum<string>How the tenant pays. Defaults to other when left out.
referencestringReference to carry on each payment. Up to 150 characters.
Response
200 · The recurring payment that was created.
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.